Home
last modified time | relevance | path

Searched refs:IsViablePhoneNumber (Results 1 – 3 of 3) sorted by relevance

/third_party/libphonenumber/cpp/test/phonenumbers/
Dphonenumberutil_test.cc72 bool IsViablePhoneNumber(const string& number) const { in IsViablePhoneNumber() function in i18n::phonenumbers::PhoneNumberUtilTest
73 return phone_util_.IsViablePhoneNumber(number); in IsViablePhoneNumber()
137 EXPECT_TRUE(IsViablePhoneNumber(input)); in TEST_F()
149 EXPECT_FALSE(IsViablePhoneNumber(input)); in TEST_F()
2852 TEST_F(PhoneNumberUtilTest, IsViablePhoneNumber) { in TEST_F() argument
2853 EXPECT_FALSE(IsViablePhoneNumber("1")); in TEST_F()
2855 EXPECT_FALSE(IsViablePhoneNumber("1+1+1")); in TEST_F()
2856 EXPECT_FALSE(IsViablePhoneNumber("80+0")); in TEST_F()
2858 EXPECT_TRUE(IsViablePhoneNumber("00")); in TEST_F()
2859 EXPECT_TRUE(IsViablePhoneNumber("111")); in TEST_F()
[all …]
/third_party/libphonenumber/cpp/src/phonenumbers/
Dphonenumberutil.h937 bool IsViablePhoneNumber(const string& number) const;
Dphonenumberutil.cc2202 if (!IsViablePhoneNumber(national_number)) { in ParseHelper()
2699 if (!IsViablePhoneNumber(number)) { in IsAlphaNumber()
2741 bool PhoneNumberUtil::IsViablePhoneNumber(const string& number) const { in IsViablePhoneNumber() function in i18n::phonenumbers::PhoneNumberUtil
2919 IsViablePhoneNumber(number_copy)) { in MaybeStripExtension()