/external/chromium_org/third_party/libphonenumber/src/phonenumbers/ |
shortnumberutil.cc | 30 const string& region_code) const { 32 return short_info.ConnectsToEmergencyNumber(number, region_code); 36 const string& region_code) const { 38 return short_info.IsEmergencyNumber(number, region_code);
|
shortnumberinfo.cc | 59 const string& region_code = it->id(); local 60 region_to_short_metadata_map_->insert(make_pair(region_code, *it)); 67 const string& region_code) const { 69 region_to_short_metadata_map_->find(region_code); 77 const string& region_code) const { 78 return MatchesEmergencyNumberHelper(number, region_code, 83 const string& region_code) const { 84 return MatchesEmergencyNumberHelper(number, region_code, 89 const string& region_code, bool allow_prefix_match) const { 99 const PhoneMetadata* metadata = GetMetadataForRegion(region_code); [all...] |
shortnumberinfo.h | 48 const string& region_code) const; 56 const string& region_code) const; 66 const string& region_code) const; 69 const string& region_code,
|
shortnumberutil.h | 48 const string& region_code) const; 56 const string& region_code) const;
|
phonenumberutil.h | 407 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...] |
phonenumberutil.cc | 46 #include "phonenumbers/region_code.h" 686 const string& region_code = it->id(); local 687 if (region_code == RegionCode::GetUnknown()) { 692 if (kRegionCodeForNonGeoEntity == region_code) { 696 region_to_metadata_map_->insert(make_pair(region_code, *it)); 702 calling_code_in_map->second->push_front(region_code); 704 calling_code_in_map->second->push_back(region_code); 709 list_with_region_code->push_back(region_code); 903 string region_code; local 935 string region_code; local 994 string region_code; local 1041 string region_code; local 1168 string region_code; local 1218 string region_code; local 1331 string region_code; local 2021 string region_code; local 2064 string region_code; local 2079 string region_code; local 2124 string region_code; local 2144 string region_code; local 2486 string region_code; local 2736 string region_code; local [all...] |
/external/chromium_org/third_party/libaddressinput/src/cpp/include/libaddressinput/ |
address_metadata.h | 23 // Checks whether |field| is a required field for |region_code|. Returns false 24 // also if no data could be found for region_code. Note: COUNTRY is always 26 bool IsFieldRequired(AddressField field, const std::string& region_code); 28 // Checks whether |field| is a field that is used for |region_code|. Returns 29 // false also if no data could be found for region_code. Note: COUNTRY is always 31 bool IsFieldUsed(AddressField field, const std::string& region_code);
|
address_ui.h | 30 // Returns the UI components for the CLDR |region_code|. Uses the strings from 41 const std::string& region_code,
|
preload_supplier.h | 76 // Loads all address metadata available for |region_code|. (A typical data 81 void LoadRules(const std::string& region_code, const Callback& loaded); 83 bool IsLoaded(const std::string& region_code) const; 84 bool IsPending(const std::string& region_code) const;
|
/external/chromium_org/third_party/libaddressinput/src/cpp/src/ |
region_data_constants.h | 27 static const bool IsSupported(const std::string& region_code); 29 static const std::string& GetRegionData(const std::string& region_code); 31 static size_t GetMaxLookupKeyDepth(const std::string& region_code);
|
address_metadata.cc | 27 bool IsFieldRequired(AddressField field, const std::string& region_code) { 35 RegionDataConstants::GetRegionData(region_code))) { 44 bool IsFieldUsed(AddressField field, const std::string& region_code) { 52 RegionDataConstants::GetRegionData(region_code))) {
|
region_data.cc | 25 RegionData::RegionData(const std::string& region_code) 26 : key_(region_code), 27 name_(region_code),
|
region_data_builder.cc | 71 const std::string& region_code, 76 address.region_code = region_code; 84 RegionData* region = new RegionData(region_code); 112 const std::string& region_code, 115 assert(supplier_->IsLoaded(region_code)); 119 RegionCodeDataMap::const_iterator region_it = cache_.find(region_code); 122 cache_.insert(std::make_pair(region_code, new LanguageRegionMap)).first; 128 rule.ParseSerializedRule(RegionDataConstants::GetRegionData(region_code)); 140 BuildRegion(supplier_, region_code, best_language))).first [all...] |
/external/chromium_org/third_party/libaddressinput/src/cpp/test/ |
address_input_helper_test.cc | 59 const std::string& region_code = address->region_code; local 60 if (!region_code.empty()) { 61 supplier_.LoadRules(region_code, *loaded_); 80 address.region_code = "CX"; 92 address.region_code = "US"; 113 address.region_code = "TW"; 135 address.region_code = "TW"; 158 address.region_code = "KR"; 174 address_ko_latn.region_code = "KR" 263 const std::string& region_code = address->region_code; local [all...] |
lookup_key_test.cc | 38 address.region_code = "111"; 47 address.region_code = "111"; 57 address.region_code = "111"; 68 address.region_code = "111"; 80 address.region_code = "111"; 92 address.region_code = "111"; 107 address.region_code = "CA"; 119 address.region_code = "CA"; 131 address.region_code = "CA"; 145 address.region_code = "AF" [all...] |
preload_supplier_test.cc | 57 void OnLoaded(bool success, const std::string& region_code, int num_rules) { 59 ASSERT_FALSE(region_code.empty()); 61 ASSERT_TRUE(supplier_.IsLoaded(region_code)); 71 us_address.region_code = "US"; 82 ca_address.region_code = "US"; 94 zw_address.region_code = "ZW"; 105 unknown_address.region_code = "US"; 116 precise_address.region_code = "US";
|
address_normalizer_test.cc | 54 void OnLoaded(bool success, const std::string& region_code, int num_rules) { 56 ASSERT_FALSE(region_code.empty()); 67 address.region_code = "US"; 78 address.region_code = "KR"; 88 address.region_code = "KR"; 98 address.region_code = "KR"; 107 address.region_code = "KR";
|
validation_task_test.cc | 164 address_.region_code = "rrr"; 186 address_.region_code = "rrr"; 196 address_.region_code = "US"; 215 address_.region_code = "US"; 235 address_.region_code = "US"; 249 address_.region_code = "rrr"; 263 address_.region_code = "rrr"; 277 address_.region_code = "rrr"; 288 address_.region_code = "rrr"; 301 address_.region_code = "rrr" [all...] |
supplier_test.cc | 105 const std::string& region_code = lookup_key.GetRegionCode(); local 106 if (!region_code.empty() && !preload_supplier_.IsLoaded(region_code)) { 107 preload_supplier_.LoadRules(region_code, *loaded_); 175 address_.region_code = "QZ"; 186 address_.region_code = "SE"; 201 address_.region_code = "HK"; 213 address_.region_code = "HK"; 226 address_.region_code = "HK"; 237 address_.region_code = "CN" [all...] |
address_validator_test.cc | 113 const std::string& region_code = address.region_code; local 114 if (!region_code.empty() && !supplier_.IsLoaded(region_code)) { 115 supplier_.LoadRules(region_code, *loaded_); 211 address_.region_code = "QZ"; 221 address_.region_code = "US"; 234 address_.region_code = "US"; 248 address_.region_code = "CH"; 260 address_.region_code = "CH" [all...] |
/external/chromium_org/third_party/libaddressinput/chromium/cpp/src/ |
region_data_constants.h | 27 static const std::string& GetRegionData(const std::string& region_code);
|
/external/chromium_org/third_party/libaddressinput/chromium/ |
preload_address_validator.cc | 59 void PreloadAddressValidator::LoadRules(const std::string& region_code, 62 supplier_->LoadRules(region_code, loaded); 72 if (supplier_->IsPending(address.region_code)) { 76 if (!supplier_->IsLoaded(address.region_code)) { 99 if (supplier_->IsPending(user_input.region_code)) { 103 if (!supplier_->IsLoaded(user_input.region_code)) { 122 if (!supplier_->IsLoaded(address->region_code)) {
|
preload_address_validator_unittest.cc | 72 const std::string& region_code, 75 address_data.region_code = region_code; 92 address.region_code = region_codes[i]; 102 address.region_code = "US"; 115 address.region_code = "US"; 185 address.region_code = "US"; 234 address.region_code = "US"; 252 address.region_code = "US"; 259 address.region_code = "US" [all...] |
/external/chromium_org/third_party/libaddressinput/chromium/cpp/include/libaddressinput/ |
address_ui.h | 31 // Returns the UI components for the CLDR |region_code|. These components 32 // represent the address input and formatting rules for |region_code|. 38 // If |region_code| has rules for latinized address format and the BCP 47 48 const std::string& region_code,
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/geocoding/ |
phonenumber_offline_geocoder.cc | 123 string region_code; local 124 phone_util_->GetRegionCodeForNumber(number, ®ion_code); 125 return GetRegionDisplayName(®ion_code, language); 129 const string* region_code, const Locale& language) const { 130 if (region_code == NULL || region_code->compare("ZZ") == 0 || 131 region_code->compare( 136 icu::Locale("", region_code->c_str()).getDisplayCountry( 158 string region_code; local 159 phone_util_->GetRegionCodeForNumber(number, ®ion_code); [all...] |