Home
last modified time | relevance | path

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

/third_party/libphonenumber/cpp/test/phonenumbers/
Dstringutil_test.cc84 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/
Dstringutil.h56 bool TryStripPrefixString(const string& in, const string& prefix, string* out);
Dstringutil.cc77 bool TryStripPrefixString(const string& in, const string& prefix, string* out) { in TryStripPrefixString() function
Dphonenumberutil.cc3023 if (TryStripPrefixString(*national_number, in MaybeExtractCountryCode()