Lines Matching defs:Consume
37 // Consume() method of RegExp which may differ depending on its various
48 // phonenumberutil.cc. Consume(), Match() and Replace() methods must be
61 virtual bool Consume(RegExpInput* input_string,
70 // Helper methods calling the Consume method that assume the match must start
72 inline bool Consume(RegExpInput* input_string, string* matched_string1,
78 return Consume(input_string, true, matched_string1, matched_string2,
83 inline bool Consume(RegExpInput* input_string, string* matched_string1,
88 return Consume(input_string, true, matched_string1, matched_string2,
92 inline bool Consume(RegExpInput* input_string, string* matched_string1,
96 return Consume(input_string, true, matched_string1, matched_string2,
101 // Helper methods calling the Consume method that assume the match must start
103 inline bool Consume(RegExpInput* input_string,
107 return Consume(input_string, true, matched_string1, matched_string2,
111 inline bool Consume(RegExpInput* input_string,
114 return Consume(input_string, true, matched_string1, matched_string2, NULL,
118 inline bool Consume(RegExpInput* input_string, string* matched_string) const {
119 return Consume(input_string, true, matched_string, NULL, NULL, NULL, NULL,
123 inline bool Consume(RegExpInput* input_string) const {
124 return Consume(input_string, true, NULL, NULL, NULL, NULL, NULL, NULL);
127 // Helper method calling the Consume method that assumes the match can start
131 return Consume(input_string, false, matched_string, NULL, NULL, NULL, NULL,