Lines Matching refs:country_code
42 char country_code[3];
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;
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;
908 icu::Locale(NULL, country_code.c_str()).getISO3Country();
910 common_names_.insert(std::make_pair(country_code, country_code));
911 common_names_.insert(std::make_pair(iso3_country_code, country_code));
938 std::string country_code = GetCountryCodeForLocalizedName(country, locale);
939 if (!country_code.empty())
940 return country_code;
960 const std::string& country_code = it->first;
962 country_code, locale);
968 localized_names.insert(std::make_pair(sort_key, country_code));
1045 AutofillCountry::AutofillCountry(const std::string& country_code,
1047 const CountryDataMap::Iterator result = CountryDataMap::Find(country_code);
1051 country_code_ = country_code;
1052 name_ = l10n_util::GetDisplayNameForCountry(country_code, locale);
1086 std::string country_code = icu::Locale(likely_locale.c_str()).getCountry();
1089 if (CountryDataMap::Find(country_code) == CountryDataMap::End())
1092 return country_code;
1101 AutofillCountry::AutofillCountry(const std::string& country_code,
1105 : country_code_(country_code),