Searched refs:country_code (Results 1 - 25 of 77) sorted by relevance

1234

/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::__anon2296::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 Dmock_address_validator.h15 MATCHER_P(CountryCodeMatcher, country_code, "Checks an AddressData's country") {
17 return arg.region_code == country_code;
25 MOCK_METHOD1(LoadRules, void(const std::string& country_code));
H A Dautofill_dialog_i18n_input.h24 // billing or shipping) in |country_code| (e.g. "US" or "CH").
34 const std::string& country_code,
H A Dcountry_combobox_model_unittest.cc54 std::string country_code = model()->countries()[i]->country_code(); local
57 country_code, localization, std::string(), &unused);
H A Dautofill_dialog_i18n_input.cc33 std::vector<AddressUiComponent> BuildComponents(const std::string& country_code, argument
39 country_code, localization, g_browser_process->GetApplicationLocale(),
53 const std::string& country_code,
57 BuildComponents(country_code, language_code));
52 BuildAddressInputs(common::AddressType address_type, const std::string& country_code, DetailInputs* inputs, std::string* language_code) argument
/external/chromium_org/third_party/cld/encodings/
H A Dlang_enc.h194 // 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 Dphonenumber.proto30 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/components/autofill/core/browser/
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_i18n.cc51 // to calling this function. Note that the |country_code|, which determines
56 const base::string16& country_code,
60 country_code.empty() ?
98 base::string16* country_code,
103 country_code->clear();
152 *country_code = base::UTF8ToUTF16(
153 base::StringPrintf("%d", i18n_number->country_code()));
165 base::string16 country_code, unused_city_code, unused_number; local
168 if (!ParsePhoneNumber(value, region, &country_code, &unused_city_code,
174 FormatValidatedNumber(phone_number, country_code, NUL
55 FormatValidatedNumber(const PhoneNumber& number, const base::string16& country_code, base::string16* formatted_number, base::string16* normalized_number) argument
96 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
178 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 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_unittest.cc19 EXPECT_EQ("US", united_states_en.country_code());
25 EXPECT_EQ("US", united_states_es.country_code());
29 EXPECT_EQ("CA", canada_en.country_code());
35 EXPECT_EQ("CA", canada_hu.country_code());
H A Dphone_number_i18n_unittest.cc56 std::string country_code; member in struct:autofill::test_case
127 base::string16 country_code, city_code, number; local
133 &country_code,
140 EXPECT_EQ(ASCIIToUTF16(test_cases[i].country_code), country_code); local
H A Dautofill_country.cc42 char country_code[3]; member in struct:autofill::__anon6305::StaticCountryData
788 static const Iterator Find(const std::string& country_code);
808 country_data_.insert(std::make_pair(static_data.country_code,
817 std::string country_code = *country_pointer; local
818 if (!country_data_.count(country_code)) {
823 country_data_.insert(std::make_pair(country_code, data));
837 const std::string& country_code) {
838 return GetInstance()->country_data_.find(country_code);
909 const std::string& country_code = it->first; local
910 common_names_.insert(std::make_pair(country_code, country_cod
836 Find( const std::string& country_code) argument
966 const std::string& country_code = it->first; local
1051 AutofillCountry(const std::string& country_code, const std::string& locale) argument
1092 std::string country_code = icu::Locale(likely_locale.c_str()).getCountry(); local
1107 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 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();
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
H A Dphonenumber.cc26 first_number.country_code() != second_number.country_code()) {
H A Dphonenumberutil.cc691 int country_calling_code = it->country_code();
835 // Create an IntRegionsPair with the country_code passed in, and use it to
836 // locate the pair with the same country_code in the sorted vector.
883 int country_calling_code = number.country_code();
924 int country_calling_code = number.country_code();
982 int country_calling_code = number.country_code();
1030 int country_calling_code = number.country_code();
1123 int country_code = number.country_code(); local
1126 if (!HasValidCountryCallingCode(country_code)) {
1356 int country_code = number.country_code(); local
1898 int country_code = temp_number.country_code(); local
2012 int country_code = number.country_code(); local
2086 int country_code = number.country_code(); local
[all...]
/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/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
H A Dspellcheck_common.h60 std::string* country_code);
/external/chromium_org/components/search_engines/
H A Dtemplate_url_prepopulate_data.h33 // This must be called early only once. |country_code| is the country code at
35 void InitCountryCode(const std::string& country_code);
/external/chromium_org/chrome/browser/spellchecker/
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/third_party/libphonenumber/src/phonenumbers/geocoding/
H A Darea_code_map.cc51 safe_strto64(SimpleItoa(number.country_code()) + national_number,
/external/chromium_org/chrome/browser/ui/webui/options/
H A Dautofill_options_handler.cc63 // input an address for |country_code| when UI BCP 47 language code is
67 void GetAddressComponents(const std::string& country_code, argument
78 country_code,
161 countries.front()->country_code());
171 countries[i] ? countries[i]->country_code() : "separator");
178 GetAddressComponents(countries.front()->country_code(),
223 // Pulls the phone number |index|, |phone_number_list|, and |country_code| from
228 std::string* country_code) {
243 if (!args->GetString(2, country_code)) {
254 const std::string& country_code,
225 ExtractPhoneNumberInformation(const base::ListValue* args, size_t* index, const base::ListValue** phone_number_list, std::string* country_code) argument
253 RemoveDuplicatePhoneNumberAtIndex(size_t index, const std::string& country_code, base::ListValue* list) argument
284 std::string country_code; local
509 std::string country_code; local
[all...]
/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,

Completed in 537 milliseconds

1234