Home
last modified time | relevance | path

Searched refs:country_code_source (Results 1 - 6 of 6) sorted by relevance

/third_party/libphonenumber/cpp/src/phonenumbers/
H A Dphonenumber.cc56 first_number.country_code_source() != in ExactlySameAs()
57 second_number.country_code_source()) { in ExactlySameAs()
H A Dphonenumbermatcher.cc127 if (number.country_code_source() != PhoneNumber::FROM_DEFAULT_COUNTRY) { in AllNumberGroupsRemainGrouped()
791 if (number.country_code_source() != PhoneNumber::FROM_DEFAULT_COUNTRY) { in IsNationalPrefixPresentIfRequired()
903 if (number.country_code_source() == PhoneNumber::FROM_NUMBER_WITH_PLUS_SIGN || in ContainsMoreThanOneSlashInNationalNumber()
904 number.country_code_source() == in ContainsMoreThanOneSlashInNationalNumber()
H A Dphonenumber.pb.h337 // optional .i18n.phonenumbers.PhoneNumber.CountryCodeSource country_code_source = 6;
343 ::i18n::phonenumbers::PhoneNumber_CountryCodeSource country_code_source() const;
656 // optional .i18n.phonenumbers.PhoneNumber.CountryCodeSource country_code_source = 6;
671 inline ::i18n::phonenumbers::PhoneNumber_CountryCodeSource PhoneNumber::country_code_source() const { in country_code_source() function in i18n::phonenumbers::PhoneNumber
672 // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneNumber.country_code_source) in country_code_source()
682 // @@protoc_insertion_point(field_set:i18n.phonenumbers.PhoneNumber.country_code_source) in set_country_code_source()
H A Dphonenumberutil.cc1477 switch (number.country_code_source()) { in FormatInOriginalFormat()
3026 PhoneNumber::CountryCodeSource country_code_source = in MaybeExtractCountryCode() local
3030 phone_number->set_country_code_source(country_code_source); in MaybeExtractCountryCode()
3032 if (country_code_source != PhoneNumber::FROM_DEFAULT_COUNTRY) { in MaybeExtractCountryCode()
/third_party/libphonenumber/cpp/test/phonenumbers/
H A Dtest_util.cc40 os << "country_code_source: " << number.country_code_source() << std::endl; in operator <<()
H A Dphonenumberutil_test.cc3125 EXPECT_EQ(PhoneNumber::FROM_NUMBER_WITH_IDD, number.country_code_source()); in TEST_F()
3136 number.country_code_source()); in TEST_F()
3147 number.country_code_source()); in TEST_F()
3157 EXPECT_EQ(PhoneNumber::FROM_DEFAULT_COUNTRY, number.country_code_source()); in TEST_F()
3174 number.country_code_source()); in TEST_F()
3208 EXPECT_EQ(PhoneNumber::FROM_DEFAULT_COUNTRY, number.country_code_source()); in TEST_F()
3382 // Check raw_input, country_code_source and preferred_domestic_carrier_code in TEST_F()
3574 EXPECT_EQ(PhoneNumber::UNSPECIFIED, nz_number.country_code_source()); in TEST_F()

Completed in 14 milliseconds