Home
last modified time | relevance | path

Searched refs:international_prefix (Results 1 – 5 of 5) sorted by relevance

/third_party/libphonenumber/cpp/src/phonenumbers/
Dasyoutypeformatter.cc648 const RegExp& international_prefix = regexp_cache_.GetRegExp( in AttemptToExtractIdd() local
650 current_metadata_->international_prefix())); in AttemptToExtractIdd()
652 if (international_prefix.Consume(consumed_input.get())) { in AttemptToExtractIdd()
Dphonenumberutil.cc1397 const string& international_prefix = in FormatOutOfCountryCallingNumber() local
1398 metadata_calling_from->international_prefix(); in FormatOutOfCountryCallingNumber()
1409 international_prefix)) { in FormatOutOfCountryCallingNumber()
1410 international_prefix_for_formatting = international_prefix; in FormatOutOfCountryCallingNumber()
1663 const string& international_prefix = metadata->international_prefix(); in FormatOutOfCountryKeepingAlphaChars() local
1665 reg_exps_->single_international_prefix_->FullMatch(international_prefix) in FormatOutOfCountryKeepingAlphaChars()
1666 ? international_prefix in FormatOutOfCountryKeepingAlphaChars()
2993 ? default_region_metadata->international_prefix() in MaybeExtractCountryCode()
Dphonemetadata.pb.h743 const std::string& international_prefix() const;
750 void set_allocated_international_prefix(std::string* international_prefix);
3613 inline const std::string& PhoneMetadata::international_prefix() const { in international_prefix() function
3664 inline void PhoneMetadata::set_allocated_international_prefix(std::string* international_prefix) { in set_allocated_international_prefix() argument
3665 if (international_prefix != nullptr) { in set_allocated_international_prefix()
3670 …tAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), international_prefix, in set_allocated_international_prefix()
/third_party/libphonenumber/cpp/test/phonenumbers/
Dphonenumberutil_test.cc269 EXPECT_EQ("011", metadata->international_prefix()); in TEST_F()
294 EXPECT_EQ("00", metadata->international_prefix()); in TEST_F()
320 EXPECT_EQ("00", metadata->international_prefix()); in TEST_F()
2948 string international_prefix("00[39]"); in TEST_F() local
2953 MaybeStripInternationalPrefixAndNormalize(international_prefix, in TEST_F()
2961 MaybeStripInternationalPrefixAndNormalize(international_prefix, in TEST_F()
2966 MaybeStripInternationalPrefixAndNormalize(international_prefix, in TEST_F()
2974 MaybeStripInternationalPrefixAndNormalize(international_prefix, in TEST_F()
2981 MaybeStripInternationalPrefixAndNormalize(international_prefix, in TEST_F()
2988 MaybeStripInternationalPrefixAndNormalize(international_prefix, in TEST_F()
[all …]
/third_party/libphonenumber/resources/
Dphonemetadata.proto177 // The international_prefix of country A is the number that needs to be
182 optional string international_prefix = 11; field