Searched refs:TryStripPrefixString (Results 1 – 4 of 4) sorted by relevance
/third_party/libphonenumber/cpp/test/phonenumbers/ |
D | stringutil_test.cc | 84 TEST(StringUtilTest, TryStripPrefixString) { in TEST() argument 87 EXPECT_TRUE(TryStripPrefixString("hello world", "hello", &s)); in TEST() 91 EXPECT_FALSE(TryStripPrefixString("hello world", "helloa", &s)); in TEST() 94 EXPECT_TRUE(TryStripPrefixString("hello world", "", &s)); in TEST() 98 EXPECT_FALSE(TryStripPrefixString("", "hello", &s)); in TEST()
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
D | stringutil.h | 56 bool TryStripPrefixString(const string& in, const string& prefix, string* out);
|
D | stringutil.cc | 77 bool TryStripPrefixString(const string& in, const string& prefix, string* out) { in TryStripPrefixString() function
|
D | phonenumberutil.cc | 3023 if (TryStripPrefixString(*national_number, in MaybeExtractCountryCode()
|