Home
last modified time | relevance | path

Searched refs:city_code (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/components/autofill/core/browser/
Dphone_number_i18n_unittest.cc48 base::string16 city_code; in TEST() local
56 &city_code, in TEST()
60 EXPECT_EQ(base::string16(), city_code); in TEST()
67 &city_code, in TEST()
71 EXPECT_EQ(base::string16(), city_code); in TEST()
79 &city_code, in TEST()
83 EXPECT_EQ(base::string16(), city_code); in TEST()
90 &city_code, in TEST()
94 EXPECT_EQ(base::string16(), city_code); in TEST()
102 &city_code, in TEST()
[all …]
Dphone_number_i18n.h37 base::string16* city_code,
55 const base::string16& city_code,
79 const base::string16& city_code() const { return city_code_; } in city_code() function
Dphone_number_i18n.cc87 base::string16* city_code, in ParsePhoneNumber() argument
91 city_code->clear(); in ParsePhoneNumber()
132 *city_code = UTF8ToUTF16(area_code); in ParsePhoneNumber()
171 const base::string16& city_code, in ConstructPhoneNumber() argument
182 if (!ParsePhoneNumber(country_code + city_code + number, region, in ConstructPhoneNumber()
Dphone_number.cc120 return cached_parsed_phone_.city_code(); in GetInfo()
127 cached_parsed_phone_.city_code() + cached_parsed_phone_.number(); in GetInfo()
/external/chromium/chrome/browser/autofill/
Dphone_number_unittest.cc13 string16 city_code; in TEST() local
18 PhoneNumber::ParsePhoneNumber(phone0, &number, &city_code, &country_code); in TEST()
20 EXPECT_EQ(string16(), city_code); in TEST()
25 PhoneNumber::ParsePhoneNumber(phone1, &number, &city_code, &country_code); in TEST()
27 EXPECT_EQ(string16(), city_code); in TEST()
32 PhoneNumber::ParsePhoneNumber(phone2, &number, &city_code, &country_code); in TEST()
34 EXPECT_EQ(string16(), city_code); in TEST()
41 &number, &city_code, &country_code); in TEST()
43 EXPECT_EQ(string16(), city_code); in TEST()
49 PhoneNumber::ParsePhoneNumber(phone3, &number, &city_code, &country_code); in TEST()
[all …]
Dphone_number.cc82 if (!city_code().empty()) in GetAvailableFieldTypes()
100 return city_code(); in GetInfo()
137 string16* city_code, in ParsePhoneNumber() argument
140 DCHECK(city_code); in ParsePhoneNumber()
147 *city_code = string16(); in ParsePhoneNumber()
164 *city_code = working.substr(working.size() - kPhoneCityCodeLength, 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()
199 set_city_code(city_code); in set_whole_number()
Dphone_number.h39 string16* city_code,
60 const string16& city_code() const { return city_code_; } in city_code() function
71 void set_city_code(const string16& city_code) { city_code_ = city_code; } in set_city_code() argument
Dpersonal_data_manager_mac.mm193 string16 city_code;
206 homePhone, &number, &city_code, &country_code);
208 profile->SetInfo(PHONE_HOME_CITY_CODE, city_code);
215 &number, &city_code, &country_code);
217 profile->SetInfo(PHONE_FAX_CITY_CODE, city_code);
224 &number, &city_code, &country_code);
226 profile->SetInfo(PHONE_HOME_CITY_CODE, city_code);
233 &number, &city_code, &country_code);
235 profile->SetInfo(PHONE_FAX_CITY_CODE, city_code);
Dpersonal_data_manager.cc262 string16 city_code; in ImportFormData()
266 &city_code, in ImportFormData()
273 imported_profile->SetInfo(PHONE_HOME_CITY_CODE, city_code); in ImportFormData()
277 imported_profile->SetInfo(PHONE_FAX_CITY_CODE, city_code); in ImportFormData()