gem5
v19.0.0.0
|
Go to the source code of this file.
Functions | |
TEST (StrTest, EatLeadWhite) | |
TEST (StrTest, EatLeadWhiteNoLeadingWhitespace) | |
TEST (StrTest, EatEndWhite) | |
TEST (StrTest, EatEndWhiteNoTrailingWhitespace) | |
TEST (StrTest, EatWhite) | |
TEST (StrTest, EatWhiteNoWhitespace) | |
TEST (StrTest, ToLower) | |
TEST (StrTest, SplitFirst) | |
TEST (StrTest, SplitFirstNoChar) | |
TEST (StrTest, SplitFirstOnFirstChar) | |
TEST (StrTest, SplitLast) | |
TEST (StrTest, SplitLastNoChar) | |
TEST (StrTest, SplitLastOnLastChar) | |
TEST (StrTest, TokenizeOnSpace) | |
TEST (StrTest, TokenizeOnSpaceIgnFalse) | |
TEST (StrTest, TokenizedTokenDoesNotExist) | |
TEST (StrTest, ToNumber8BitInt) | |
TEST (StrTest, ToNumber8BitIntStringOutOfRange) | |
TEST (StrTest, ToNumber8BitIntInvalidString) | |
TEST (StrTest, ToNumberUnsigned8BitInt) | |
TEST (StrTest, ToNumberUnsigned8BitIntNegative) | |
TEST (StrTest, ToNumber64BitInt) | |
TEST (StrTest, ToNumber64BitIntInvalidString) | |
TEST (StrTest, ToNumberFloat) | |
TEST (StrTest, ToNumberFloatIntegerString) | |
TEST (StrTest, ToNumberFloatNegative) | |
TEST (StrTest, ToNumberDouble) | |
TEST (StrTest, ToNumberDoubleIntegerString) | |
TEST (StrTest, ToNumberDoubleNegative) | |
TEST (StrTest, ToBoolTrue) | |
TEST (StrTest, ToBoolFalse) | |
TEST (StrTest, ToBoolInvalidInput) | |
TEST (StrTest, QuoteStringNoSpace) | |
TEST (StrTest, QuoteStringWithSpace) | |
TEST (StrTest, QuoteQuotedString) | |
TEST (StrTest, QuoteStringWithTab) | |
TEST (StrTest, StartswithDoubleStringDoesStartWith) | |
TEST (StrTest, StartswithDoubleStringDoesNotStartWith) | |
TEST (StrTest, StartswithDoubleCharArrayDoesStartWith) | |
TEST (StrTest, StartswithDoubleCharArrayDoesNotStartWith) | |
TEST (StrTest, StartswithStringCharArrayDoesStartWith) | |
TEST (StrTest, StartswithStringCharArrayDoesNotStartWith) | |
TEST | ( | StrTest | , |
EatLeadWhite | |||
) |
Definition at line 51 of file str.test.cc.
References eat_lead_white(), EXPECT_EQ, and X86ISA::val.
TEST | ( | StrTest | , |
EatLeadWhiteNoLeadingWhitespace | |||
) |
Definition at line 58 of file str.test.cc.
References eat_lead_white(), EXPECT_EQ, and X86ISA::val.
TEST | ( | StrTest | , |
EatEndWhite | |||
) |
Definition at line 65 of file str.test.cc.
References eat_end_white(), EXPECT_EQ, and X86ISA::val.
TEST | ( | StrTest | , |
EatEndWhiteNoTrailingWhitespace | |||
) |
Definition at line 72 of file str.test.cc.
References eat_end_white(), EXPECT_EQ, and X86ISA::val.
TEST | ( | StrTest | , |
EatWhite | |||
) |
Definition at line 79 of file str.test.cc.
References eat_white(), EXPECT_EQ, and X86ISA::val.
TEST | ( | StrTest | , |
EatWhiteNoWhitespace | |||
) |
Definition at line 86 of file str.test.cc.
References eat_lead_white(), EXPECT_EQ, and X86ISA::val.
TEST | ( | StrTest | , |
ToLower | |||
) |
Definition at line 97 of file str.test.cc.
References EXPECT_EQ, to_lower(), and X86ISA::val.
TEST | ( | StrTest | , |
SplitFirst | |||
) |
Definition at line 112 of file str.test.cc.
References EXPECT_EQ, split_first(), and X86ISA::val.
TEST | ( | StrTest | , |
SplitFirstNoChar | |||
) |
Definition at line 124 of file str.test.cc.
References EXPECT_EQ, split_first(), and X86ISA::val.
TEST | ( | StrTest | , |
SplitFirstOnFirstChar | |||
) |
Definition at line 136 of file str.test.cc.
References EXPECT_EQ, split_first(), and X86ISA::val.
TEST | ( | StrTest | , |
SplitLast | |||
) |
Definition at line 148 of file str.test.cc.
References EXPECT_EQ, split_last(), and X86ISA::val.
TEST | ( | StrTest | , |
SplitLastNoChar | |||
) |
Definition at line 160 of file str.test.cc.
References EXPECT_EQ, split_last(), and X86ISA::val.
TEST | ( | StrTest | , |
SplitLastOnLastChar | |||
) |
Definition at line 172 of file str.test.cc.
References EXPECT_EQ, split_last(), and X86ISA::val.
TEST | ( | StrTest | , |
TokenizeOnSpace | |||
) |
Definition at line 189 of file str.test.cc.
References EXPECT_EQ, tokenize(), and X86ISA::val.
TEST | ( | StrTest | , |
TokenizeOnSpaceIgnFalse | |||
) |
Definition at line 212 of file str.test.cc.
References EXPECT_EQ, tokenize(), and X86ISA::val.
TEST | ( | StrTest | , |
TokenizedTokenDoesNotExist | |||
) |
Definition at line 237 of file str.test.cc.
References EXPECT_EQ, tokenize(), and X86ISA::val.
TEST | ( | StrTest | , |
ToNumber8BitInt | |||
) |
Definition at line 253 of file str.test.cc.
References EXPECT_EQ, EXPECT_TRUE, output(), and to_number().
TEST | ( | StrTest | , |
ToNumber8BitIntStringOutOfRange | |||
) |
Definition at line 261 of file str.test.cc.
References EXPECT_FALSE, output(), and to_number().
TEST | ( | StrTest | , |
ToNumber8BitIntInvalidString | |||
) |
Definition at line 268 of file str.test.cc.
References EXPECT_FALSE, output(), and to_number().
TEST | ( | StrTest | , |
ToNumberUnsigned8BitInt | |||
) |
Definition at line 275 of file str.test.cc.
References EXPECT_EQ, EXPECT_TRUE, output(), and to_number().
TEST | ( | StrTest | , |
ToNumberUnsigned8BitIntNegative | |||
) |
Definition at line 283 of file str.test.cc.
References EXPECT_FALSE, output(), and to_number().
TEST | ( | StrTest | , |
ToNumber64BitInt | |||
) |
Definition at line 290 of file str.test.cc.
References EXPECT_EQ, EXPECT_TRUE, output(), to_number(), and sc_dt::to_string().
TEST | ( | StrTest | , |
ToNumber64BitIntInvalidString | |||
) |
Definition at line 299 of file str.test.cc.
References EXPECT_FALSE, output(), and to_number().
TEST | ( | StrTest | , |
ToNumberFloat | |||
) |
Definition at line 306 of file str.test.cc.
References EXPECT_EQ, EXPECT_TRUE, output(), and to_number().
TEST | ( | StrTest | , |
ToNumberFloatIntegerString | |||
) |
Definition at line 315 of file str.test.cc.
References EXPECT_EQ, EXPECT_TRUE, output(), and to_number().
TEST | ( | StrTest | , |
ToNumberFloatNegative | |||
) |
Definition at line 324 of file str.test.cc.
References EXPECT_EQ, EXPECT_TRUE, output(), and to_number().
TEST | ( | StrTest | , |
ToNumberDouble | |||
) |
Definition at line 333 of file str.test.cc.
References EXPECT_EQ, EXPECT_TRUE, output(), and to_number().
TEST | ( | StrTest | , |
ToNumberDoubleIntegerString | |||
) |
Definition at line 342 of file str.test.cc.
References EXPECT_EQ, EXPECT_TRUE, output(), and to_number().
TEST | ( | StrTest | , |
ToNumberDoubleNegative | |||
) |
Definition at line 351 of file str.test.cc.
References EXPECT_EQ, EXPECT_TRUE, output(), and to_number().
TEST | ( | StrTest | , |
ToBoolTrue | |||
) |
Definition at line 365 of file str.test.cc.
References EXPECT_TRUE, output(), and to_bool().
TEST | ( | StrTest | , |
ToBoolFalse | |||
) |
Definition at line 372 of file str.test.cc.
References EXPECT_FALSE, EXPECT_TRUE, output(), and to_bool().
TEST | ( | StrTest | , |
ToBoolInvalidInput | |||
) |
Definition at line 378 of file str.test.cc.
References EXPECT_FALSE, output(), and to_bool().
TEST | ( | StrTest | , |
QuoteStringNoSpace | |||
) |
Definition at line 388 of file str.test.cc.
TEST | ( | StrTest | , |
QuoteStringWithSpace | |||
) |
Definition at line 393 of file str.test.cc.
TEST | ( | StrTest | , |
QuoteQuotedString | |||
) |
Definition at line 398 of file str.test.cc.
TEST | ( | StrTest | , |
QuoteStringWithTab | |||
) |
Definition at line 406 of file str.test.cc.
TEST | ( | StrTest | , |
StartswithDoubleStringDoesStartWith | |||
) |
Definition at line 421 of file str.test.cc.
References EXPECT_TRUE, ArmISA::s, and startswith().
TEST | ( | StrTest | , |
StartswithDoubleStringDoesNotStartWith | |||
) |
Definition at line 428 of file str.test.cc.
References EXPECT_FALSE, ArmISA::s, and startswith().
TEST | ( | StrTest | , |
StartswithDoubleCharArrayDoesStartWith | |||
) |
Definition at line 435 of file str.test.cc.
References EXPECT_TRUE, ArmISA::s, and startswith().
TEST | ( | StrTest | , |
StartswithDoubleCharArrayDoesNotStartWith | |||
) |
Definition at line 442 of file str.test.cc.
References EXPECT_FALSE, ArmISA::s, and startswith().
TEST | ( | StrTest | , |
StartswithStringCharArrayDoesStartWith | |||
) |
Definition at line 449 of file str.test.cc.
References EXPECT_TRUE, ArmISA::s, and startswith().
TEST | ( | StrTest | , |
StartswithStringCharArrayDoesNotStartWith | |||
) |
Definition at line 456 of file str.test.cc.
References EXPECT_FALSE, ArmISA::s, and startswith().