/external/chromium/chrome/browser/autofill/ |
phone_number_unittest.cc | 7 #include "chrome/browser/autofill/phone_number.h" 100 HomePhoneNumber phone_number; local 101 phone_number.set_whole_number(phone); 103 EXPECT_FALSE(phone_number.IsCountryCode(ASCIIToUTF16(""))); 104 EXPECT_FALSE(phone_number.IsCountryCode(ASCIIToUTF16("1"))); 105 EXPECT_TRUE(phone_number.IsCountryCode(ASCIIToUTF16("12"))); 106 EXPECT_FALSE(phone_number.IsCountryCode(ASCIIToUTF16("123"))); 108 EXPECT_FALSE(phone_number.IsCityCode(ASCIIToUTF16(""))); 109 EXPECT_FALSE(phone_number.IsCityCode(ASCIIToUTF16("1"))); 110 EXPECT_FALSE(phone_number.IsCityCode(ASCIIToUTF16("12"))) [all...] |
/external/protobuf/examples/ |
list_people.cc | 21 const tutorial::Person::PhoneNumber& phone_number = person.phone(j); local 23 switch (phone_number.type()) { 34 cout << phone_number.number() << endl;
|
add_person.cc | 35 tutorial::Person::PhoneNumber* phone_number = person->add_phone(); local 36 phone_number->set_number(number); 42 phone_number->set_type(tutorial::Person::MOBILE); 44 phone_number->set_type(tutorial::Person::HOME); 46 phone_number->set_type(tutorial::Person::WORK);
|
/external/chromium_org/chrome/browser/ui/android/autofill/ |
autofill_dialog_result.cc | 58 const base::string16 phone_number = local 72 phone_number,
|
/external/chromium_org/components/autofill/content/browser/wallet/ |
wallet_address.h | 53 const base::string16& phone_number, 113 const base::string16& phone_number() const { return phone_number_; } function in class:autofill::wallet::Address 141 void SetPhoneNumber(const base::string16& phone_number);
|
wallet_address.cc | 14 #include "components/autofill/core/browser/phone_number.h" 48 base::string16 phone_number; local 49 if (!dictionary.GetString("phone_number", &phone_number)) 83 phone_number, 125 const base::string16& phone_number, 134 phone_number_(phone_number), 135 phone_object_(phone_number, country_name_code), 197 base::string16 phone_number; local 198 if (!dictionary.GetString("phone_number", &phone_number) [all...] |
/external/chromium_org/components/autofill/core/browser/ |
phone_number_i18n.cc | 31 // Returns true if |phone_number| is valid. 32 bool IsValidPhoneNumber(const PhoneNumber& phone_number) { 34 if (!phone_util->IsPossibleNumber(phone_number)) 41 if (!phone_util->IsValidNumber(phone_number)) 159 PhoneNumber phone_number; local 161 &unused_number, &phone_number)) { 166 FormatValidatedNumber(phone_number, country_code, NULL, &normalized_number); 181 PhoneNumber phone_number; local 184 &phone_number)) { 188 FormatValidatedNumber(phone_number, country_code, whole_number, NULL) [all...] |
/external/chromium_org/chrome/browser/ui/autofill/ |
data_model_wrapper.cc | 148 const base::string16& phone_number = values[GetVariantForType(type)]; local 152 if (ContainsOnlyChars(phone_number, ASCIIToUTF16("0123456789"))) { 155 i18n::PhoneObject phone(phone_number, region); 159 return phone_number;
|