Searched refs:matcher_api_ (Results 1 – 4 of 4) sorted by relevance
/third_party/libphonenumber/cpp/src/phonenumbers/ |
D | shortnumberinfo.cc | 47 matcher_api_(new RegexBasedMatcher()), in ShortNumberInfo() 158 if (!MatchesPossibleNumberAndNationalNumber(*matcher_api_, short_number, in IsValidShortNumberForRegion() 163 return MatchesPossibleNumberAndNationalNumber(*matcher_api_, short_number, in IsValidShortNumberForRegion() 206 if (MatchesPossibleNumberAndNationalNumber(*matcher_api_, short_number, in GetExpectedCostForRegion() 210 if (MatchesPossibleNumberAndNationalNumber(*matcher_api_, short_number, in GetExpectedCostForRegion() 214 if (MatchesPossibleNumberAndNationalNumber(*matcher_api_, short_number, in GetExpectedCostForRegion() 277 MatchesPossibleNumberAndNationalNumber(*matcher_api_, national_number, in GetRegionCodeForShortNumberFromRegionList() 359 return matcher_api_->MatchNationalNumber( in MatchesEmergencyNumberHelper() 373 MatchesPossibleNumberAndNationalNumber(*matcher_api_, national_number, in IsCarrierSpecific() 387 MatchesPossibleNumberAndNationalNumber(*matcher_api_, national_number, in IsCarrierSpecificForRegion() [all …]
|
D | shortnumberinfo.h | 179 const scoped_ptr<const MatcherApi> matcher_api_; variable
|
D | phonenumberutil.cc | 827 matcher_api_(new RegexBasedMatcher()), in PhoneNumberUtil() 2513 return IsMatch(*matcher_api_, national_number, number_desc); in IsNumberMatchingDesc() 2838 IsMatch(*matcher_api_, *number, general_desc); in MaybeStripNationalPrefixAndCarrierCode() 2857 !IsMatch(*matcher_api_, number_string_copy, general_desc)) { in MaybeStripNationalPrefixAndCarrierCode() 2875 !IsMatch(*matcher_api_, number_copy_as_string, general_desc)) { in MaybeStripNationalPrefixAndCarrierCode() 3035 if ((!IsMatch(*matcher_api_, *national_number, general_num_desc) && in MaybeExtractCountryCode() 3037 *matcher_api_, potential_national_number, general_num_desc)) || in MaybeExtractCountryCode()
|
D | phonenumberutil.h | 793 scoped_ptr<MatcherApi> matcher_api_; variable
|