Home
last modified time | relevance | path

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

/third_party/libphonenumber/cpp/src/phonenumbers/
Dphonenumber.cc23 bool ExactlySameAs(const PhoneNumber& first_number, in ExactlySameAs() argument
25 if (first_number.has_country_code() != second_number.has_country_code() || in ExactlySameAs()
26 first_number.country_code() != second_number.country_code()) { in ExactlySameAs()
29 if (first_number.has_national_number() != in ExactlySameAs()
31 first_number.national_number() != second_number.national_number()) { in ExactlySameAs()
34 if (first_number.has_extension() != second_number.has_extension() || in ExactlySameAs()
35 first_number.extension() != second_number.extension()) { in ExactlySameAs()
38 if (first_number.has_italian_leading_zero() != in ExactlySameAs()
40 first_number.italian_leading_zero() != in ExactlySameAs()
44 if (first_number.has_number_of_leading_zeros() != in ExactlySameAs()
[all …]
Dphonenumberutil.cc191 bool IsNationalNumberSuffixOfTheOther(const PhoneNumber& first_number, in IsNationalNumberSuffixOfTheOther() argument
194 SimpleItoa(static_cast<uint64>(first_number.national_number())); in IsNationalNumberSuffixOfTheOther()
3060 PhoneNumber first_number; in IsNumberMatch() local
3061 CopyCoreFieldsOnly(first_number_in, &first_number); in IsNumberMatch()
3065 if (first_number.has_extension() && second_number.has_extension() && in IsNumberMatch()
3066 first_number.extension() != second_number.extension()) { in IsNumberMatch()
3069 int first_number_country_code = first_number.country_code(); in IsNumberMatch()
3073 if (ExactlySameAs(first_number, second_number)) { in IsNumberMatch()
3076 IsNationalNumberSuffixOfTheOther(first_number, second_number)) { in IsNumberMatch()
3089 first_number.set_country_code(second_number_country_code); in IsNumberMatch()
[all …]
Dphonenumberutil.h717 MatchType IsNumberMatch(const PhoneNumber& first_number,
725 MatchType IsNumberMatchWithTwoStrings(const string& first_number,
733 MatchType IsNumberMatchWithOneString(const PhoneNumber& first_number,
Dphonenumber.h29 bool ExactlySameAs(const PhoneNumber& first_number,
/third_party/mesa3d/src/util/tests/
Drb_tree_test.cpp161 validate_search(struct rb_tree *tree, int first_number, in validate_search() argument
168 for (int i = first_number; i <= last_number; i++) { in validate_search()