Home
last modified time | relevance | path

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

/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
Dphonenumberutil.cc665 reg_exps_(new PhoneNumberRegExpsAndMappings), in PhoneNumberUtil()
751 return reg_exps_->extn_patterns_for_matching_; in GetExtnPatternsForMatching()
757 reg_exps_->regexp_factory_->CreateInput(number)); in StartsWithPlusCharsPattern()
758 return reg_exps_->plus_chars_pattern_->Consume(number_string_piece.get()); in StartsWithPlusCharsPattern()
762 return reg_exps_->digits_pattern_->FullMatch(s); in ContainsOnlyValidDigits()
775 if (!reg_exps_->unwanted_end_char_pattern_->FullMatch(current_char)) { in TrimUnwantedEndChars()
792 const RegExp& eligible_format_pattern = reg_exps_->regexp_cache_->GetRegExp( in IsFormatEligibleForAsYouTypeFormatter()
804 reg_exps_->regexp_cache_->GetRegExp("\\(?\\$1\\)?"); in FormattingRuleHasFirstGroupOnly()
1164 reg_exps_->unique_international_prefix_->FullMatch(international_prefix) in FormatOutOfCountryCallingNumber()
1365 NormalizeHelper(reg_exps_->all_plus_number_grouping_symbols_, true, in FormatOutOfCountryKeepingAlphaChars()
[all …]
Dphonenumbermatcher.cc362 : reg_exps_(PhoneNumberMatcherRegExps::GetInstance()), in PhoneNumberMatcher()
376 : reg_exps_(PhoneNumberMatcherRegExps::GetInstance()), in PhoneNumberMatcher()
411 if (!reg_exps_->matching_brackets_->FullMatch(candidate)) { in ParseAndVerify()
422 reg_exps_->regexp_factory_->CreateInput(candidate)); in ParseAndVerify()
424 !reg_exps_->lead_class_pattern_->Consume(candidate_input.get())) { in ParseAndVerify()
530 reg_exps_->regexp_factory_->CreateInput(candidate)); in ExtractInnerMatch()
531 if (reg_exps_->group_separator_->FindAndConsume(candidate_input.get(), in ExtractInnerMatch()
555 while (reg_exps_->group_separator_->FindAndConsume(candidate_input.get(), in ExtractInnerMatch()
583 if (reg_exps_->pub_pages_->PartialMatch(candidate) || in ExtractMatch()
584 reg_exps_->slash_separated_dates_->PartialMatch(candidate)) { in ExtractMatch()
[all …]
Dphonenumbermatcher.h164 const PhoneNumberMatcherRegExps* reg_exps_; variable
Dphonenumberutil.h618 scoped_ptr<PhoneNumberRegExpsAndMappings> reg_exps_; variable