Home
last modified time | relevance | path

Searched refs:StringHolder (Results 1 – 4 of 4) sorted by relevance

/third_party/libphonenumber/cpp/src/phonenumbers/
Dstringutil.h80 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 …]
Dstringutil.cc125 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/
Dstringutil_test.cc187 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()
/third_party/libabigail/tests/lib/
Dcatch.hpp4947 struct StringHolder : MatcherBase<NSString*>{ struct
4948 StringHolder( NSString* substr ) : m_substr( [substr copy] ){} in StringHolder() function
4949 StringHolder( StringHolder const& other ) : m_substr( [other.m_substr copy] ){} in StringHolder() argument
4950 StringHolder() { in StringHolder() argument
4961 struct Equals : StringHolder {
4962 Equals( NSString* substr ) : StringHolder( substr ){} in Equals()
4974 struct Contains : StringHolder {
4975 Contains( NSString* substr ) : StringHolder( substr ){} in Contains()
4987 struct StartsWith : StringHolder {
4988 StartsWith( NSString* substr ) : StringHolder( substr ){} in StartsWith()
[all …]