Home
last modified time | relevance | path

Searched refs:country_code (Results 1 – 19 of 19) sorted by relevance

/external/chromium/chrome/browser/autofill/
Dphone_number_unittest.cc14 string16 country_code; in TEST() local
18 PhoneNumber::ParsePhoneNumber(phone0, &number, &city_code, &country_code); in TEST()
21 EXPECT_EQ(string16(), country_code); in TEST()
25 PhoneNumber::ParsePhoneNumber(phone1, &number, &city_code, &country_code); in TEST()
28 EXPECT_EQ(string16(), country_code); in TEST()
32 PhoneNumber::ParsePhoneNumber(phone2, &number, &city_code, &country_code); in TEST()
35 EXPECT_EQ(string16(), country_code); in TEST()
41 &number, &city_code, &country_code); in TEST()
44 EXPECT_EQ(string16(), country_code); in TEST()
49 PhoneNumber::ParsePhoneNumber(phone3, &number, &city_code, &country_code); in TEST()
[all …]
Daddress_unittest.cc16 EXPECT_EQ(std::string(), address.country_code()); in TEST()
19 EXPECT_EQ("US", address.country_code()); in TEST()
22 EXPECT_EQ("CA", address.country_code()); in TEST()
28 EXPECT_EQ(std::string(), address.country_code()); in TEST()
46 EXPECT_EQ(std::string(), address.country_code()); in TEST()
51 EXPECT_EQ("US", address.country_code()); in TEST()
57 EXPECT_EQ("US", address.country_code()); in TEST()
63 EXPECT_EQ("CA", address.country_code()); in TEST()
69 EXPECT_EQ("JP", address.country_code()); in TEST()
75 EXPECT_EQ(std::string(), address.country_code()); in TEST()
[all …]
Dautofill_country.cc34 std::string country_code; member
297 static const Iterator Find(const std::string& country_code);
317 country_data_.insert(std::make_pair(data.country_code, data)); in CountryDataMap()
325 std::string country_code = *country_pointer; in CountryDataMap() local
326 if (!country_data_.count(country_code)) { in CountryDataMap()
328 country_code, in CountryDataMap()
332 country_data_.insert(std::make_pair(country_code, data)); in CountryDataMap()
346 const std::string& country_code) { in Find() argument
347 return GetInstance()->country_data_.find(country_code); in Find()
418 const std::string& country_code = it->first; in CountryNames() local
[all …]
Dphone_number.cc85 if (!country_code().empty()) in GetAvailableFieldTypes()
103 return country_code(); in GetInfo()
138 string16* country_code) { in ParsePhoneNumber() argument
141 DCHECK(country_code); in ParsePhoneNumber()
148 *country_code = string16(); in ParsePhoneNumber()
171 *country_code = working; in ParsePhoneNumber()
196 string16 number, city_code, country_code; in set_whole_number() local
197 ParsePhoneNumber(whole_number, &number, &city_code, &country_code); in set_whole_number()
200 set_country_code(country_code); in set_whole_number()
Dautofill_country_unittest.cc15 EXPECT_EQ("US", united_states_en.country_code()); in TEST()
21 EXPECT_EQ("US", united_states_es.country_code()); in TEST()
25 EXPECT_EQ("CA", canada_en.country_code()); in TEST()
31 EXPECT_EQ("CA", canada_hu.country_code()); in TEST()
Dphone_number.h40 string16* country_code);
59 const string16& country_code() const { return country_code_; } in country_code() function
68 void set_country_code(const string16& country_code) { in set_country_code() argument
69 country_code_ = country_code; in set_country_code()
Dautofill_country.h21 AutofillCountry(const std::string& country_code, const std::string& locale);
41 const std::string country_code() const { return country_code_; } in country_code() function
47 AutofillCountry(const std::string& country_code,
Daddress.h33 const std::string& country_code() const { return country_code_; } in country_code() function
34 void set_country_code(const std::string& country_code) { in set_country_code() argument
35 country_code_ = country_code; in set_country_code()
Daddress.cc158 if (country_code().empty()) in Country()
162 return AutofillCountry(country_code(), app_locale).name(); in Country()
206 std::string country_code = AutofillCountry::GetCountryCode(text, app_locale); in IsCountry() local
207 return (!country_code.empty() && country_code_ == country_code); in IsCountry()
Dpersonal_data_manager_mac.mm194 string16 country_code;
206 homePhone, &number, &city_code, &country_code);
209 profile->SetInfo(PHONE_HOME_COUNTRY_CODE, country_code);
215 &number, &city_code, &country_code);
218 profile->SetInfo(PHONE_FAX_COUNTRY_CODE, country_code);
224 &number, &city_code, &country_code);
227 profile->SetInfo(PHONE_HOME_COUNTRY_CODE, country_code);
233 &number, &city_code, &country_code);
236 profile->SetInfo(PHONE_FAX_COUNTRY_CODE, country_code);
Dselect_control_handler.cc163 std::string country_code = profile.CountryCode(); in FillCountrySelectControl() local
172 if (country_code == AutofillCountry::GetCountryCode(*iter, app_locale)) { in FillCountrySelectControl()
Dpersonal_data_manager.cc263 string16 country_code; in ImportFormData()
267 &country_code); in ImportFormData()
272 imported_profile->SetInfo(PHONE_HOME_COUNTRY_CODE, country_code); in ImportFormData()
276 imported_profile->SetInfo(PHONE_FAX_COUNTRY_CODE, country_code); in ImportFormData()
Dautofill_profile.h73 void SetCountryCode(const std::string& country_code);
Dautofill_profile.cc309 return address_.country_code(); in CountryCode()
312 void AutofillProfile::SetCountryCode(const std::string& country_code) { in SetCountryCode() argument
313 address_.set_country_code(country_code); in SetCountryCode()
/external/chromium/chrome/browser/ui/webui/options/
Dautofill_options_handler.cc87 country_data->Set(country.country_code(), details); in GetCountryData()
392 std::string country_code; in SetAddress() local
409 if (args->GetString(8, &country_code)) in SetAddress()
410 profile.SetCountryCode(country_code); in SetAddress()
/external/chromium/chrome/browser/webdata/
Dweb_database_migration_unittest.cc1299 std::string country_code = s.ColumnString(0); in TEST_F() local
1300 EXPECT_EQ("US", country_code); in TEST_F()
1324 std::string country_code = s.ColumnString(0); in TEST_F() local
1325 EXPECT_EQ("UK", country_code); in TEST_F()
1355 std::string country_code = s.ColumnString(0); in TEST_F() local
1356 EXPECT_EQ("GB", country_code); in TEST_F()
Dautofill_table.cc79 std::string country_code = profile.CountryCode(); in BindAutofillProfileToStatement() local
80 s->BindString(8, country_code); in BindAutofillProfileToStatement()
/external/qemu/hw/
Dbt.h1234 uint8_t country_code; member
Dbt-hci.c1251 .country_code = 0x00, /* North America & Europe^1 and Japan */ in bt_hci_read_country_code_rp()