/external/protobuf/examples/ |
H A D | 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
|
H A D | 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);
|
H A D | 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
|
H A D | 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/ |
H A D | phone_number_unittest.cc | 10 #include "components/autofill/core/browser/phone_number.h" 23 PhoneNumber phone_number(&profile); 24 phone_number.SetInfo(AutofillType(PHONE_HOME_WHOLE_NUMBER), phone, "US"); 27 phone_number.GetMatchingTypes(base::string16(), "US", &matching_types); 31 phone_number.GetMatchingTypes(ASCIIToUTF16("1"), "US", &matching_types); 36 phone_number.GetMatchingTypes(ASCIIToUTF16("16"), "US", &matching_types); 38 phone_number.GetMatchingTypes(ASCIIToUTF16("165"), "US", &matching_types); 40 phone_number.GetMatchingTypes(ASCIIToUTF16("1650"), "US", &matching_types); 42 phone_number.GetMatchingTypes(ASCIIToUTF16("16502"), "US", &matching_types); 44 phone_number [all...] |
H A D | phone_number_i18n.cc | 31 // Returns true if |phone_number| is valid. 32 bool IsValidPhoneNumber(const PhoneNumber& phone_number) { argument 34 if (!phone_util->IsPossibleNumber(phone_number)) 41 if (!phone_util->IsValidNumber(phone_number)) 167 PhoneNumber phone_number; local 169 &unused_number, &unused_region, &phone_number)) { 174 FormatValidatedNumber(phone_number, country_code, NULL, &normalized_number); 188 PhoneNumber phone_number; local 191 &unused_region, &phone_number)) { 195 FormatValidatedNumber(phone_number, country_cod [all...] |
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/ |
H A D | asyoutypeformatter.cc | 353 string* phone_number) { 354 DCHECK(phone_number); 380 phone_number->clear(); 381 accrued_input_.toUTF8String(*phone_number); 384 AttemptToChoosePatternWithPrefixExtracted(phone_number); 393 AttemptToChoosePatternWithPrefixExtracted(phone_number); 396 phone_number->clear(); 397 accrued_input_.toUTF8String(*phone_number); 408 phone_number->clear(); 409 accrued_input_.toUTF8String(*phone_number); 350 InputDigitWithOptionToRememberPosition( char32 next_char, bool remember_position, string* phone_number) argument [all...] |
H A D | asyoutypeformatter.h | 114 string* phone_number); 131 // The result will be stored in phone_number. 133 string* phone_number) const;
|
H A D | phonenumbermatcher.cc | 119 const PhoneNumber& phone_number, 142 util.GetRegionCodeForCountryCode(phone_number.country_code(), ®ion); 155 phone_number, &national_significant_number); 166 .find(phone_number.extension()) != string::npos; 658 const PhoneNumber& phone_number, 668 GetNationalNumberGroups(phone_number, NULL, // Use default formatting pattern 670 if (checker->Run(phone_util_, phone_number, normalized_candidate, 678 phone_number.country_code()); 684 GetNationalNumberGroups(phone_number, &*it, &formatted_number_groups); 685 if (checker->Run(phone_util_, phone_number, normalized_candidat 117 AllNumberGroupsRemainGrouped( const PhoneNumberUtil& util, const PhoneNumber& phone_number, const string& normalized_candidate, const vector<string>& formatted_number_groups) argument 657 CheckNumberGroupingIsValid( const PhoneNumber& phone_number, const string& candidate, ResultCallback4<bool, const PhoneNumberUtil&, const PhoneNumber&, const string&, const vector<string>&>* checker) const argument 777 AllNumberGroupsAreExactlyPresent( const PhoneNumberUtil& util, const PhoneNumber& phone_number, const string& normalized_candidate, const vector<string>& formatted_number_groups) const argument [all...] |
H A D | phonenumbermatcher.h | 133 const PhoneNumber& phone_number, 145 const PhoneNumber& phone_number,
|
H A D | phonenumberutil.h | 670 bool IsNumberGeographical(const PhoneNumber& phone_number) const; 774 PhoneNumber* phone_number) const; 784 PhoneNumber* phone_number) const;
|
H A D | phonenumberutil.cc | 1846 PhoneNumber* phone_number) const { 1847 DCHECK(phone_number); 1940 phone_number->MergeFrom(temp_number); 2115 const PhoneNumber& phone_number) const { 2116 PhoneNumberType number_type = GetNumberType(phone_number); 2514 // calling code is populated, and the country_code of the phone_number passed 2520 PhoneNumber* phone_number) const { 2522 DCHECK(phone_number); 2532 phone_number->set_country_code_source(country_code_source); 2542 phone_number [all...] |
/external/chromium_org/components/autofill/content/browser/wallet/ |
H A D | wallet_address.cc | 15 #include "components/autofill/core/browser/phone_number.h" 56 base::string16 phone_number; local 57 if (!dictionary.GetString("phone_number", &phone_number)) 104 phone_number, 149 const base::string16& phone_number, 160 phone_number_(phone_number), 161 phone_object_(phone_number, country_name_code), 242 base::string16 phone_number; local 243 if (!dictionary.GetString("phone_number", 141 Address(const std::string& country_name_code, const base::string16& recipient_name, const std::vector<base::string16>& street_address, const base::string16& locality_name, const base::string16& dependent_locality_name, const base::string16& administrative_area_name, const base::string16& postal_code_number, const base::string16& sorting_code, const base::string16& phone_number, const std::string& object_id, const std::string& language_code) argument 385 SetPhoneNumber(const base::string16& phone_number) argument [all...] |
H A D | wallet_address.h | 54 const base::string16& phone_number, 116 const base::string16& phone_number() const { return phone_number_; } function in class:autofill::wallet::Address 149 void SetPhoneNumber(const base::string16& phone_number);
|
H A D | wallet_client.cc | 388 instrument->address()->phone_number()); 405 instrument->address()->phone_number());
|
/external/chromium_org/chrome/browser/ui/autofill/ |
H A D | data_model_wrapper.cc | 138 const base::string16& phone_number = values[GetVariantForType(type)]; local 142 if (base::ContainsOnlyChars(phone_number, 146 i18n::PhoneObject phone(phone_number, region); 153 return phone_number;
|
/external/chromium_org/chrome/browser/ui/android/autofill/ |
H A D | autofill_dialog_result.cc | 64 const base::string16 phone_number = local 81 phone_number,
|
/external/chromium_org/components/ |
H A D | autofill_core_browser.target.darwin-arm.mk | 66 components/autofill/core/browser/phone_number.cc \
|
H A D | autofill_core_browser.target.darwin-arm64.mk | 66 components/autofill/core/browser/phone_number.cc \
|
H A D | autofill_core_browser.target.darwin-mips.mk | 66 components/autofill/core/browser/phone_number.cc \
|
H A D | autofill_core_browser.target.darwin-mips64.mk | 66 components/autofill/core/browser/phone_number.cc \
|
H A D | autofill_core_browser.target.darwin-x86.mk | 66 components/autofill/core/browser/phone_number.cc \
|
H A D | autofill_core_browser.target.darwin-x86_64.mk | 66 components/autofill/core/browser/phone_number.cc \
|
H A D | autofill_core_browser.target.linux-arm.mk | 66 components/autofill/core/browser/phone_number.cc \
|
H A D | autofill_core_browser.target.linux-arm64.mk | 66 components/autofill/core/browser/phone_number.cc \
|