Home
last modified time | relevance | path

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

/third_party/libphonenumber/cpp/src/phonenumbers/
Dphonenumbermatcher.cc401 : reg_exps_(PhoneNumberMatcherRegExps::GetInstance()), in PhoneNumberMatcher()
417 : reg_exps_(PhoneNumberMatcherRegExps::GetInstance()), in PhoneNumberMatcher()
460 if (!reg_exps_->matching_brackets_->FullMatch(candidate) || in ParseAndVerify()
461 reg_exps_->pub_pages_->PartialMatch(candidate)) { in ParseAndVerify()
472 reg_exps_->regexp_factory_->CreateInput(candidate)); in ParseAndVerify()
474 !reg_exps_->lead_class_pattern_->Consume(candidate_input.get())) { in ParseAndVerify()
578 reg_exps_->inner_matches_->begin(); in ExtractInnerMatch()
579 regex != reg_exps_->inner_matches_->end(); regex++) { in ExtractInnerMatch()
581 reg_exps_->regexp_factory_->CreateInput(candidate)); in ExtractInnerMatch()
614 if (reg_exps_->slash_separated_dates_->PartialMatch(candidate)) { in ExtractMatch()
[all …]
Dphonenumberutil.cc828 reg_exps_(new PhoneNumberRegExpsAndMappings), in PhoneNumberUtil()
962 return reg_exps_->extn_patterns_for_matching_; in GetExtnPatternsForMatching()
968 reg_exps_->regexp_factory_->CreateInput(number)); in StartsWithPlusCharsPattern()
969 return reg_exps_->plus_chars_pattern_->Consume(number_string_piece.get()); in StartsWithPlusCharsPattern()
973 return reg_exps_->digits_pattern_->FullMatch(s); in ContainsOnlyValidDigits()
991 if (!reg_exps_->unwanted_end_char_pattern_->FullMatch(current_char)) { in TrimUnwantedEndChars()
1010 const RegExp& eligible_format_pattern = reg_exps_->regexp_cache_->GetRegExp( in IsFormatEligibleForAsYouTypeFormatter()
1023 reg_exps_->regexp_cache_->GetRegExp("\\(?\\$1\\)?"); in FormattingRuleHasFirstGroupOnly()
1408 } else if (reg_exps_->single_international_prefix_->FullMatch( in FormatOutOfCountryCallingNumber()
1608 NormalizeHelper(reg_exps_->all_plus_number_grouping_symbols_, true, in FormatOutOfCountryKeepingAlphaChars()
[all …]
Dphonenumbermatcher.h178 const PhoneNumberMatcherRegExps* reg_exps_; variable
Dphonenumberutil.h796 scoped_ptr<PhoneNumberRegExpsAndMappings> reg_exps_; variable