/third_party/libphonenumber/cpp/src/phonenumbers/ |
D | shortnumberinfo.cc | 56 const string& region_code = metadata.id(); in ShortNumberInfo() local 57 region_to_short_metadata_map_->insert(std::make_pair(region_code, metadata)); in ShortNumberInfo() 69 const string& region_code) const { in GetMetadataForRegion() 70 auto it = region_to_short_metadata_map_->find(region_code); in GetMetadataForRegion() 130 for (const auto& region_code : region_codes) { in IsPossibleShortNumber() local 131 const PhoneMetadata* phone_metadata = GetMetadataForRegion(region_code); in IsPossibleShortNumber() 171 string region_code; in IsValidShortNumber() local 172 GetRegionCodeForShortNumberFromRegionList(number, region_codes, ®ion_code); in IsValidShortNumber() 173 if (region_codes.size() > 1 && region_code != RegionCode::GetUnknown()) { in IsValidShortNumber() 176 return IsValidShortNumberForRegion(number, region_code); in IsValidShortNumber() [all …]
|
D | phonenumberutil.cc | 850 const string& region_code = it->id(); in PhoneNumberUtil() local 851 if (region_code == RegionCode::GetUnknown()) { in PhoneNumberUtil() 856 if (kRegionCodeForNonGeoEntity == region_code) { in PhoneNumberUtil() 860 region_to_metadata_map_->insert(std::make_pair(region_code, *it)); in PhoneNumberUtil() 866 calling_code_in_map->second->push_front(region_code); in PhoneNumberUtil() 868 calling_code_in_map->second->push_back(region_code); in PhoneNumberUtil() 873 list_with_region_code->push_back(region_code); in PhoneNumberUtil() 878 nanpa_regions_->insert(region_code); in PhoneNumberUtil() 928 const string& region_code, in GetSupportedTypesForRegion() argument 931 if (!IsValidRegionCode(region_code)) { in GetSupportedTypesForRegion() [all …]
|
D | phonenumberutil.h | 198 const string& region_code, 467 const string& region_code) const; 473 string* region_code) const; 477 int GetCountryCodeForRegion(const string& region_code) const; 487 void GetRegionCodeForCountryCode(int country_code, string* region_code) const; 499 bool IsNANPACountry(const string& region_code) const; 506 void GetNddPrefixForRegion(const string& region_code, 619 bool GetExampleNumber(const string& region_code, 631 bool GetInvalidExampleNumber(const string& region_code, 638 bool GetExampleNumberForType(const string& region_code, [all …]
|
D | shortnumberinfo.h | 123 string GetExampleShortNumber(const string& region_code) const; 126 string GetExampleShortNumberForCost(const string& region_code, 136 const string& region_code) const; 144 const string& region_code) const; 191 const string& region_code) const; 202 string* region_code) const; 205 const string& region_code,
|
D | asyoutypeformatter.h | 85 explicit AsYouTypeFormatter(const string& region_code); 89 const PhoneMetadata* GetMetadataForRegion(const string& region_code) const;
|
D | phonenumbermatcher.h | 79 const string& region_code, 86 const string& region_code);
|
D | asyoutypeformatter.cc | 91 AsYouTypeFormatter::AsYouTypeFormatter(const string& region_code) in AsYouTypeFormatter() argument 104 default_country_(region_code), in AsYouTypeFormatter() 106 default_metadata_(GetMetadataForRegion(region_code)), in AsYouTypeFormatter() 122 const string& region_code) const { in GetMetadataForRegion() 123 int country_calling_code = phone_util_.GetCountryCodeForRegion(region_code); in GetMetadataForRegion()
|
D | phonenumbermatcher.cc | 398 const string& region_code, in PhoneNumberMatcher() argument 405 preferred_region_(region_code), in PhoneNumberMatcher() 416 const string& region_code) in PhoneNumberMatcher() argument 421 preferred_region_(region_code), in PhoneNumberMatcher()
|
/third_party/libphonenumber/cpp/src/phonenumbers/geocoding/ |
D | phonenumber_offline_geocoder.cc | 118 string region_code; in GetCountryNameForNumber() local 119 phone_util_->GetRegionCodeForNumber(number, ®ion_code); in GetCountryNameForNumber() 120 return GetRegionDisplayName(®ion_code, language); in GetCountryNameForNumber() 124 const string* region_code, const Locale& language) const { in GetRegionDisplayName() argument 125 if (region_code == NULL || region_code->compare("ZZ") == 0 || in GetRegionDisplayName() 126 region_code->compare( in GetRegionDisplayName() 131 icu::Locale("", region_code->c_str()).getDisplayCountry( in GetRegionDisplayName() 153 string region_code; in GetDescriptionForValidNumber() local 154 phone_util_->GetRegionCodeForNumber(number, ®ion_code); in GetDescriptionForValidNumber() 155 if (user_region.compare(region_code) == 0) { in GetDescriptionForValidNumber() [all …]
|
D | phonenumber_offline_geocoder.h | 127 string GetRegionDisplayName(const string* region_code,
|
/third_party/libphonenumber/cpp/test/phonenumbers/ |
D | phonenumberutil_test.cc | 58 const PhoneMetadata* GetPhoneMetadata(const string& region_code) const { in GetPhoneMetadata() 59 return phone_util_.GetMetadataForRegion(region_code); in GetPhoneMetadata() 170 string region_code; in TEST_F() local 171 phone_util_.GetRegionCodeForCountryCode(*it, ®ion_code); in TEST_F() 172 EXPECT_EQ(RegionCode::UN001(), region_code); in TEST_F() 184 string region_code; in TEST_F() local 185 phone_util_.GetRegionCodeForCountryCode(*it, ®ion_code); in TEST_F() 186 EXPECT_NE(RegionCode::ZZ(), region_code); in TEST_F() 1679 string region_code; in TEST_F() local 1680 phone_util_.GetRegionCodeForNumber(re_number, ®ion_code); in TEST_F() [all …]
|
D | shortnumberinfo_test.cc | 36 const string& region_code) { in ParseNumberForTesting() argument 39 number, region_code, &phone_number); in ParseNumberForTesting()
|
D | phonenumbermatcher_test.cc | 143 const string& number, const string& region_code) { in AssertMatchProperties() argument 145 phone_util_.Parse(number, region_code, &expected_result); in AssertMatchProperties()
|
/third_party/skia/third_party/externals/icu/source/tools/tzcode/ |
D | icuregions | 10 # <zone_id> <region_code>
|
/third_party/icu/icu4c/source/tools/tzcode/ |
D | icuregions | 10 # <zone_id> <region_code>
|
/third_party/icu/icu4c/source/i18n/unicode/ |
D | region.h | 99 static const Region* U_EXPORT2 getInstance(const char *region_code, UErrorCode &status);
|
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
D | region.h | 99 static const Region* U_EXPORT2 getInstance(const char *region_code, UErrorCode &status);
|
/third_party/node/deps/icu-small/source/i18n/unicode/ |
D | region.h | 99 static const Region* U_EXPORT2 getInstance(const char *region_code, UErrorCode &status);
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | region.cpp | 463 Region::getInstance(const char *region_code, UErrorCode &status) { in getInstance() argument 470 if ( !region_code ) { in getInstance() 475 UnicodeString regionCodeString = UnicodeString(region_code, -1, US_INV); in getInstance()
|
/third_party/icu/icu4c/source/i18n/ |
D | region.cpp | 491 Region::getInstance(const char *region_code, UErrorCode &status) { in getInstance() argument 498 if ( !region_code ) { in getInstance() 503 UnicodeString regionCodeString = UnicodeString(region_code, -1, US_INV); in getInstance()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | region.cpp | 491 Region::getInstance(const char *region_code, UErrorCode &status) { in getInstance() argument 498 if ( !region_code ) { in getInstance() 503 UnicodeString regionCodeString = UnicodeString(region_code, -1, US_INV); in getInstance()
|
/third_party/libphonenumber/cpp/ |
D | CMakeLists.txt | 600 "src/phonenumbers/region_code.h"
|