Home
last modified time | relevance | path

Searched refs:LookingAtType (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/src/google/protobuf/
Dtext_format.cc302 if (LookingAtType(io::Tokenizer::TYPE_END)) { in Parse()
317 return suc && LookingAtType(io::Tokenizer::TYPE_END); in ParseField()
566 LookingAtType(io::Tokenizer::TYPE_STRING)) { in ConsumeField()
758 if (LookingAtType(io::Tokenizer::TYPE_INTEGER)) { in ConsumeFieldValue()
784 if (LookingAtType(io::Tokenizer::TYPE_IDENTIFIER)) { in ConsumeFieldValue()
790 LookingAtType(io::Tokenizer::TYPE_INTEGER)) { in ConsumeFieldValue()
836 if (LookingAtType(io::Tokenizer::TYPE_STRING)) { in SkipFieldValue()
837 while (LookingAtType(io::Tokenizer::TYPE_STRING)) { in SkipFieldValue()
878 if (!LookingAtType(io::Tokenizer::TYPE_INTEGER) && in SkipFieldValue()
879 !LookingAtType(io::Tokenizer::TYPE_FLOAT) && in SkipFieldValue()
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc199 inline bool Parser::LookingAtType(io::Tokenizer::TokenType token_type) { in LookingAtType() function in google::protobuf::compiler::Parser
203 inline bool Parser::AtEnd() { return LookingAtType(io::Tokenizer::TYPE_END); } in AtEnd()
233 if (LookingAtType(io::Tokenizer::TYPE_IDENTIFIER)) { in ConsumeIdentifier()
244 if (LookingAtType(io::Tokenizer::TYPE_INTEGER)) { in ConsumeInteger()
276 if (LookingAtType(io::Tokenizer::TYPE_INTEGER)) { in ConsumeInteger64()
292 if (LookingAtType(io::Tokenizer::TYPE_FLOAT)) { in ConsumeNumber()
296 } else if (LookingAtType(io::Tokenizer::TYPE_INTEGER)) { in ConsumeNumber()
322 if (LookingAtType(io::Tokenizer::TYPE_STRING)) { in ConsumeString()
326 while (LookingAtType(io::Tokenizer::TYPE_STRING)) { in ConsumeString()
516 } else if (LookingAtType(io::Tokenizer::TYPE_SYMBOL)) { in SkipStatement()
[all …]
Dparser.h152 inline bool LookingAtType(io::Tokenizer::TokenType token_type);