/external/chromium_org/base/i18n/ |
H A D | timezone_unittest.cc | 13 std::string country_code = CountryCodeForCurrentTimezone(); local 16 if (!country_code.empty()) 17 EXPECT_EQ(2U, country_code.size());
|
H A D | timezone.cc | 38 std::string country_code; member in struct:base::__anon3795::TimezoneMap::OlsonCodeData 463 map_[olson_code_data[i].olson_code] = olson_code_data[i].country_code;
|
/external/chromium/chrome/browser/autofill/ |
H A D | phone_number_unittest.cc | 14 string16 country_code; local 18 PhoneNumber::ParsePhoneNumber(phone0, &number, &city_code, &country_code); 21 EXPECT_EQ(string16(), country_code); local 25 PhoneNumber::ParsePhoneNumber(phone1, &number, &city_code, &country_code); 28 EXPECT_EQ(string16(), country_code); local 32 PhoneNumber::ParsePhoneNumber(phone2, &number, &city_code, &country_code); 35 EXPECT_EQ(string16(), country_code); local 41 &number, &city_code, &country_code); 44 EXPECT_EQ(string16(), country_code); local 49 PhoneNumber::ParsePhoneNumber(phone3, &number, &city_code, &country_code); 52 EXPECT_EQ(string16(), country_code); local 61 EXPECT_EQ(string16(), country_code); local 69 EXPECT_EQ(string16(), country_code); local 78 EXPECT_EQ(string16(), country_code); local [all...] |
H A D | address_unittest.cc | 16 EXPECT_EQ(std::string(), address.country_code()); 19 EXPECT_EQ("US", address.country_code()); 22 EXPECT_EQ("CA", address.country_code()); 28 EXPECT_EQ(std::string(), address.country_code()); 46 EXPECT_EQ(std::string(), address.country_code()); 51 EXPECT_EQ("US", address.country_code()); 57 EXPECT_EQ("US", address.country_code()); 63 EXPECT_EQ("CA", address.country_code()); 69 EXPECT_EQ("JP", address.country_code()); 75 EXPECT_EQ(std::string(), address.country_code()); [all...] |
H A D | autofill_country.h | 20 // |country_code|. 21 AutofillCountry(const std::string& country_code, const std::string& locale); 41 const std::string country_code() const { return country_code_; } function in class:AutofillCountry 47 AutofillCountry(const std::string& country_code,
|
H A D | autofill_country_unittest.cc | 15 EXPECT_EQ("US", united_states_en.country_code()); 21 EXPECT_EQ("US", united_states_es.country_code()); 25 EXPECT_EQ("CA", canada_en.country_code()); 31 EXPECT_EQ("CA", canada_hu.country_code());
|
H A D | phone_number.h | 34 // |country_code| returns any remaining digits. 40 string16* country_code); 59 const string16& country_code() const { return country_code_; } function in class:PhoneNumber 68 void set_country_code(const string16& country_code) { argument 69 country_code_ = country_code;
|
H A D | autofill_country.cc | 34 std::string country_code; member in struct:__anon1874::CountryData 297 static const Iterator Find(const std::string& country_code); 317 country_data_.insert(std::make_pair(data.country_code, data)); 325 std::string country_code = *country_pointer; local 326 if (!country_data_.count(country_code)) { 328 country_code, 332 country_data_.insert(std::make_pair(country_code, data)); 346 const std::string& country_code) { 347 return GetInstance()->country_data_.find(country_code); 418 const std::string& country_code local 345 Find( const std::string& country_code) argument 474 const std::string& country_code = it->first; local 559 GetDisplayName(const std::string& country_code, const icu::Locale& display_locale) argument 571 AutofillCountry(const std::string& country_code, const std::string& locale) argument 611 std::string country_code = icu::Locale(likely_locale.c_str()).getCountry(); local 636 AutofillCountry(const std::string& country_code, const string16& name, const string16& postal_code_label, const string16& state_label) argument [all...] |
H A D | address.h | 33 const std::string& country_code() const { return country_code_; } function in class:Address 34 void set_country_code(const std::string& country_code) { argument 35 country_code_ = country_code;
|
H A D | phone_number.cc | 85 if (!country_code().empty()) 103 return country_code(); 138 string16* country_code) { 141 DCHECK(country_code); 148 *country_code = string16(); 171 *country_code = working; 196 string16 number, city_code, country_code; local 197 ParsePhoneNumber(whole_number, &number, &city_code, &country_code); 200 set_country_code(country_code); 135 ParsePhoneNumber(const string16& value, string16* number, string16* city_code, string16* country_code) argument
|
/external/chromium_org/components/autofill/core/browser/ |
H A D | phone_number_i18n_unittest.cc | 49 base::string16 country_code; local 55 &country_code, 61 EXPECT_EQ(base::string16(), country_code); local 66 &country_code, 72 EXPECT_EQ(base::string16(), country_code); local 78 &country_code, 84 EXPECT_EQ(base::string16(), country_code); local 89 &country_code, 95 EXPECT_EQ(base::string16(), country_code); local 101 &country_code, 107 EXPECT_EQ(base::string16(), country_code); local 120 EXPECT_EQ(base::string16(), country_code); local 133 EXPECT_EQ(base::string16(), country_code); local 144 EXPECT_EQ(base::string16(), country_code); local 154 EXPECT_EQ(base::string16(), country_code); local 166 EXPECT_EQ(base::string16(), country_code); local 179 EXPECT_EQ(base::string16(), country_code); local [all...] |
H A D | phone_number_i18n.cc | 51 // to calling this function. Note that the |country_code|, which determines 56 const base::string16& country_code, 60 country_code.empty() ? 86 base::string16* country_code, 90 country_code->clear(); 133 *country_code = base::string16(); 141 *country_code = UTF8ToUTF16( 142 base::StringPrintf("%d", i18n_number->country_code())); 144 !StartsWith(normalized_number, *country_code, 146 country_code 55 FormatValidatedNumber(const PhoneNumber& number, const base::string16& country_code, base::string16* formatted_number, base::string16* normalized_number) argument 84 ParsePhoneNumber(const base::string16& value, const std::string& region, base::string16* country_code, base::string16* city_code, base::string16* number, PhoneNumber* i18n_number) argument 156 base::string16 country_code; local 170 ConstructPhoneNumber(const base::string16& country_code, const base::string16& city_code, const base::string16& number, const std::string& region, base::string16* whole_number) argument [all...] |
H A D | autofill_country_unittest.cc | 17 EXPECT_EQ("US", united_states_en.country_code()); 23 EXPECT_EQ("US", united_states_es.country_code()); 27 EXPECT_EQ("CA", canada_en.country_code()); 33 EXPECT_EQ("CA", canada_hu.country_code());
|
H A D | autofill_country.h | 46 // |country_code|. 47 AutofillCountry(const std::string& country_code, const std::string& locale); 64 const std::string country_code() const { return country_code_; } function in class:autofill::AutofillCountry 85 AutofillCountry(const std::string& country_code,
|
H A D | phone_number_i18n.h | 36 base::string16* country_code, 48 // |country_code| - country code, could be empty. 54 bool ConstructPhoneNumber(const base::string16& country_code, 78 const base::string16& country_code() const { return country_code_; } function in class:autofill::i18n::PhoneObject
|
H A D | autofill_country.cc | 42 char country_code[3]; member in struct:autofill::__anon7669::StaticCountryData 785 static const Iterator Find(const std::string& country_code); 805 country_data_.insert(std::make_pair(static_data.country_code, 814 std::string country_code = *country_pointer; local 815 if (!country_data_.count(country_code)) { 820 country_data_.insert(std::make_pair(country_code, data)); 834 const std::string& country_code) { 835 return GetInstance()->country_data_.find(country_code); 906 const std::string& country_code = it->first; local 908 icu::Locale(NULL, country_code 833 Find( const std::string& country_code) argument 960 const std::string& country_code = it->first; local 1045 AutofillCountry(const std::string& country_code, const std::string& locale) argument 1086 std::string country_code = icu::Locale(likely_locale.c_str()).getCountry(); local 1101 AutofillCountry(const std::string& country_code, const base::string16& name, const base::string16& postal_code_label, const base::string16& state_label) argument [all...] |
/external/chromium_org/third_party/libaddressinput/chromium/cpp/include/libaddressinput/ |
H A D | load_rules_delegate.h | 29 // Called when the validation rules for the |country_code| have been loaded. 30 // The validation rules include the generic rules for the |country_code| and 36 virtual void OnAddressValidationRulesLoaded(const std::string& country_code,
|
H A D | address_data.h | 30 // address.country_code = "US"; 51 std::string country_code; member in struct:i18n::addressinput::AddressData
|
/external/chromium_org/third_party/cld/encodings/ |
H A D | lang_enc.h | 194 // country_code. Otherwise, it returns false. 196 bool LangsFromCountryCode(const char* country_code, 211 // country_code. Otherwise, it returns false, and *enc is set to 214 bool EncFromCountryCode(const char* country_code, Encoding* enc);
|
/external/chromium_org/third_party/libphonenumber/src/resources/ |
H A D | phonenumber.proto | 30 required int32 country_code = 1; 70 // The source from which the country_code is derived. This is not set in the general parsing method, 73 // The country_code is derived based on a phone number with a leading "+", e.g. the French 77 // The country_code is derived based on a phone number with a leading IDD, e.g. the French 81 // The country_code is derived based on a phone number without a leading "+", e.g. the French 85 // The country_code is derived NOT based on the phone number itself, but from the defaultCountry 92 // The source from which the country_code is derived. 107 // country_code: 1 111 // country_code: 33 115 // country_code [all...] |
/external/chromium_org/third_party/libaddressinput/chromium/cpp/src/ |
H A D | address_validator.cc | 40 void AddressValidator::LoadRules(const std::string& country_code) {} argument
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/ |
H A D | phonenumber.cc | 26 first_number.country_code() != second_number.country_code()) {
|
/external/chromium_org/chrome/test/functional/ |
H A D | autofill.py | 73 for country_code in test_data: 74 page.Fill(country_code=country_code) 79 test_data[country_code]['postalCodeLabel'], 82 (actual_postal_label, country_code))) 87 test_data[country_code]['stateLabel'], 90 (actual_state_label, country_code)))
|
/external/chromium_org/chrome/common/ |
H A D | spellcheck_common.cc | 154 std::string* country_code) { 156 DCHECK(country_code); 168 *country_code = std::string(country); 152 GetISOLanguageCountryCodeFromLocale(const std::string& locale, std::string* language_code, std::string* country_code) argument
|
/external/chromium_org/chrome/browser/search_engines/ |
H A D | template_url_prepopulate_data.h | 36 // This must be called early only once. |country_code| is the country code at 38 void InitCountryCode(const std::string& country_code);
|