Searched refs:Consume (Results 1 - 25 of 143) sorted by last modified time

123456

/external/regex-re2/re2/
H A Dre2.cc31 const VariadicFunction2<bool, StringPiece*, const RE2&, RE2::Arg, RE2::ConsumeN> RE2::Consume; member in class:re2::RE2
H A Dre2.h118 // The "Consume" operation may be useful if you want to repeatedly
129 // while (RE2::Consume(&input, "(\\w+) = (\\d+)\n", &var, &value)) {
133 // Each successful call to "Consume" will set "var/value", and also
140 // The "FindAndConsume" operation is similar to "Consume" but does not
346 bool, StringPiece*, const RE2&, Arg, RE2::ConsumeN> Consume; member in class:re2::RE2
348 // Like Consume(..), but does not anchor the match at the beginning of the
/external/regex-re2/re2/testing/
H A Dre2_test.cc6 // TODO: Test extractions for PartialMatch/Consume
227 TEST(RE2, Consume) {
236 CHECK(RE2::Consume(&input, r, &word));
238 CHECK(RE2::Consume(&input, r, &word));
240 CHECK(! RE2::Consume(&input, r, &word)) << " input: " << input;
1340 EXPECT_TRUE(RE2::Consume(&piece, re, &x));
/external/regex-re2/util/
H A Dpcre.cc45 const PCRE::ConsumeFunctor PCRE::Consume = { }; member in class:re2::PCRE
H A Dpcre.h118 // The "Consume" operation may be useful if you want to repeatedly
129 // while (PCRE::Consume(&input, "(\\w+) = (\\d+)\n", &var, &value)) {
133 // Each successful call to "Consume" will set "var/value", and also
140 // The "FindAndConsume" operation is similar to "Consume" but does not
348 static const ConsumeFunctor Consume; member in class:re2::PCRE
350 // Like Consume(..), but does not anchor the match at the beginning of the
/external/protobuf/python/google/protobuf/
H A Dtext_format.py170 tokenizer.Consume(']')
198 tokenizer.Consume('{')
233 tokenizer.Consume(':')
372 def Consume(self, token): member in class:_Tokenizer
545 """Consume one token of a string literal.
/external/protobuf/src/google/protobuf/compiler/
H A Dparser.cc131 bool Parser::Consume(const char* text, const char* error) { function in class:google::protobuf::compiler::Parser
140 bool Parser::Consume(const char* text) { function in class:google::protobuf::compiler::Parser
347 DO(Consume("syntax", "File must begin with 'syntax = \"proto2\";'."));
348 DO(Consume("="));
352 DO(Consume(";"));
395 DO(Consume("message"));
403 DO(Consume("{"));
463 DO(Consume("=", "Missing field number."));
499 DO(Consume(";"));
517 DO(Consume("]"));
[all...]
H A Dparser.h119 // Consume the rest of the current statement. This consumes tokens
130 // Consume the rest of the current block, including nested blocks,
155 // Consume a token with the exact text given.
156 bool Consume(const char* text, const char* error);
159 bool Consume(const char* text);
160 // Consume a token of type IDENTIFIER and store its text in "output".
162 // Consume an integer and store its value in "output".
164 // Consume a 64-bit integer and store its value in "output". If the value
167 // Consume a number and store its value in "output". This will accept
170 // Consume
[all...]
/external/protobuf/src/google/protobuf/
H A Dtext_format.cc135 // Consume the starting token.
145 // Consume fields until we cannot do so anymore.
226 DO(Consume(delimeter));
250 DO(Consume("]"));
303 DO(Consume(":"));
322 DO(Consume("{"));
587 bool Consume(const string& value) { function in class:google::protobuf::TextFormat::Parser::ParserImpl
/external/pcre/dist/
H A Dpcre_scanner.cc133 bool Scanner::Consume(const RE& re, function in class:pcrecpp::Scanner
137 const bool result = re.Consume(&input_, arg0, arg1, arg2);
145 while (skip_->Consume(&input_)) {
H A Dpcre_scanner.h40 // while (scanner.Consume("(\\w+) = (\\d+)", &var, &number)) {
82 bool Consume(const RE& re,
H A Dpcre_scanner_unittest.cc78 s.Consume(re, &var, &number);
87 s.Consume(re, &var, &number);
95 s.Consume(re, &var, &number);
143 s.Consume("(\\w+) = (\\w+);", &name, &value);
H A Dpcrecpp.cc236 bool RE::Consume(StringPiece* input, function in class:pcrecpp::RE
H A Dpcrecpp.h258 // The "Consume" operation may be useful if you want to repeatedly
271 // while (re.Consume(&input, &var, &value)) {
275 // Each successful call to "Consume" will set "var/value", and also
278 // The "FindAndConsume" operation is similar to "Consume" but does not
571 bool Consume(StringPiece* input,
H A Dpcrecpp_unittest.cc34 // TODO: Test extractions for PartialMatch/Consume
98 while (line_matcher.Consume(&text)) {
382 printf("Testing Consume\n");
390 CHECK(r.Consume(&input, &word));
392 CHECK(r.Consume(&input, &word));
394 CHECK(! r.Consume(&input, &word));
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors_format.inc220 // Consume %[...] expression.
230 // Consume the closing ']'.
255 p = q + 1; // Consume the closing ']'.
/external/chromium_org/v8/src/
H A Dparser.cc1419 Consume(Token::COMMA);
1483 Consume(Token::COMMA);
2106 Consume(Token::VAR);
2118 Consume(Token::CONST);
2145 Consume(Token::LET);
2181 if (nvars > 0) Consume(Token::COMMA);
2556 // Consume the return token. It is necessary to do that before
2743 Consume(Token::CATCH);
2766 Consume(Token::FINALLY);
2830 if (peek() == Token::SEMICOLON) Consume(Toke
[all...]
H A Dpreparser.cc431 Consume(Token::VAR);
443 Consume(Token::CONST);
460 Consume(Token::LET);
478 if (nvars > 0) Consume(Token::COMMA);
510 Consume(Token::COLON);
579 // Consume the return token. It is necessary to do before
663 if (peek() == Token::SEMICOLON) Consume(Token::SEMICOLON);
783 Consume(Token::CATCH);
795 Consume(Token::FINALLY);
H A Dpreparser.h312 void Consume(Token::Value token) { function in class:v8::internal::ParserBase
322 Consume(next);
364 Consume(Token::IDENTIFIER);
1770 Consume(Token::THIS);
1794 Consume(Token::STRING);
1816 Consume(Token::LPAREN);
1820 Consume(Token::RPAREN);
1834 Consume(Token::CLASS);
1924 Consume(Token::STRING);
1927 Consume(Toke
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dbytebuffer.cc209 bool ByteBuffer::Consume(size_t size) { function in class:rtc::ByteBuffer
H A Dbytebuffer.h78 // there is less than |size| bytes left in the buffer. Consume doesn't
81 bool Consume(size_t size);
H A Dbytebuffer_unittest.cc80 EXPECT_TRUE(buffer.Consume(0));
83 EXPECT_TRUE(buffer.Consume(4));
H A Dvirtualsocketserver.cc78 void Consume(size_t size) { function in class:rtc::Packet
273 packet->Consume(data_read);
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
H A Dasyoutypeformatter.cc114 cache->GetRegExp(new_pattern).Consume(consume_input.get(), group);
234 index_of_leading_digits_pattern)).Consume(input.get())) {
628 if (pattern.Consume(consumed_input.get())) {
656 if (international_prefix.Consume(consumed_input.get())) {
H A Dphonenumbermatcher.cc424 !reg_exps_->lead_class_pattern_->Consume(candidate_input.get())) {
592 if (reg_exps_->time_stamps_suffix_->Consume(following_text.get())) {

Completed in 2881 milliseconds

123456