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);
593 if tokenizer.TryConsume('['):595 while tokenizer.TryConsume('.'):660 tokenizer.TryConsume(':')667 tokenizer.TryConsume('[')):671 if tokenizer.TryConsume(']'):684 if not tokenizer.TryConsume(','):685 tokenizer.TryConsume(';')698 while tokenizer.TryConsume('.'):715 if tokenizer.TryConsume('<'):722 tokenizer.TryConsume('[')):[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);
361 if (TryConsume("<")) { in ConsumeMessageDelimiter()387 TryConsume("[")) { in ConsumeField()391 TryConsume(":"); // ':' is optional between message labels and values. in ConsumeField()402 if (TryConsume("[")) { in ConsumeField()481 if (TryConsume(":") && !LookingAt("{") && !LookingAt("<")) { in ConsumeField()511 TryConsume(":"); in ConsumeField()517 if (field->is_repeated() && TryConsume("[")) { in ConsumeField()526 if (TryConsume("]")) { in ConsumeField()539 TryConsume(";") || TryConsume(","); in ConsumeField()559 if (TryConsume("[")) { in SkipField()[all …]