Home
last modified time | relevance | path

Searched refs:phone_util_ (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
Dphonenumbermatcher.cc364 phone_util_(util), in PhoneNumberMatcher()
378 phone_util_(*PhoneNumberUtil::GetInstance()), in PhoneNumberMatcher()
451 if (phone_util_.ParseAndKeepRawInput(candidate, preferred_region_, &number) != in ParseAndVerify()
478 return phone_util_.IsPossibleNumber(number); in VerifyAccordingToLeniency()
480 if (!phone_util_.IsValidNumber(number) || in VerifyAccordingToLeniency()
481 !ContainsOnlyValidXChars(number, candidate, phone_util_)) { in VerifyAccordingToLeniency()
486 if (!phone_util_.IsValidNumber(number) || in VerifyAccordingToLeniency()
487 !ContainsOnlyValidXChars(number, candidate, phone_util_) || in VerifyAccordingToLeniency()
489 number, candidate, phone_util_) || in VerifyAccordingToLeniency()
501 if (!phone_util_.IsValidNumber(number) || in VerifyAccordingToLeniency()
[all …]
Dshortnumberinfo.cc48 : phone_util_(*PhoneNumberUtil::GetInstance()), in ShortNumberInfo()
91 phone_util_.ExtractPossibleNumber(number, &extracted_number); in MatchesEmergencyNumberHelper()
92 if (phone_util_.StartsWithPlusCharsPattern(extracted_number)) { in MatchesEmergencyNumberHelper()
108 phone_util_.NormalizeDigitsOnly(&extracted_number); in MatchesEmergencyNumberHelper()
Dasyoutypeformatter.cc138 phone_util_(*PhoneNumberUtil::GetInstance()), in AsYouTypeFormatter()
158 int country_calling_code = phone_util_.GetCountryCodeForRegion(region_code); in GetMetadataForRegion()
160 phone_util_.GetRegionCodeForCountryCode(country_calling_code, &main_country); in GetMetadataForRegion()
162 phone_util_.GetMetadataForRegion(main_country); in GetMetadataForRegion()
209 phone_util_.FormattingRuleHasFirstGroupOnly( in GetAvailableFormats()
211 if (phone_util_.IsFormatEligibleForAsYouTypeFormatter(it->format())) { in GetAvailableFormats()
366 if (!(phone_util_.ContainsOnlyValidDigits(next_char_string) || in InputDigitWithOptionToRememberPosition()
686 phone_util_.ExtractCountryCode(&number_without_country_code); in AttemptToExtractCountryCode()
692 phone_util_.GetRegionCodeForCountryCode(country_code, &new_region_code); in AttemptToExtractCountryCode()
695 phone_util_.GetMetadataForNonGeographicalRegion(country_code); in AttemptToExtractCountryCode()
[all …]
Dshortnumberinfo.h59 const PhoneNumberUtil& phone_util_;
Dasyoutypeformatter.h199 const PhoneNumberUtil& phone_util_; variable
Dphonenumbermatcher.h171 const PhoneNumberUtil& phone_util_; variable
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/geocoding/
Dphonenumber_offline_geocoder.cc70 phone_util_ = PhoneNumberUtil::GetInstance(); in Init()
124 phone_util_->GetRegionCodeForNumber(number, &region_code); in GetCountryNameForNumber()
159 phone_util_->GetRegionCodeForNumber(number, &region_code); in GetDescriptionForValidNumber()
169 if (!phone_util_->IsValidNumber(number)) { in GetDescriptionForNumber()
178 if (!phone_util_->IsValidNumber(number)) { in GetDescriptionForNumber()
Darea_code_map.cc30 : phone_util_(*PhoneNumberUtil::GetInstance()) { in AreaCodeMap()
49 phone_util_.GetNationalSignificantNumber(number, &national_number); in Lookup()
Darea_code_map.h66 const PhoneNumberUtil& phone_util_; variable
Dphonenumber_offline_geocoder.h144 const PhoneNumberUtil* phone_util_;