Searched refs:national_prefix (Results 1 – 7 of 7) sorted by relevance
/third_party/libphonenumber/cpp/src/phonenumbers/ |
D | phonenumberutil.cc | 1031 string* national_prefix) const { in GetNddPrefixForRegion() 1032 DCHECK(national_prefix); in GetNddPrefixForRegion() 1039 national_prefix->assign(metadata->national_prefix()); in GetNddPrefixForRegion() 1043 strrmm(national_prefix, "~"); in GetNddPrefixForRegion() 1174 const string& national_prefix = metadata->national_prefix(); in FormatByPattern() local 1175 if (!national_prefix.empty()) { in FormatByPattern() 1177 GlobalReplaceSubstring("$NP", national_prefix, in FormatByPattern() 1465 string national_prefix; in FormatInOriginalFormat() local 1467 &national_prefix); in FormatInOriginalFormat() 1468 if (national_prefix.empty()) { in FormatInOriginalFormat() [all …]
|
D | asyoutypeformatter.h | 150 void RemoveNationalPrefixFromNationalNumber(string* national_prefix);
|
D | phonenumberutil.h | 508 string* national_prefix) const; 890 const string& national_prefix,
|
D | asyoutypeformatter.cc | 608 string* national_prefix) { in RemoveNationalPrefixFromNationalNumber() argument 638 national_prefix->assign(national_number_, 0, start_of_national_number); in RemoveNationalPrefixFromNationalNumber()
|
D | phonemetadata.pb.h | 763 const std::string& national_prefix() const; 770 void set_allocated_national_prefix(std::string* national_prefix); 3761 inline const std::string& PhoneMetadata::national_prefix() const { in national_prefix() function 3812 inline void PhoneMetadata::set_allocated_national_prefix(std::string* national_prefix) { in set_allocated_national_prefix() argument 3813 if (national_prefix != nullptr) { in set_allocated_national_prefix() 3818 …x_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), national_prefix, in set_allocated_national_prefix()
|
/third_party/libphonenumber/resources/ |
D | phonemetadata.proto | 198 optional string national_prefix = 12; field 217 // national_prefix, if that is present.
|
/third_party/libphonenumber/cpp/test/phonenumbers/ |
D | phonenumberutil_test.cc | 295 EXPECT_EQ("0", metadata->national_prefix()); in TEST_F() 321 EXPECT_EQ("0", metadata->national_prefix()); in TEST_F()
|