Home
last modified time | relevance | path

Searched refs:national_number_pattern (Results 1 – 6 of 6) sorted by relevance

/third_party/libphonenumber/cpp/src/phonenumbers/
Dregex_based_matcher.cc42 const string& national_number_pattern = number_desc.national_number_pattern(); in MatchNationalNumber() local
45 if (national_number_pattern.empty()) { in MatchNationalNumber()
48 return Match(number, national_number_pattern, allow_prefix_match); in MatchNationalNumber()
Dphonenumber.cc73 first_number_desc.national_number_pattern() != in ExactlySameAs()
74 second_number_desc.national_number_pattern()) { in ExactlySameAs()
Dphonemetadata.pb.h492 const std::string& national_number_pattern() const;
499 void set_allocated_national_number_pattern(std::string* national_number_pattern);
1854 inline const std::string& PhoneNumberDesc::national_number_pattern() const { in national_number_pattern() function
1905 …void PhoneNumberDesc::set_allocated_national_number_pattern(std::string* national_number_pattern) { in set_allocated_national_number_pattern() argument
1906 if (national_number_pattern != nullptr) { in set_allocated_national_number_pattern()
1911 …located(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), national_number_pattern, in set_allocated_national_number_pattern()
/third_party/libphonenumber/cpp/test/phonenumbers/
Dmatcher_test.cc35 str += desc.national_number_pattern(); in ToString()
109 const string& national_number_pattern) const { in CreateDesc()
111 if (!national_number_pattern.empty()) { in CreateDesc()
112 desc.set_national_number_pattern(national_number_pattern); in CreateDesc()
Dphonenumberutil_test.cc276 metadata->general_desc().national_number_pattern()); in TEST_F()
278 metadata->fixed_line().national_number_pattern()); in TEST_F()
284 EXPECT_EQ("900\\d{7}", metadata->premium_rate().national_number_pattern()); in TEST_F()
309 metadata->fixed_line().national_number_pattern()); in TEST_F()
313 metadata->premium_rate().national_number_pattern()); in TEST_F()
/third_party/libphonenumber/resources/
Dphonemetadata.proto99 // The national_number_pattern is the pattern that a valid national
102 optional string national_number_pattern = 2; field