Searched refs:national_number_pattern (Results 1 – 6 of 6) sorted by relevance
42 const string& national_number_pattern = number_desc.national_number_pattern(); in MatchNationalNumber() local45 if (national_number_pattern.empty()) { in MatchNationalNumber()48 return Match(number, national_number_pattern, allow_prefix_match); in MatchNationalNumber()
73 first_number_desc.national_number_pattern() != in ExactlySameAs()74 second_number_desc.national_number_pattern()) { in ExactlySameAs()
492 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() function1905 …void PhoneNumberDesc::set_allocated_national_number_pattern(std::string* national_number_pattern) { in set_allocated_national_number_pattern() argument1906 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()
35 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()
276 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()
99 // The national_number_pattern is the pattern that a valid national102 optional string national_number_pattern = 2; field