Searched refs:TryConsume (Results 1 – 6 of 6) sorted by relevance
322 inline bool Tokenizer::TryConsume(char c) { in TryConsume() function in google::protobuf::io::Tokenizer378 } else if (TryConsume('x')) { in ConsumeString()383 } else if (TryConsume('u')) { in ConsumeString()390 } else if (TryConsume('U')) { in ConsumeString()393 if (!TryConsume('0') || in ConsumeString()394 !TryConsume('0') || in ConsumeString()395 !(TryConsume('0') || TryConsume('1')) || in ConsumeString()426 if (started_with_zero && (TryConsume('x') || TryConsume('X'))) { in ConsumeNumber()446 if (TryConsume('.')) { in ConsumeNumber()452 if (TryConsume('e') || TryConsume('E')) { in ConsumeNumber()[all …]
380 inline bool TryConsume(char c);
473 if tokenizer.TryConsume('['):475 while tokenizer.TryConsume('.'):540 tokenizer.TryConsume(':')547 and tokenizer.TryConsume('[')):551 if tokenizer.TryConsume(']'): break563 if not tokenizer.TryConsume(','):564 tokenizer.TryConsume(';')579 if tokenizer.TryConsume('<'):600 while not tokenizer.TryConsume(end_token):690 if tokenizer.TryConsume(':') and not tokenizer.LookingAt([all …]
149 bool Parser::TryConsume(const char* text) { in TryConsume() function in google::protobuf::compiler::Parser159 if (TryConsume(text)) { in Consume()168 if (TryConsume(text)) { in Consume()207 if (TryConsume("-")) { in ConsumeSignedInteger()433 } else if (TryConsume("{")) { in SkipStatement()451 } else if (TryConsume("{")) { in SkipRestOfBlock()829 if (TryConsume("map")) { in ParseMessageFieldNoLabel()1058 } while (TryConsume(",")); in ParseFieldOptions()1112 if (TryConsume("-")) { in ParseDefaultAssignment()1137 if (TryConsume("-")) { in ParseDefaultAssignment()[all …]
153 bool TryConsume(const char* text);
359 if (TryConsume("<")) { in ConsumeMessageDelimiter()385 TryConsume("[")) { in ConsumeField()389 TryConsume(":"); // ':' is optional between message labels and values. in ConsumeField()400 if (TryConsume("[")) { in ConsumeField()479 if (TryConsume(":") && !LookingAt("{") && !LookingAt("<")) { in ConsumeField()509 TryConsume(":"); in ConsumeField()515 if (field->is_repeated() && TryConsume("[")) { in ConsumeField()524 if (TryConsume("]")) { in ConsumeField()537 TryConsume(";") || TryConsume(","); in ConsumeField()557 if (TryConsume("[")) { in SkipField()[all …]