Home
last modified time | relevance | path

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

/third_party/libphonenumber/cpp/src/phonenumbers/
Dphonenumberutil.h499 bool IsNANPACountry(const string& region_code) const;
Dphonenumberutil.cc1371 if (IsNANPACountry(calling_from)) { in FormatOutOfCountryCallingNumber()
1625 if (IsNANPACountry(calling_from)) { in FormatOutOfCountryKeepingAlphaChars()
1832 bool PhoneNumberUtil::IsNANPACountry(const string& region_code) const { in IsNANPACountry() function in i18n::phonenumbers::PhoneNumberUtil
/third_party/libphonenumber/cpp/test/phonenumbers/
Dphonenumberutil_test.cc1609 TEST_F(PhoneNumberUtilTest, IsNANPACountry) { in TEST_F() argument
1610 EXPECT_TRUE(phone_util_.IsNANPACountry(RegionCode::US())); in TEST_F()
1611 EXPECT_TRUE(phone_util_.IsNANPACountry(RegionCode::BS())); in TEST_F()
1612 EXPECT_FALSE(phone_util_.IsNANPACountry(RegionCode::DE())); in TEST_F()
1613 EXPECT_FALSE(phone_util_.IsNANPACountry(RegionCode::GetUnknown())); in TEST_F()
1614 EXPECT_FALSE(phone_util_.IsNANPACountry(RegionCode::UN001())); in TEST_F()