Searched defs:country_code (Results 1 - 25 of 61) sorted by relevance

123

/external/chromium_org/base/i18n/
H A Dtimezone_unittest.cc13 std::string country_code = CountryCodeForCurrentTimezone(); local
16 if (!country_code.empty())
17 EXPECT_EQ(2U, country_code.size());
H A Dtimezone.cc38 std::string country_code; member in struct:base::__anon2268::TimezoneMap::OlsonCodeData
463 map_[olson_code_data[i].olson_code] = olson_code_data[i].country_code;
/external/chromium_org/chrome/browser/ui/autofill/
H A Dcountry_combobox_model_unittest.cc51 std::string country_code = model()->countries()[i]->country_code(); local
54 country_code, std::string(), NULL);
H A Dautofill_dialog_i18n_input.cc41 const std::string& country_code,
46 country_code, g_browser_process->GetApplicationLocale(),
40 BuildAddressInputs(common::AddressType address_type, const std::string& country_code, DetailInputs* inputs, std::string* language_code) argument
/external/chromium_org/components/autofill/core/browser/
H A Dphone_number_i18n_unittest.cc56 std::string country_code; member in struct:autofill::test_case
118 base::string16 country_code, city_code, number; local
124 &country_code,
131 EXPECT_EQ(ASCIIToUTF16(test_cases[i].country_code), country_code); local
H A Daddress.cc206 std::string country_code = AutofillCountry::GetCountryCode(text, app_locale); local
207 if (!country_code.empty() && country_code_ == country_code)
H A Dphone_number_i18n.h39 base::string16* country_code,
52 // |country_code| - country code, could be empty.
58 bool ConstructPhoneNumber(const base::string16& country_code,
82 const base::string16& country_code() const { return country_code_; } function in class:autofill::i18n::PhoneObject
H A Dautofill_country.h46 // |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 Dphone_number.cc26 base::string16 country_code = profile.GetRawInfo(ADDRESS_HOME_COUNTRY); local
27 if (!country_code.empty())
28 return base::UTF16ToASCII(country_code);
117 return cached_parsed_phone_.country_code();
H A Dautofill_country.cc42 char country_code[3]; member in struct:autofill::__anon6193::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...]
H A Dautofill_field.cc101 std::string country_code = AutofillCountry::GetCountryCode(value, app_locale); local
102 if (country_code.empty())
112 if (country_code == AutofillCountry::GetCountryCode(value, app_locale) ||
113 country_code == AutofillCountry::GetCountryCode(contents, app_locale)) {
H A Dphone_number_i18n.cc51 // 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,
91 country_code->clear();
134 *country_code = base::string16();
142 *country_code = base::UTF8ToUTF16(
143 base::StringPrintf("%d", i18n_number->country_code()));
145 !StartsWith(normalized_number, *country_code,
147 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& default_region, base::string16* country_code, base::string16* city_code, base::string16* number, std::string* inferred_region, PhoneNumber* i18n_number) argument
160 base::string16 country_code, unused_city_code, unused_number; local
173 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...]
/external/chromium_org/third_party/libaddressinput/chromium/cpp/include/libaddressinput/
H A Daddress_data.h38 // address.country_code = "US";
43 // should appear on an envelope for |country_code|. The |lines| parameter
46 // If there're no address formatting rules for |country_code|, then the
71 std::string country_code; member in struct:i18n::addressinput::AddressData
/external/chromium_org/third_party/libaddressinput/chromium/cpp/test/
H A Daddress_validator_test.cc58 virtual void OnAddressValidationRulesLoaded(const std::string& country_code, argument
61 address_data.country_code = country_code;
75 address.country_code = region_codes[i];
84 address.country_code = "US";
97 address.country_code = "US";
165 address.country_code = "US";
214 address.country_code = "US";
232 address.country_code = "US";
239 address.country_code
[all...]
H A Dcountry_rules_aggregator_test.cc66 const std::string& country_code,
69 country_code_ = country_code;
65 OnRulesetReady(bool success, const std::string& country_code, scoped_ptr<Ruleset> ruleset) argument
H A Dcountryinfo_example_addresses_test.cc107 address.country_code = country;
182 virtual void OnAddressValidationRulesLoaded(const std::string& country_code, argument
185 address_data.country_code = country_code;
/external/chromium_org/chrome/common/
H A Dspellcheck_common.cc156 std::string* country_code) {
158 DCHECK(country_code);
170 *country_code = std::string(country);
154 GetISOLanguageCountryCodeFromLocale(const std::string& locale, std::string* language_code, std::string* country_code) argument
/external/chromium_org/chrome/browser/spellchecker/
H A Dspelling_service_client.cc63 std::string country_code; local
67 &country_code);
89 country_code.c_str(),
H A Dspellcheck_service.cc45 std::string country_code; local
49 &country_code);
51 context->GetRequestContext(), language_code, country_code));
295 std::string country_code; local
297 dictionary, &language_code, &country_code);
298 feedback_sender_->OnLanguageCountryChange(language_code, country_code);
/external/chromium_org/components/google/core/browser/
H A Dgoogle_util.cc117 std::string country_code = google_hostname.substr(last_dot + 1); local
119 if (country_code == "com")
123 if (country_code == "uk")
127 if (country_code == "cat")
129 return country_code;
/external/chromium_org/third_party/libaddressinput/chromium/cpp/src/
H A Dcountry_rules_aggregator.cc48 void CountryRulesAggregator::AggregateRules(const std::string& country_code, argument
51 country_code_ = country_code;
/external/chromium_org/chrome/renderer/net/
H A Dnet_error_helper_core.h110 std::string country_code; member in struct:NetErrorHelperCore::NavigationCorrectionParams
156 const std::string& country_code,
H A Dnet_error_helper.cc319 const std::string& country_code,
323 country_code, api_key, search_url);
316 OnSetNavigationCorrectionInfo( const GURL& navigation_correction_url, const std::string& language, const std::string& country_code, const std::string& api_key, const GURL& search_url) argument
/external/chromium_org/components/autofill/content/browser/wallet/
H A Dwallet_address.cc190 std::string country_code; local
191 if (!dictionary.GetString("country_code", &country_code)) {
255 new Address(country_code,
/external/chromium_org/components/autofill/core/browser/webdata/
H A Dautofill_profile_syncable_service.cc366 std::string country_code = local
368 diff = UpdateField(ADDRESS_HOME_COUNTRY, country_code, profile) || diff;

Completed in 6254 milliseconds

123