Home
last modified time | relevance | path

Searched refs:reg_exps_ (Results 1 - 4 of 4) sorted by relevance

/third_party/libphonenumber/cpp/src/phonenumbers/
H A Dphonenumbermatcher.cc410 : reg_exps_(PhoneNumberMatcherRegExps::GetInstance()), in PhoneNumberMatcher()
426 : reg_exps_(PhoneNumberMatcherRegExps::GetInstance()), in PhoneNumberMatcher()
469 if (!reg_exps_->matching_brackets_->FullMatch(candidate) || in ParseAndVerify()
470 reg_exps_->pub_pages_->PartialMatch(candidate)) { in ParseAndVerify()
481 reg_exps_->regexp_factory_->CreateInput(candidate)); in ParseAndVerify()
483 !reg_exps_->lead_class_pattern_->Consume(candidate_input.get())) { in ParseAndVerify()
587 reg_exps_->inner_matches_->begin(); in ExtractInnerMatch()
588 regex != reg_exps_->inner_matches_->end(); regex++) { in ExtractInnerMatch()
590 reg_exps_->regexp_factory_->CreateInput(candidate)); in ExtractInnerMatch()
623 if (reg_exps_ in ExtractMatch()
[all...]
H A Dphonenumberutil.cc859 reg_exps_(new PhoneNumberRegExpsAndMappings), in PhoneNumberUtil()
997 return reg_exps_->extn_patterns_for_matching_; in GetExtnPatternsForMatching()
1003 reg_exps_->regexp_factory_->CreateInput(number)); in StartsWithPlusCharsPattern()
1004 return reg_exps_->plus_chars_pattern_->Consume(number_string_piece.get()); in StartsWithPlusCharsPattern()
1008 return reg_exps_->digits_pattern_->FullMatch(s); in ContainsOnlyValidDigits()
1026 if (!reg_exps_->unwanted_end_char_pattern_->FullMatch(current_char)) { in TrimUnwantedEndChars()
1045 const RegExp& eligible_format_pattern = reg_exps_->regexp_cache_->GetRegExp( in IsFormatEligibleForAsYouTypeFormatter()
1058 reg_exps_->regexp_cache_->GetRegExp("\\(?\\$1\\)?"); in FormattingRuleHasFirstGroupOnly()
1439 } else if (reg_exps_->single_international_prefix_->FullMatch( in FormatOutOfCountryCallingNumber()
1639 NormalizeHelper(reg_exps_ in FormatOutOfCountryKeepingAlphaChars()
[all...]
H A Dphonenumbermatcher.h178 const PhoneNumberMatcherRegExps* reg_exps_; member in i18n::phonenumbers::PhoneNumberMatcher
H A Dphonenumberutil.h800 scoped_ptr<PhoneNumberRegExpsAndMappings> reg_exps_; member in i18n::phonenumbers::PhoneNumberUtil

Completed in 8 milliseconds