Searched refs:IsValidNumber (Results 1 – 5 of 5) sorted by relevance
1617 TEST_F(PhoneNumberUtilTest, IsValidNumber) { in TEST_F() argument1621 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 …]
173 if (phone_util_.IsValidNumber(parsed)) { in DoTestFindInContext()
531 if (!phone_util_.IsValidNumber(number) || in VerifyAccordingToLeniency()537 if (!phone_util_.IsValidNumber(number) || in VerifyAccordingToLeniency()552 if (!phone_util_.IsValidNumber(number) || in VerifyAccordingToLeniency()
451 bool IsValidNumber(const PhoneNumber& number) const;
1565 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