Home
last modified time | relevance | path

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

/third_party/libphonenumber/cpp/test/phonenumbers/
Dphonenumbermatcher_test.cc769 number1.set_country_code(phone_util_.GetCountryCodeForRegion(region)); in TEST_F()
774 number2.set_country_code(phone_util_.GetCountryCodeForRegion(region)); in TEST_F()
1104 number1.set_country_code(phone_util_.GetCountryCodeForRegion(region)); in TEST_F()
1109 number2.set_country_code(phone_util_.GetCountryCodeForRegion(region)); in TEST_F()
Dphonenumberutil_test.cc1559 country_calling_code = phone_util_.GetCountryCodeForRegion(RegionCode::AR()); in TEST_F()
1564 country_calling_code = phone_util_.GetCountryCodeForRegion(RegionCode::SE()); in TEST_F()
2803 TEST_F(PhoneNumberUtilTest, GetCountryCodeForRegion) { in TEST_F() argument
2804 EXPECT_EQ(1, phone_util_.GetCountryCodeForRegion(RegionCode::US())); in TEST_F()
2805 EXPECT_EQ(64, phone_util_.GetCountryCodeForRegion(RegionCode::NZ())); in TEST_F()
2806 EXPECT_EQ(0, phone_util_.GetCountryCodeForRegion(RegionCode::GetUnknown())); in TEST_F()
2807 EXPECT_EQ(0, phone_util_.GetCountryCodeForRegion(RegionCode::UN001())); in TEST_F()
2809 EXPECT_EQ(0, phone_util_.GetCountryCodeForRegion(RegionCode::CS())); in TEST_F()
/third_party/libphonenumber/cpp/src/phonenumbers/
Dphonenumberutil.h477 int GetCountryCodeForRegion(const string& region_code) const;
Dasyoutypeformatter.cc123 int country_calling_code = phone_util_.GetCountryCodeForRegion(region_code); in GetMetadataForRegion()
Dphonenumberutil.cc1918 int PhoneNumberUtil::GetCountryCodeForRegion(const string& region_code) const { in GetCountryCodeForRegion() function in i18n::phonenumbers::PhoneNumberUtil