Home
last modified time | relevance | path

Searched refs:IsValidNumber (Results 1 – 5 of 5) sorted by relevance

/third_party/libphonenumber/cpp/test/phonenumbers/
Dphonenumberutil_test.cc1617 TEST_F(PhoneNumberUtilTest, IsValidNumber) { in TEST_F() argument
1621 EXPECT_TRUE(phone_util_.IsValidNumber(us_number)); in TEST_F()
1627 EXPECT_TRUE(phone_util_.IsValidNumber(it_number)); in TEST_F()
1632 EXPECT_TRUE(phone_util_.IsValidNumber(gb_number)); in TEST_F()
1637 EXPECT_TRUE(phone_util_.IsValidNumber(nz_number)); in TEST_F()
1642 EXPECT_TRUE(phone_util_.IsValidNumber(intl_toll_free_number)); in TEST_F()
1647 EXPECT_TRUE(phone_util_.IsValidNumber(universal_premium_rate)); in TEST_F()
1655 EXPECT_TRUE(phone_util_.IsValidNumber(bs_number)); in TEST_F()
1660 EXPECT_FALSE(phone_util_.IsValidNumber(bs_number)); in TEST_F()
1666 EXPECT_TRUE(phone_util_.IsValidNumber(re_number)); in TEST_F()
[all …]
Dphonenumbermatcher_test.cc173 if (phone_util_.IsValidNumber(parsed)) { in DoTestFindInContext()
/third_party/libphonenumber/cpp/src/phonenumbers/
Dphonenumbermatcher.cc531 if (!phone_util_.IsValidNumber(number) || in VerifyAccordingToLeniency()
537 if (!phone_util_.IsValidNumber(number) || in VerifyAccordingToLeniency()
552 if (!phone_util_.IsValidNumber(number) || in VerifyAccordingToLeniency()
Dphonenumberutil.h451 bool IsValidNumber(const PhoneNumber& number) const;
Dphonenumberutil.cc1565 return IsValidNumber(number_without_national_prefix); in RawInputContainsNationalPrefix()
1985 if (!IsValidNumber(possibly_valid_number)) { in GetInvalidExampleNumber()
2411 if (IsValidNumber(*number)) { in TruncateTooLongNumber()
2423 } while (!IsValidNumber(number_copy)); in TruncateTooLongNumber()
2442 bool PhoneNumberUtil::IsValidNumber(const PhoneNumber& number) const { in IsValidNumber() function in i18n::phonenumbers::PhoneNumberUtil