Searched refs:regexp_cache_ (Results 1 – 6 of 6) sorted by relevance
34 regexp_cache_(new RegExpCache(*regexp_factory_, 128)) {} in RegexBasedMatcher()55 const RegExp& regexp(regexp_cache_->GetRegExp(number_pattern)); in Match()
93 regexp_cache_(*regexp_factory_.get(), 64), in AsYouTypeFormatter()222 if (!regexp_cache_.GetRegExp(format.leading_digits_pattern().Get( in NarrowDownPossibleFormats()266 ®exp_cache_, &a_phone_number); in GetFormattingTemplate()274 regexp_cache_.GetRegExp(number_pattern).GlobalReplace( in GetFormattingTemplate()476 if (regexp_cache_.GetRegExp(pattern).FullMatch(national_number_)) { in AttemptToFormatAccruedDigits()480 bool status = regexp_cache_.GetRegExp(pattern).GlobalReplace( in AttemptToFormatAccruedDigits()619 const RegExp& pattern = regexp_cache_.GetRegExp( in RemoveNationalPrefixFromNationalNumber()648 const RegExp& international_prefix = regexp_cache_.GetRegExp( in AttemptToExtractIdd()
49 const scoped_ptr<RegExpCache> regexp_cache_; variable
177 RegExpCache regexp_cache_; variable
663 scoped_ptr<RegExpCache> regexp_cache_; member in i18n::phonenumbers::PhoneNumberRegExpsAndMappings772 regexp_cache_(new RegExpCache(*regexp_factory_.get(), 128)), in PhoneNumberRegExpsAndMappings()1010 const RegExp& eligible_format_pattern = reg_exps_->regexp_cache_->GetRegExp( in IsFormatEligibleForAsYouTypeFormatter()1023 reg_exps_->regexp_cache_->GetRegExp("\\(?\\$1\\)?"); in FormattingRuleHasFirstGroupOnly()1697 if (!reg_exps_->regexp_cache_->GetRegExp( in ChooseFormattingPatternForNumber()1704 reg_exps_->regexp_cache_->GetRegExp(it->pattern())); in ChooseFormattingPatternForNumber()1748 reg_exps_->regexp_cache_->GetRegExp(formatting_pattern.pattern())); in FormatNsnUsingPatternWithCarrier()1905 if (reg_exps_->regexp_cache_-> in GetRegionCodeForNumberFromRegionList()2684 const RegExp& non_digits_pattern = reg_exps_->regexp_cache_->GetRegExp( in NormalizeDigitsOnly()2802 reg_exps_->regexp_cache_->GetRegExp(possible_idd_prefix); in MaybeStripInternationalPrefixAndNormalize()[all …]
233 mutable RegExpCache regexp_cache_; member in i18n::phonenumbers::PhoneNumberMatcherRegExps302 regexp_cache_(*regexp_factory_, 32), in PhoneNumberMatcherRegExps()724 if (!reg_exps_->regexp_cache_.GetRegExp( in CheckNumberGroupingIsValid()