gem5
v20.1.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 | , |
EatEndWhite | |||
) |
Definition at line 63 of file str.test.cc.
References eat_end_white(), EXPECT_EQ, and X86ISA::val.
TEST | ( | StrTest | , |
EatEndWhiteNoTrailingWhitespace | |||
) |
Definition at line 70 of file str.test.cc.
References eat_end_white(), EXPECT_EQ, and X86ISA::val.
TEST | ( | StrTest | , |
EatLeadWhite | |||
) |
Definition at line 49 of file str.test.cc.
References eat_lead_white(), EXPECT_EQ, and X86ISA::val.
TEST | ( | StrTest | , |
EatLeadWhiteNoLeadingWhitespace | |||
) |
Definition at line 56 of file str.test.cc.
References eat_lead_white(), EXPECT_EQ, and X86ISA::val.
TEST | ( | StrTest | , |
EatWhite | |||
) |
Definition at line 77 of file str.test.cc.
References eat_white(), EXPECT_EQ, and X86ISA::val.
TEST | ( | StrTest | , |
EatWhiteNoWhitespace | |||
) |
Definition at line 84 of file str.test.cc.
References eat_lead_white(), EXPECT_EQ, and X86ISA::val.
TEST | ( | StrTest | , |
QuoteQuotedString | |||
) |
Definition at line 396 of file str.test.cc.
TEST | ( | StrTest | , |
QuoteStringNoSpace | |||
) |
Definition at line 386 of file str.test.cc.
TEST | ( | StrTest | , |
QuoteStringWithSpace | |||
) |
Definition at line 391 of file str.test.cc.
TEST | ( | StrTest | , |
QuoteStringWithTab | |||
) |
Definition at line 404 of file str.test.cc.
TEST | ( | StrTest | , |
SplitFirst | |||
) |
Definition at line 110 of file str.test.cc.
References EXPECT_EQ, split_first(), and X86ISA::val.
TEST | ( | StrTest | , |
SplitFirstNoChar | |||
) |
Definition at line 122 of file str.test.cc.
References EXPECT_EQ, split_first(), and X86ISA::val.
TEST | ( | StrTest | , |
SplitFirstOnFirstChar | |||
) |
Definition at line 134 of file str.test.cc.
References EXPECT_EQ, split_first(), and X86ISA::val.
TEST | ( | StrTest | , |
SplitLast | |||
) |
Definition at line 146 of file str.test.cc.
References EXPECT_EQ, split_last(), and X86ISA::val.
TEST | ( | StrTest | , |
SplitLastNoChar | |||
) |
Definition at line 158 of file str.test.cc.
References EXPECT_EQ, split_last(), and X86ISA::val.
TEST | ( | StrTest | , |
SplitLastOnLastChar | |||
) |
Definition at line 170 of file str.test.cc.
References EXPECT_EQ, split_last(), and X86ISA::val.
TEST | ( | StrTest | , |
StartswithDoubleCharArrayDoesNotStartWith | |||
) |
Definition at line 440 of file str.test.cc.
References EXPECT_FALSE, ArmISA::s, and startswith().
TEST | ( | StrTest | , |
StartswithDoubleCharArrayDoesStartWith | |||
) |
Definition at line 433 of file str.test.cc.
References EXPECT_TRUE, ArmISA::s, and startswith().
TEST | ( | StrTest | , |
StartswithDoubleStringDoesNotStartWith | |||
) |
Definition at line 426 of file str.test.cc.
References EXPECT_FALSE, ArmISA::s, and startswith().
TEST | ( | StrTest | , |
StartswithDoubleStringDoesStartWith | |||
) |
Definition at line 419 of file str.test.cc.
References EXPECT_TRUE, ArmISA::s, and startswith().
TEST | ( | StrTest | , |
StartswithStringCharArrayDoesNotStartWith | |||
) |
Definition at line 454 of file str.test.cc.
References EXPECT_FALSE, ArmISA::s, and startswith().
TEST | ( | StrTest | , |
StartswithStringCharArrayDoesStartWith | |||
) |
Definition at line 447 of file str.test.cc.
References EXPECT_TRUE, ArmISA::s, and startswith().
TEST | ( | StrTest | , |
ToBoolFalse | |||
) |
Definition at line 370 of file str.test.cc.
References EXPECT_FALSE, EXPECT_TRUE, output(), and to_bool().
TEST | ( | StrTest | , |
ToBoolInvalidInput | |||
) |
Definition at line 376 of file str.test.cc.
References EXPECT_FALSE, output(), and to_bool().
TEST | ( | StrTest | , |
ToBoolTrue | |||
) |
Definition at line 363 of file str.test.cc.
References EXPECT_TRUE, output(), and to_bool().
TEST | ( | StrTest | , |
TokenizedTokenDoesNotExist | |||
) |
Definition at line 235 of file str.test.cc.
References EXPECT_EQ, tokenize(), and X86ISA::val.
TEST | ( | StrTest | , |
TokenizeOnSpace | |||
) |
Definition at line 187 of file str.test.cc.
References EXPECT_EQ, tokenize(), and X86ISA::val.
TEST | ( | StrTest | , |
TokenizeOnSpaceIgnFalse | |||
) |
Definition at line 210 of file str.test.cc.
References EXPECT_EQ, tokenize(), and X86ISA::val.
TEST | ( | StrTest | , |
ToLower | |||
) |
Definition at line 95 of file str.test.cc.
References EXPECT_EQ, to_lower(), and X86ISA::val.
TEST | ( | StrTest | , |
ToNumber64BitInt | |||
) |
Definition at line 288 of file str.test.cc.
References EXPECT_EQ, EXPECT_TRUE, output(), to_number(), and sc_dt::to_string().
TEST | ( | StrTest | , |
ToNumber64BitIntInvalidString | |||
) |
Definition at line 297 of file str.test.cc.
References EXPECT_FALSE, output(), and to_number().
TEST | ( | StrTest | , |
ToNumber8BitInt | |||
) |
Definition at line 251 of file str.test.cc.
References EXPECT_EQ, EXPECT_TRUE, output(), and to_number().
TEST | ( | StrTest | , |
ToNumber8BitIntInvalidString | |||
) |
Definition at line 266 of file str.test.cc.
References EXPECT_FALSE, output(), and to_number().
TEST | ( | StrTest | , |
ToNumber8BitIntStringOutOfRange | |||
) |
Definition at line 259 of file str.test.cc.
References EXPECT_FALSE, output(), and to_number().
TEST | ( | StrTest | , |
ToNumberDouble | |||
) |
Definition at line 331 of file str.test.cc.
References EXPECT_EQ, EXPECT_TRUE, output(), and to_number().
TEST | ( | StrTest | , |
ToNumberDoubleIntegerString | |||
) |
Definition at line 340 of file str.test.cc.
References EXPECT_EQ, EXPECT_TRUE, output(), and to_number().
TEST | ( | StrTest | , |
ToNumberDoubleNegative | |||
) |
Definition at line 349 of file str.test.cc.
References EXPECT_EQ, EXPECT_TRUE, output(), and to_number().
TEST | ( | StrTest | , |
ToNumberFloat | |||
) |
Definition at line 304 of file str.test.cc.
References EXPECT_EQ, EXPECT_TRUE, output(), and to_number().
TEST | ( | StrTest | , |
ToNumberFloatIntegerString | |||
) |
Definition at line 313 of file str.test.cc.
References EXPECT_EQ, EXPECT_TRUE, output(), and to_number().
TEST | ( | StrTest | , |
ToNumberFloatNegative | |||
) |
Definition at line 322 of file str.test.cc.
References EXPECT_EQ, EXPECT_TRUE, output(), and to_number().
TEST | ( | StrTest | , |
ToNumberUnsigned8BitInt | |||
) |
Definition at line 273 of file str.test.cc.
References EXPECT_EQ, EXPECT_TRUE, output(), and to_number().
TEST | ( | StrTest | , |
ToNumberUnsigned8BitIntNegative | |||
) |
Definition at line 281 of file str.test.cc.
References EXPECT_FALSE, output(), and to_number().