Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Dtext_format.cc274 if (LookingAtType(io::Tokenizer::TYPE_END)) { in Parse()
289 return suc && LookingAtType(io::Tokenizer::TYPE_END); in ParseField()
684 if (LookingAtType(io::Tokenizer::TYPE_INTEGER)) { in ConsumeFieldValue()
709 if (LookingAtType(io::Tokenizer::TYPE_IDENTIFIER)) { in ConsumeFieldValue()
715 LookingAtType(io::Tokenizer::TYPE_INTEGER)) { in ConsumeFieldValue()
753 if (LookingAtType(io::Tokenizer::TYPE_STRING)) { in SkipFieldValue()
754 while (LookingAtType(io::Tokenizer::TYPE_STRING)) { in SkipFieldValue()
781 if (!LookingAtType(io::Tokenizer::TYPE_INTEGER) && in SkipFieldValue()
782 !LookingAtType(io::Tokenizer::TYPE_FLOAT) && in SkipFieldValue()
783 !LookingAtType(io::Tokenizer::TYPE_IDENTIFIER)) { in SkipFieldValue()
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc141 inline bool Parser::LookingAtType(io::Tokenizer::TokenType token_type) { in LookingAtType() function in google::protobuf::compiler::Parser
146 return LookingAtType(io::Tokenizer::TYPE_END); in AtEnd()
177 if (LookingAtType(io::Tokenizer::TYPE_IDENTIFIER)) { in ConsumeIdentifier()
188 if (LookingAtType(io::Tokenizer::TYPE_INTEGER)) { in ConsumeInteger()
220 if (LookingAtType(io::Tokenizer::TYPE_INTEGER)) { in ConsumeInteger64()
236 if (LookingAtType(io::Tokenizer::TYPE_FLOAT)) { in ConsumeNumber()
240 } else if (LookingAtType(io::Tokenizer::TYPE_INTEGER)) { in ConsumeNumber()
266 if (LookingAtType(io::Tokenizer::TYPE_STRING)) { in ConsumeString()
270 while (LookingAtType(io::Tokenizer::TYPE_STRING)) { in ConsumeString()
430 } else if (LookingAtType(io::Tokenizer::TYPE_SYMBOL)) { in SkipStatement()
[all …]
Dparser.h149 inline bool LookingAtType(io::Tokenizer::TokenType token_type);