Home
last modified time | relevance | path

Searched refs:RegExpInput (Results 1 - 10 of 10) sorted by relevance

/third_party/libphonenumber/cpp/src/phonenumbers/
H A Dregexp_adapter.h36 // RegExpInput is the interface that abstracts the input that feeds the
39 class RegExpInput { class
41 virtual ~RegExpInput() {} in ~RegExpInput()
61 virtual bool Consume(RegExpInput* input_string,
72 inline bool Consume(RegExpInput* input_string, string* matched_string1, in Consume()
83 inline bool Consume(RegExpInput* input_string, string* matched_string1, in Consume()
92 inline bool Consume(RegExpInput* input_string, string* matched_string1, in Consume()
103 inline bool Consume(RegExpInput* input_string, in Consume()
111 inline bool Consume(RegExpInput* input_string, in Consume()
118 inline bool Consume(RegExpInput* input_strin
[all...]
H A Dregexp_adapter_re2.cc34 // Implementation of RegExpInput abstract class.
35 class RE2RegExpInput : public RegExpInput {
99 virtual bool Consume(RegExpInput* input_string, in Consume()
155 RegExpInput* RE2RegExpFactory::CreateInput(const string& utf8_input) const { in CreateInput()
H A Dregexp_adapter_icu.cc62 // Implementation of the abstract classes RegExpInput and RegExp using ICU
65 // ICU implementation of the RegExpInput abstract class.
66 class IcuRegExpInput : public RegExpInput {
126 virtual bool Consume(RegExpInput* input_string, in Consume()
236 RegExpInput* ICURegExpFactory::CreateInput(const string& utf8_input) const { in CreateInput()
H A Dphonenumbermatcher.cc480 scoped_ptr<RegExpInput> candidate_input( in ParseAndVerify()
589 scoped_ptr<RegExpInput> candidate_input( in ExtractInnerMatch()
629 scoped_ptr<RegExpInput> following_text( in ExtractMatch()
683 scoped_ptr<RegExpInput> text( in Find()
729 std::unique_ptr<RegExpInput> nsn_input( in CheckNumberGroupingIsValid()
839 const scoped_ptr<RegExpInput> candidate_number( in AllNumberGroupsAreExactlyPresent()
H A Dasyoutypeformatter.cc75 const scoped_ptr<RegExpInput> consume_input( in MatchAllGroups()
220 const scoped_ptr<RegExpInput> input( in NarrowDownPossibleFormats()
617 const scoped_ptr<RegExpInput> consumed_input( in RemoveNationalPrefixFromNationalNumber()
646 const scoped_ptr<RegExpInput> consumed_input( in AttemptToExtractIdd()
H A Dregexp_adapter_icu.h28 // implementation of RegExp and RegExpInput classes based on the ICU regexp
34 virtual RegExpInput* CreateInput(const string& utf8_input) const;
H A Dregexp_adapter_re2.h28 // implementation of RegExp and RegExpInput classes based on RE2.
33 virtual RegExpInput* CreateInput(const string& utf8_input) const;
H A Dregex_based_matcher.cc60 const scoped_ptr<RegExpInput> normalized_number_input( in Match()
H A Dphonenumberutil.cc1002 const scoped_ptr<RegExpInput> number_string_piece( in StartsWithPlusCharsPattern()
1724 const scoped_ptr<RegExpInput> number_copy( in ChooseFormattingPatternForNumber()
1784 const scoped_ptr<RegExpInput> number( in FormatNsnUsingPatternWithCarrier()
1934 const scoped_ptr<RegExpInput> number( in GetRegionCodeForNumberFromRegionList()
2151 const scoped_ptr<RegExpInput> number( in CheckRegionForParsing()
2262 const scoped_ptr<RegExpInput> number_string_piece( in ParseHelper()
2667 const scoped_ptr<RegExpInput> i18n_number( in GetLengthOfNationalDestinationCode()
2784 const scoped_ptr<RegExpInput> number_copy( in ParsePrefixAsIdd()
2822 const scoped_ptr<RegExpInput> number_string_piece( in MaybeStripInternationalPrefixAndNormalize()
2860 const scoped_ptr<RegExpInput> number_cop in MaybeStripNationalPrefixAndCarrierCode()
[all...]
/third_party/libphonenumber/cpp/test/phonenumbers/
H A Dregexp_adapter_test.cc90 const scoped_ptr<RegExpInput> input( in TEST_F()
115 const scoped_ptr<RegExpInput> input(factory.CreateInput("+123")); in TEST_F()
129 const scoped_ptr<RegExpInput> input( in TEST_F()
146 const scoped_ptr<RegExpInput> input( in TEST_F()
148 const scoped_ptr<RegExpInput> input_with_six_digit_groups( in TEST_F()

Completed in 11 milliseconds