Home
last modified time | relevance | path

Searched refs:region_code (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
Dshortnumberinfo.cc59 const string& region_code = it->id(); in ShortNumberInfo() local
60 region_to_short_metadata_map_->insert(make_pair(region_code, *it)); in ShortNumberInfo()
67 const string& region_code) const { in GetMetadataForRegion()
69 region_to_short_metadata_map_->find(region_code); in GetMetadataForRegion()
77 const string& region_code) const { in ConnectsToEmergencyNumber()
78 return MatchesEmergencyNumberHelper(number, region_code, in ConnectsToEmergencyNumber()
83 const string& region_code) const { in IsEmergencyNumber()
84 return MatchesEmergencyNumberHelper(number, region_code, in IsEmergencyNumber()
89 const string& region_code, bool allow_prefix_match) const { in MatchesEmergencyNumberHelper() argument
99 const PhoneMetadata* metadata = GetMetadataForRegion(region_code); in MatchesEmergencyNumberHelper()
[all …]
Dphonenumberutil.cc686 const string& region_code = it->id(); in PhoneNumberUtil() local
687 if (region_code == RegionCode::GetUnknown()) { in PhoneNumberUtil()
692 if (kRegionCodeForNonGeoEntity == region_code) { in PhoneNumberUtil()
696 region_to_metadata_map_->insert(make_pair(region_code, *it)); in PhoneNumberUtil()
702 calling_code_in_map->second->push_front(region_code); in PhoneNumberUtil()
704 calling_code_in_map->second->push_back(region_code); in PhoneNumberUtil()
709 list_with_region_code->push_back(region_code); in PhoneNumberUtil()
714 nanpa_regions_->insert(region_code); in PhoneNumberUtil()
810 void PhoneNumberUtil::GetNddPrefixForRegion(const string& region_code, in GetNddPrefixForRegion() argument
814 const PhoneMetadata* metadata = GetMetadataForRegion(region_code); in GetNddPrefixForRegion()
[all …]
Dphonenumberutil.h407 const string& region_code) const;
412 string* region_code) const;
416 int GetCountryCodeForRegion(const string& region_code) const;
422 void GetRegionCodeForCountryCode(int country_code, string* region_code) const;
426 bool IsNANPACountry(const string& region_code) const;
433 void GetNddPrefixForRegion(const string& region_code,
486 bool GetExampleNumber(const string& region_code,
493 bool GetExampleNumberForType(const string& region_code,
571 AsYouTypeFormatter* GetAsYouTypeFormatter(const string& region_code) const;
673 bool IsValidRegionCode(const string& region_code) const;
[all …]
Dshortnumberutil.cc30 const string& region_code) const { in ConnectsToEmergencyNumber()
32 return short_info.ConnectsToEmergencyNumber(number, region_code); in ConnectsToEmergencyNumber()
36 const string& region_code) const { in IsEmergencyNumber()
38 return short_info.IsEmergencyNumber(number, region_code); in IsEmergencyNumber()
Dshortnumberinfo.h48 const string& region_code) const;
56 const string& region_code) const;
66 const string& region_code) const;
69 const string& region_code,
Dshortnumberutil.h48 const string& region_code) const;
56 const string& region_code) const;
Dphonenumbermatcher.h79 const string& region_code,
86 const string& region_code);
Dasyoutypeformatter.h86 explicit AsYouTypeFormatter(const string& region_code);
90 const PhoneMetadata* GetMetadataForRegion(const string& region_code) const;
Dasyoutypeformatter.cc126 AsYouTypeFormatter::AsYouTypeFormatter(const string& region_code) in AsYouTypeFormatter() argument
139 default_country_(region_code), in AsYouTypeFormatter()
141 default_metadata_(GetMetadataForRegion(region_code)), in AsYouTypeFormatter()
157 const string& region_code) const { in GetMetadataForRegion()
158 int country_calling_code = phone_util_.GetCountryCodeForRegion(region_code); in GetMetadataForRegion()
Dphonenumbermatcher.cc359 const string& region_code, in PhoneNumberMatcher() argument
366 preferred_region_(region_code), in PhoneNumberMatcher()
375 const string& region_code) in PhoneNumberMatcher() argument
380 preferred_region_(region_code), in PhoneNumberMatcher()
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/geocoding/
Dphonenumber_offline_geocoder.cc123 string region_code; in GetCountryNameForNumber() local
124 phone_util_->GetRegionCodeForNumber(number, &region_code); in GetCountryNameForNumber()
125 return GetRegionDisplayName(&region_code, language); in GetCountryNameForNumber()
129 const string* region_code, const Locale& language) const { in GetRegionDisplayName() argument
130 if (region_code == NULL || region_code->compare("ZZ") == 0 || in GetRegionDisplayName()
131 region_code->compare( in GetRegionDisplayName()
136 icu::Locale("", region_code->c_str()).getDisplayCountry( in GetRegionDisplayName()
158 string region_code; in GetDescriptionForValidNumber() local
159 phone_util_->GetRegionCodeForNumber(number, &region_code); in GetDescriptionForValidNumber()
160 if (user_region.compare(region_code) == 0) { in GetDescriptionForValidNumber()
[all …]
Dphonenumber_offline_geocoder.h121 string GetRegionDisplayName(const string* region_code,
/external/chromium_org/third_party/libaddressinput/chromium/cpp/src/
Daddress_ui.cc92 const std::string& region_code, in BuildComponents() argument
99 RegionDataConstants::GetRegionData(region_code))) { in BuildComponents()
Dregion_data_constants.h27 static const std::string& GetRegionData(const std::string& region_code);
Dregion_data_constants.cc1022 const std::string& region_code) { in GetRegionData() argument
1025 GetAllRegionData().find(region_code); in GetRegionData()
/external/chromium_org/third_party/libaddressinput/chromium/cpp/include/libaddressinput/
Daddress_ui.h33 const std::string& region_code,
/external/chromium/chrome/browser/
Dspellchecker_mac.mm101 NSString* region_code = [whole_code
109 [region_code isEqualToString:@"US"]) ||
111 [region_code isEqualToString:@"PT"])) {
119 [NSString stringWithFormat:@"%@_%@", lang_code, region_code];
/external/icu4c/i18n/unicode/
Dregion.h157 static const Region* U_EXPORT2 getInstance(const char *region_code, UErrorCode &status);
/external/chromium_org/chrome/browser/spellchecker/
Dspellcheck_platform_mac.mm55 NSString* region_code = [whole_code
63 [region_code isEqualToString:@"US"]) ||
65 [region_code isEqualToString:@"PT"])) {
73 [NSString stringWithFormat:@"%@_%@", lang_code, region_code];
/external/icu4c/i18n/
Dregion.cpp403 Region::getInstance(const char *region_code, UErrorCode &status) { in getInstance() argument
405 if ( !region_code ) { in getInstance()
417 UnicodeString regionCodeString = UnicodeString(region_code, -1, US_INV); in getInstance()
/external/chromium_org/content/renderer/
Drender_view_impl.cc906 const std::string region_code = in Initialize() local
913 new PhoneNumberDetector(region_code))); in Initialize()