Searched refs:StringHolder (Results 1 – 3 of 3) sorted by relevance
/third_party/libphonenumber/cpp/src/phonenumbers/ |
D | stringutil.h | 80 class StringHolder: public absl::AlphaNum { 83 StringHolder(const string& s); // NOLINT(runtime/explicit) 84 StringHolder(const char* s); // NOLINT(runtime/explicit) 85 StringHolder(uint64 n); // NOLINT(runtime/explicit) 86 ~StringHolder(); 101 string& operator+=(string& lhs, const StringHolder& rhs); 105 string StrCat(const StringHolder& s1, const StringHolder& s2); 107 string StrCat(const StringHolder& s1, const StringHolder& s2, 108 const StringHolder& s3); 110 string StrCat(const StringHolder& s1, const StringHolder& s2, [all …]
|
D | stringutil.cc | 125 StringHolder::StringHolder(const string& s) in StringHolder() function in i18n::phonenumbers::StringHolder 129 StringHolder::StringHolder(const char* cp) in StringHolder() function in i18n::phonenumbers::StringHolder 133 StringHolder::StringHolder(uint64 n) in StringHolder() function in i18n::phonenumbers::StringHolder 137 StringHolder::~StringHolder() {} in ~StringHolder() 142 string& operator+=(string& lhs, const StringHolder& rhs) { in operator +=() 154 string StrCat(const StringHolder& s1, const StringHolder& s2) { in StrCat() 158 string StrCat(const StringHolder& s1, const StringHolder& s2, in StrCat() 159 const StringHolder& s3) { in StrCat() 163 string StrCat(const StringHolder& s1, const StringHolder& s2, in StrCat() 164 const StringHolder& s3, const StringHolder& s4) { in StrCat() [all …]
|
/third_party/libphonenumber/cpp/test/phonenumbers/ |
D | stringutil_test.cc | 187 TEST(StringUtilTest, StringHolder) { in TEST() argument 190 StringHolder sh1(cstring); in TEST() 195 StringHolder sh2(s); in TEST() 200 StringHolder sh3(s2); in TEST() 204 StringHolder sh4(42); in TEST() 214 s += StringHolder(append1); // force StringHolder usage in TEST() 221 s += StringHolder(append2); // force StringHolder usage in TEST()
|