/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/ |
add_person.py | 22 phone_number = person.phone.add() 23 phone_number.number = number 27 phone_number.type = addressbook_pb2.Person.MOBILE 29 phone_number.type = addressbook_pb2.Person.HOME 31 phone_number.type = addressbook_pb2.Person.WORK
|
list_people.py | 16 for phone_number in person.phone: 17 if phone_number.type == addressbook_pb2.Person.MOBILE: 19 elif phone_number.type == addressbook_pb2.Person.HOME: 21 elif phone_number.type == addressbook_pb2.Person.WORK: 23 print phone_number.number
|
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);
|
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;
|
/external/chromium_org/components/autofill/core/browser/ |
phone_number_unittest.cc | 10 #include "components/autofill/core/browser/phone_number.h" 21 PhoneNumber phone_number(&profile); 22 phone_number.SetInfo(AutofillType(PHONE_HOME_WHOLE_NUMBER), phone, "US"); 25 phone_number.GetMatchingTypes(base::string16(), "US", &matching_types); 29 phone_number.GetMatchingTypes(ASCIIToUTF16("1"), "US", &matching_types); 34 phone_number.GetMatchingTypes(ASCIIToUTF16("16"), "US", &matching_types); 36 phone_number.GetMatchingTypes(ASCIIToUTF16("165"), "US", &matching_types); 38 phone_number.GetMatchingTypes(ASCIIToUTF16("1650"), "US", &matching_types); 40 phone_number.GetMatchingTypes(ASCIIToUTF16("16502"), "US", &matching_types); 42 phone_number.GetMatchingTypes(ASCIIToUTF16("165023"), "US", &matching_types) [all...] |
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/third_party/libphonenumber/src/phonenumbers/ |
asyoutypeformatter.cc | 351 string* phone_number) { 352 DCHECK(phone_number); 378 phone_number->clear(); 379 accrued_input_.toUTF8String(*phone_number); 382 AttemptToChoosePatternWithPrefixExtracted(phone_number); 391 AttemptToChoosePatternWithPrefixExtracted(phone_number); 394 phone_number->clear(); 395 accrued_input_.toUTF8String(*phone_number); 406 phone_number->clear(); 407 accrued_input_.toUTF8String(*phone_number); [all...] |
asyoutypeformatter.h | 114 string* phone_number); 131 // The result will be stored in phone_number. 133 string* phone_number) const;
|
phonenumbermatcher.h | 133 const PhoneNumber& phone_number, 145 const PhoneNumber& phone_number,
|
phonenumbermatcher.cc | 122 const PhoneNumber& phone_number, 148 phone_number, &national_significant_number); 159 .find(phone_number.extension()) != string::npos; 651 const PhoneNumber& phone_number, 661 GetNationalNumberGroups(phone_number, NULL, // Use default formatting pattern 663 if (checker->Run(phone_util_, phone_number, normalized_candidate, 671 phone_number.country_code()); 677 GetNationalNumberGroups(phone_number, &*it, &formatted_number_groups); 678 if (checker->Run(phone_util_, phone_number, normalized_candidate, 772 const PhoneNumber& phone_number, [all...] |
phonenumberutil.h | 658 bool IsNumberGeographical(const PhoneNumber& phone_number) const; [all...] |
phonenumberutil.cc | [all...] |
/external/chromium_org/components/autofill/content/browser/wallet/ |
wallet_address.cc | 47 string16 phone_number; local 48 if (!dictionary.GetString("phone_number", &phone_number)) 82 phone_number, 121 const string16& phone_number, 130 phone_number_(phone_number), 193 string16 phone_number; local 194 if (!dictionary.GetString("phone_number", &phone_number)) 209 phone_number, [all...] |
wallet_address.h | 52 const base::string16& phone_number, 108 const base::string16& phone_number() const { return phone_number_; } function in class:autofill::wallet::Address 136 void set_phone_number(const base::string16& phone_number) { 137 phone_number_ = phone_number;
|
wallet_client.cc | 445 instrument->address()->phone_number()); 456 instrument->address()->phone_number()); [all...] |
/external/chromium_org/chrome/browser/extensions/api/rtc_private/ |
rtc_private_api.cc | 69 const Contact_PhoneNumber& phone_number = contact.phone_numbers(i); local 70 StringValue* value = Value::CreateStringValue(phone_number.number()); 71 if (phone_number.primary())
|
/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/chrome/test/functional/ |
chromeos_txt_msg_functional.py | 25 def _SendText(self, mail_server, sender, phone_number, 32 phone_number: The phone number the txt message is directed to. 38 recipient = ('%s@%s' % (phone_number,
|
/external/chromium_org/components/ |
autofill_core_browser.target.darwin-arm.mk | 66 components/autofill/core/browser/phone_number.cc \
|
autofill_core_browser.target.darwin-mips.mk | 66 components/autofill/core/browser/phone_number.cc \
|
autofill_core_browser.target.darwin-x86.mk | 66 components/autofill/core/browser/phone_number.cc \
|
autofill_core_browser.target.linux-arm.mk | 66 components/autofill/core/browser/phone_number.cc \
|
autofill_core_browser.target.linux-mips.mk | 66 components/autofill/core/browser/phone_number.cc \
|
autofill_core_browser.target.linux-x86.mk | 66 components/autofill/core/browser/phone_number.cc \
|