|
proxygen
|
Go to the source code of this file.
Classes | |
| struct | GCC61971::S |
Namespaces | |
| GCC61971 | |
Macros | |
| #define | FS(x) ::folly::makeFixedString(x) |
Functions | |
| TEST (FixedStringExamples, Examples) | |
| TEST (FixedStringCtorTest, Default) | |
| TEST (FixedStringCtorTest, FromLiterals) | |
| TEST (FixedStringCtorTest, FromPtrAndLength) | |
| TEST (FixedStringCtorTest, FromStringAndOffset) | |
| TEST (FixedStringCtorTest, FromStringOffsetAndCount) | |
| TEST (FixedStringCtorTest, FromInitializerList) | |
| TEST (FixedStringCtorTest, FromUDL) | |
| TEST (FixedStringConcatTest, FromStringAndLiteral) | |
| TEST (FixedStringConcatTest, FromTwoStrings) | |
| TEST (FixedStringSwapTest, RuntimeSwap) | |
| TEST (FixedStringAssignTest, RuntimeAssignString) | |
| TEST (FixedStringAssignTest, RuntimeAssignLiteral) | |
| TEST (FixedStringIndexTest, Index) | |
| TEST (FixedStringCompareTest, Compare) | |
| TEST (FixedStringCompareTest, CompareStdString) | |
| TEST (FixedStringAssignTest, RuntimeAppendString) | |
| TEST (FixedStringAssignTest, RuntimeAppendLiteral) | |
| TEST (FixedStringCAppendTest, CAppendString) | |
| TEST (FixedStringCAppendTest, CAppendLiteral) | |
| TEST (FixedStringReplaceTest, RuntimeReplaceString) | |
| TEST (FixedStringEraseTest, RuntimeEraseTest) | |
| TEST (FixedStringEraseTest, CEraseTest) | |
| TEST (FixedStringFindTest, FindString) | |
| TEST (FixedStringFindTest, FindLiteral) | |
| TEST (FixedStringReverseFindTest, FindChar) | |
| TEST (FixedStringReverseFindTest, ReverseFindString) | |
| TEST (FixedStringReverseFindTest, ReverseFindLiteral) | |
| TEST (FixedStringReverseFindTest, ReverseFindChar) | |
| TEST (FixedStringFindFirstOfTest, FindFirstOfString) | |
| TEST (FixedStringFindFirstOfTest, FindFirstOfLiteral) | |
| TEST (FixedStringFindFirstOfTest, FindFirstOfChar) | |
| TEST (FixedStringFindFirstNotOfTest, FindFirstNotOfString) | |
| TEST (FixedStringFindFirstNotOfTest, FindFirstNotOfLiteral) | |
| TEST (FixedStringFindFirstNotOfTest, FindFirstNotOfChar) | |
| TEST (FixedStringFindLastOfTest, FindLastOfString) | |
| TEST (FixedStringFindLastOfTest, FindLastOfLiteral) | |
| TEST (FixedStringFindLastOfTest, FindLastOfChar) | |
| TEST (FixedStringFindLastNotOfTest, FindLastNotOfString) | |
| TEST (FixedStringFindLastNotOfTest, FindLastNotOfLiteral) | |
| TEST (FixedStringFindLastNotOfTest, FindLastNotOfChar) | |
| TEST (FixedStringConversionTest, ConversionToStdString) | |
| TEST (FixedStringReverseIteratorTest, ConstexprReverseIteration) | |
| template<typename T1 > | |
| constexpr auto | GCC61971::concatStuff (const T1 &component) noexcept |
| TEST (FixedStringGCC61971, GCC61971) | |
| TEST (FixedStringConversionTest, ConversionToFollyRange) | |
Variables | |
| constexpr auto | GCC61971::xyz = folly::makeFixedString("xyz") |
| constexpr auto | GCC61971::dot = folly::makeFixedString(".") |
| constexpr auto | GCC61971::co = folly::makeFixedString("co") |
| #define FS | ( | x | ) | ::folly::makeFixedString(x) |
Definition at line 23 of file FixedStringTest.cpp.
Referenced by TEST().
| TEST | ( | FixedStringExamples | , |
| Examples | |||
| ) |
Definition at line 26 of file FixedStringTest.cpp.
References EXPECT_STREQ, and folly::makeFixedString().
| TEST | ( | FixedStringCtorTest | , |
| Default | |||
| ) |
Definition at line 41 of file FixedStringTest.cpp.
References s.
| TEST | ( | FixedStringCtorTest | , |
| FromLiterals | |||
| ) |
Definition at line 51 of file FixedStringTest.cpp.
References s.
| TEST | ( | FixedStringCtorTest | , |
| FromPtrAndLength | |||
| ) |
Definition at line 64 of file FixedStringTest.cpp.
References s.
| TEST | ( | FixedStringCtorTest | , |
| FromStringAndOffset | |||
| ) |
Definition at line 91 of file FixedStringTest.cpp.
References s.
| TEST | ( | FixedStringCtorTest | , |
| FromStringOffsetAndCount | |||
| ) |
Definition at line 101 of file FixedStringTest.cpp.
References s.
| TEST | ( | FixedStringCtorTest | , |
| FromInitializerList | |||
| ) |
Definition at line 111 of file FixedStringTest.cpp.
References s.
| TEST | ( | FixedStringCtorTest | , |
| FromUDL | |||
| ) |
Definition at line 120 of file FixedStringTest.cpp.
References folly::value().
| TEST | ( | FixedStringConcatTest | , |
| FromStringAndLiteral | |||
| ) |
Definition at line 148 of file FixedStringTest.cpp.
References s.
| TEST | ( | FixedStringConcatTest | , |
| FromTwoStrings | |||
| ) |
Definition at line 155 of file FixedStringTest.cpp.
References s, folly::BasicFixedString< Char, N >::swap(), and folly::TEST().
| TEST | ( | FixedStringSwapTest | , |
| RuntimeSwap | |||
| ) |
Definition at line 174 of file FixedStringTest.cpp.
References folly::BasicFixedString< Char, N >::assign(), EXPECT_STREQ, folly::BasicFixedString< Char, N >::swap(), and folly::TEST().
| TEST | ( | FixedStringAssignTest | , |
| RuntimeAssignString | |||
| ) |
Definition at line 210 of file FixedStringTest.cpp.
References folly::BasicFixedString< Char, N >::assign(), folly::BasicFixedString< Char, N >::c_str(), EXPECT_STREQ, and folly::TEST().
| TEST | ( | FixedStringAssignTest | , |
| RuntimeAssignLiteral | |||
| ) |
Definition at line 249 of file FixedStringTest.cpp.
References EXPECT_STREQ.
| TEST | ( | FixedStringIndexTest | , |
| Index | |||
| ) |
Definition at line 259 of file FixedStringTest.cpp.
References EXPECT_THROW.
| TEST | ( | FixedStringCompareTest | , |
| Compare | |||
| ) |
Definition at line 280 of file FixedStringTest.cpp.
| TEST | ( | FixedStringCompareTest | , |
| CompareStdString | |||
| ) |
Definition at line 316 of file FixedStringTest.cpp.
References a, b, EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, string, and folly::TEST().
| TEST | ( | FixedStringAssignTest | , |
| RuntimeAppendString | |||
| ) |
Definition at line 350 of file FixedStringTest.cpp.
References a, b, EXPECT_STREQ, and folly::TEST().
| TEST | ( | FixedStringAssignTest | , |
| RuntimeAppendLiteral | |||
| ) |
Definition at line 372 of file FixedStringTest.cpp.
References a, and EXPECT_STREQ.
| TEST | ( | FixedStringCAppendTest | , |
| CAppendString | |||
| ) |
Definition at line 380 of file FixedStringTest.cpp.
| TEST | ( | FixedStringCAppendTest | , |
| CAppendLiteral | |||
| ) |
Definition at line 388 of file FixedStringTest.cpp.
References a, FS, folly::BasicFixedString< Char, N >::replace(), folly::size(), and folly::TEST().
| TEST | ( | FixedStringReplaceTest | , |
| RuntimeReplaceString | |||
| ) |
Definition at line 409 of file FixedStringTest.cpp.
References EXPECT_EQ, EXPECT_STREQ, FS, and folly::BasicFixedString< Char, N >::replace().
| TEST | ( | FixedStringEraseTest | , |
| RuntimeEraseTest | |||
| ) |
Definition at line 416 of file FixedStringTest.cpp.
References EXPECT_EQ, EXPECT_STREQ, FS, and x.
| TEST | ( | FixedStringEraseTest | , |
| CEraseTest | |||
| ) |
Definition at line 429 of file FixedStringTest.cpp.
| TEST | ( | FixedStringFindTest | , |
| FindString | |||
| ) |
Definition at line 444 of file FixedStringTest.cpp.
References FS.
| TEST | ( | FixedStringFindTest | , |
| FindLiteral | |||
| ) |
Definition at line 452 of file FixedStringTest.cpp.
| TEST | ( | FixedStringReverseFindTest | , |
| FindChar | |||
| ) |
Definition at line 459 of file FixedStringTest.cpp.
| TEST | ( | FixedStringReverseFindTest | , |
| ReverseFindString | |||
| ) |
Definition at line 467 of file FixedStringTest.cpp.
References FS.
| TEST | ( | FixedStringReverseFindTest | , |
| ReverseFindLiteral | |||
| ) |
Definition at line 476 of file FixedStringTest.cpp.
| TEST | ( | FixedStringReverseFindTest | , |
| ReverseFindChar | |||
| ) |
Definition at line 485 of file FixedStringTest.cpp.
| TEST | ( | FixedStringFindFirstOfTest | , |
| FindFirstOfString | |||
| ) |
Definition at line 493 of file FixedStringTest.cpp.
References FS.
| TEST | ( | FixedStringFindFirstOfTest | , |
| FindFirstOfLiteral | |||
| ) |
Definition at line 505 of file FixedStringTest.cpp.
References FS.
| TEST | ( | FixedStringFindFirstOfTest | , |
| FindFirstOfChar | |||
| ) |
Definition at line 518 of file FixedStringTest.cpp.
References FS.
| TEST | ( | FixedStringFindFirstNotOfTest | , |
| FindFirstNotOfString | |||
| ) |
Definition at line 528 of file FixedStringTest.cpp.
References FS.
| TEST | ( | FixedStringFindFirstNotOfTest | , |
| FindFirstNotOfLiteral | |||
| ) |
Definition at line 540 of file FixedStringTest.cpp.
References FS.
| TEST | ( | FixedStringFindFirstNotOfTest | , |
| FindFirstNotOfChar | |||
| ) |
Definition at line 552 of file FixedStringTest.cpp.
References FS.
| TEST | ( | FixedStringFindLastOfTest | , |
| FindLastOfString | |||
| ) |
Definition at line 562 of file FixedStringTest.cpp.
References FS.
| TEST | ( | FixedStringFindLastOfTest | , |
| FindLastOfLiteral | |||
| ) |
Definition at line 574 of file FixedStringTest.cpp.
References FS.
| TEST | ( | FixedStringFindLastOfTest | , |
| FindLastOfChar | |||
| ) |
Definition at line 587 of file FixedStringTest.cpp.
References FS.
| TEST | ( | FixedStringFindLastNotOfTest | , |
| FindLastNotOfString | |||
| ) |
Definition at line 597 of file FixedStringTest.cpp.
References FS.
| TEST | ( | FixedStringFindLastNotOfTest | , |
| FindLastNotOfLiteral | |||
| ) |
Definition at line 609 of file FixedStringTest.cpp.
References FS.
| TEST | ( | FixedStringFindLastNotOfTest | , |
| FindLastNotOfChar | |||
| ) |
Definition at line 622 of file FixedStringTest.cpp.
References FS.
| TEST | ( | FixedStringConversionTest | , |
| ConversionToStdString | |||
| ) |
Definition at line 632 of file FixedStringTest.cpp.
References count, EXPECT_STREQ, i, folly::BasicFixedString< Char, N >::rbegin(), folly::BasicFixedString< Char, N >::rend(), s, string, and folly::TEST().
| TEST | ( | FixedStringReverseIteratorTest | , |
| ConstexprReverseIteration | |||
| ) |
| TEST | ( | FixedStringGCC61971 | , |
| GCC61971 | |||
| ) |
Definition at line 684 of file FixedStringTest.cpp.
References s.
| TEST | ( | FixedStringConversionTest | , |
| ConversionToFollyRange | |||
| ) |
Definition at line 691 of file FixedStringTest.cpp.