Home
last modified time | relevance | path

Searched refs:national_number (Results 1 – 16 of 16) sorted by relevance

/third_party/libphonenumber/cpp/src/phonenumbers/
Dphonenumberutil.cc194 SimpleItoa(static_cast<uint64>(first_number.national_number())); in IsNationalNumberSuffixOfTheOther()
196 SimpleItoa(static_cast<uint64>(second_number.national_number())); in IsNationalNumberSuffixOfTheOther()
495 pruned_number->set_national_number(number.national_number()); in CopyCoreFieldsOnly()
1090 if (number.national_number() == 0) { in Format()
1297 string national_number; in FormatNumberForMobileDialing() local
1298 GetNationalSignificantNumber(number_no_extension, &national_number); in FormatNumberForMobileDialing()
1300 TestNumberLength(national_number, *region_metadata) != TOO_SHORT) { in FormatNumberForMobileDialing()
1486 string national_number; in FormatInOriginalFormat() local
1487 GetNationalSignificantNumber(number, &national_number); in FormatInOriginalFormat()
1492 national_number); in FormatInOriginalFormat()
[all …]
Dshortnumberinfo.cc272 string national_number; in GetRegionCodeForShortNumberFromRegionList() local
273 phone_util_.GetNationalSignificantNumber(number, &national_number); in GetRegionCodeForShortNumberFromRegionList()
277 MatchesPossibleNumberAndNationalNumber(*matcher_api_, national_number, in GetRegionCodeForShortNumberFromRegionList()
369 string national_number; in IsCarrierSpecific() local
370 phone_util_.GetNationalSignificantNumber(number, &national_number); in IsCarrierSpecific()
373 MatchesPossibleNumberAndNationalNumber(*matcher_api_, national_number, in IsCarrierSpecific()
382 string national_number; in IsCarrierSpecificForRegion() local
383 phone_util_.GetNationalSignificantNumber(number, &national_number); in IsCarrierSpecificForRegion()
387 MatchesPossibleNumberAndNationalNumber(*matcher_api_, national_number, in IsCarrierSpecificForRegion()
396 string national_number; in IsSmsServiceForRegion() local
[all …]
Dphonenumberutil.h754 bool IsNumberMatchingDesc(const string& national_number,
758 const string& national_number, const PhoneMetadata& metadata) const;
831 const string& national_number, PhoneNumber* phone_number) const;
871 const string& national_number) const;
874 const string& national_number,
881 const string& national_number,
941 int ExtractCountryCode(string* national_number) const;
945 string* national_number,
959 string* national_number) const;
Dphonenumber.cc31 first_number.national_number() != second_number.national_number()) { in ExactlySameAs()
Dasyoutypeformatter.h133 void AppendNationalNumber(const string& national_number,
Dasyoutypeformatter.cc526 void AsYouTypeFormatter::AppendNationalNumber(const string& national_number, in AppendNationalNumber() argument
541 StrAppend(phone_number, national_number); in AppendNationalNumber()
544 StrCat(prefix_before_national_number_, national_number)); in AppendNationalNumber()
Dphonenumbermatcher.cc794 string national_number; in IsNationalPrefixPresentIfRequired() local
795 phone_util_.GetNationalSignificantNumber(number, &national_number); in IsNationalPrefixPresentIfRequired()
798 national_number); in IsNationalPrefixPresentIfRequired()
Dphonenumber.pb.h304 ::PROTOBUF_NAMESPACE_ID::uint64 national_number() const;
439 inline ::PROTOBUF_NAMESPACE_ID::uint64 PhoneNumber::national_number() const { in national_number() function
/third_party/libphonenumber/cpp/src/phonenumbers/geocoding/
Darea_code_map.cc48 string national_number; in Lookup() local
49 phone_util_.GetNationalSignificantNumber(number, &national_number); in Lookup()
51 safe_strto64(SimpleItoa(number.country_code()) + national_number, in Lookup()
/third_party/libphonenumber/cpp/test/phonenumbers/
Dshortnumberinfo_test.cc136 uint64 national_number; in TEST_F() local
146 safe_strtou64(premium_rate_example, &national_number); in TEST_F()
147 premium_rate_number.set_national_number(national_number); in TEST_F()
160 safe_strtou64(standard_rate_example, &national_number); in TEST_F()
161 standard_rate_number.set_national_number(national_number); in TEST_F()
174 safe_strtou64(toll_free_example, &national_number); in TEST_F()
175 toll_free_number.set_national_number(national_number); in TEST_F()
Dtest_util.cc29 << "national_number: " << number.national_number() << std::endl; in operator <<()
Dphonenumberutil_test.cc102 string* national_number, in MaybeExtractCountryCode() argument
106 national_number, in MaybeExtractCountryCode()
467 EXPECT_NE(0u, test_number.national_number()); in TEST_F()
/third_party/libphonenumber/cpp/test/phonenumbers/geocoding/
Darea_code_map_test.cc119 PhoneNumber MakePhoneNumber(int32 country_code, uint64 national_number) { in MakePhoneNumber() argument
122 number.set_national_number(national_number); in MakePhoneNumber()
Dphonenumber_offline_geocoder_test.cc33 PhoneNumber MakeNumber(int32 country_code, uint64 national_number) { in MakeNumber() argument
36 n.set_national_number(national_number); in MakeNumber()
/third_party/libphonenumber/resources/
Dphonenumber.proto47 required uint64 national_number = 2; field
136 // national_number: 6502530000
140 // national_number: 142685300
144 // national_number: 1062503000
148 // national_number: 236618300
/third_party/libphonenumber/
DREADME.md138 "national_number": 446681800