Home
last modified time | relevance | path

Searched refs:national_prefix (Results 1 – 7 of 7) sorted by relevance

/third_party/libphonenumber/cpp/src/phonenumbers/
Dphonenumberutil.cc1031 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 …]
Dasyoutypeformatter.h150 void RemoveNationalPrefixFromNationalNumber(string* national_prefix);
Dphonenumberutil.h508 string* national_prefix) const;
890 const string& national_prefix,
Dasyoutypeformatter.cc608 string* national_prefix) { in RemoveNationalPrefixFromNationalNumber() argument
638 national_prefix->assign(national_number_, 0, start_of_national_number); in RemoveNationalPrefixFromNationalNumber()
Dphonemetadata.pb.h763 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/
Dphonemetadata.proto198 optional string national_prefix = 12; field
217 // national_prefix, if that is present.
/third_party/libphonenumber/cpp/test/phonenumbers/
Dphonenumberutil_test.cc295 EXPECT_EQ("0", metadata->national_prefix()); in TEST_F()
321 EXPECT_EQ("0", metadata->national_prefix()); in TEST_F()