Home
last modified time | relevance | path

Searched refs:regexp_factory_ (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
Dphonenumbermatcher.cc229 scoped_ptr<const AbstractRegExpFactory> regexp_factory_; member in i18n::phonenumbers::PhoneNumberMatcherRegExps
288 regexp_factory_(new RE2RegExpFactory()), in PhoneNumberMatcherRegExps()
290 regexp_factory_(new ICURegExpFactory()), in PhoneNumberMatcherRegExps()
292 pub_pages_(regexp_factory_->CreateRegExp( in PhoneNumberMatcherRegExps()
294 slash_separated_dates_(regexp_factory_->CreateRegExp( in PhoneNumberMatcherRegExps()
297 time_stamps_(regexp_factory_->CreateRegExp( in PhoneNumberMatcherRegExps()
299 time_stamps_suffix_(regexp_factory_->CreateRegExp(":[0-5]\\d")), in PhoneNumberMatcherRegExps()
300 matching_brackets_(regexp_factory_->CreateRegExp( in PhoneNumberMatcherRegExps()
303 group_separator_(regexp_factory_->CreateRegExp( in PhoneNumberMatcherRegExps()
306 regexp_factory_->CreateRegExp( in PhoneNumberMatcherRegExps()
[all …]
Dregexp_cache.cc33 : regexp_factory_(regexp_factory), in RegExpCache()
54 const RegExp* regexp = regexp_factory_.CreateRegExp(pattern); in GetRegExp()
Dphonenumberutil.cc506 scoped_ptr<const AbstractRegExpFactory> regexp_factory_; member in i18n::phonenumbers::PhoneNumberRegExpsAndMappings
609 regexp_factory_(new RegExpFactory()), in PhoneNumberRegExpsAndMappings()
610 regexp_cache_(new RegExpCache(*regexp_factory_.get(), 128)), in PhoneNumberRegExpsAndMappings()
616 unique_international_prefix_(regexp_factory_->CreateRegExp( in PhoneNumberRegExpsAndMappings()
620 regexp_factory_->CreateRegExp(StrCat("[", kDigits, "]*"))), in PhoneNumberRegExpsAndMappings()
622 regexp_factory_->CreateRegExp(StrCat("([", kDigits, "])"))), in PhoneNumberRegExpsAndMappings()
624 regexp_factory_->CreateRegExp("(\\d+)")), in PhoneNumberRegExpsAndMappings()
625 valid_start_char_pattern_(regexp_factory_->CreateRegExp( in PhoneNumberRegExpsAndMappings()
628 regexp_factory_->CreateRegExp( in PhoneNumberRegExpsAndMappings()
631 regexp_factory_->CreateRegExp("[^\\p{N}\\p{L}#]")), in PhoneNumberRegExpsAndMappings()
[all …]
Dasyoutypeformatter.cc127 : regexp_factory_(new RegExpFactory()), in AsYouTypeFormatter()
128 regexp_cache_(*regexp_factory_.get(), 64), in AsYouTypeFormatter()
232 regexp_factory_->CreateInput(leading_digits)); in NarrowDownPossibleFormats()
247 regexp_factory_->CreateRegExp(kNationalPrefixSeparatorsPattern)); in SetShouldAddSpaceAfterNationalPrefix()
263 regexp_factory_->CreateRegExp(kCharacterClassPattern)); in CreateFormattingTemplate()
292 MatchAllGroups(number_pattern, longest_phone_number, *regexp_factory_, in GetFormattingTemplate()
622 regexp_factory_->CreateInput(national_number_)); in RemoveNationalPrefixFromNationalNumber()
651 regexp_factory_->CreateInput(accrued_input_without_formatting_stdstring)); in AttemptToExtractIdd()
Dregexp_cache.h67 const AbstractRegExpFactory& regexp_factory_;
Dasyoutypeformatter.h175 const scoped_ptr<const AbstractRegExpFactory> regexp_factory_; variable