Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Dtext_format.cc252 if (LookingAtType(io::Tokenizer::TYPE_END)) { in Parse()
267 return suc && LookingAtType(io::Tokenizer::TYPE_END); in ParseField()
656 if (LookingAtType(io::Tokenizer::TYPE_INTEGER)) { in ConsumeFieldValue()
681 if (LookingAtType(io::Tokenizer::TYPE_IDENTIFIER)) { in ConsumeFieldValue()
687 LookingAtType(io::Tokenizer::TYPE_INTEGER)) { in ConsumeFieldValue()
725 if (LookingAtType(io::Tokenizer::TYPE_STRING)) { in SkipFieldValue()
726 while (LookingAtType(io::Tokenizer::TYPE_STRING)) { in SkipFieldValue()
753 if (!LookingAtType(io::Tokenizer::TYPE_INTEGER) && in SkipFieldValue()
754 !LookingAtType(io::Tokenizer::TYPE_FLOAT) && in SkipFieldValue()
755 !LookingAtType(io::Tokenizer::TYPE_IDENTIFIER)) { in SkipFieldValue()
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc114 inline bool Parser::LookingAtType(io::Tokenizer::TokenType token_type) { in LookingAtType() function in google::protobuf::compiler::Parser
119 return LookingAtType(io::Tokenizer::TYPE_END); in AtEnd()
150 if (LookingAtType(io::Tokenizer::TYPE_IDENTIFIER)) { in ConsumeIdentifier()
161 if (LookingAtType(io::Tokenizer::TYPE_INTEGER)) { in ConsumeInteger()
193 if (LookingAtType(io::Tokenizer::TYPE_INTEGER)) { in ConsumeInteger64()
209 if (LookingAtType(io::Tokenizer::TYPE_FLOAT)) { in ConsumeNumber()
213 } else if (LookingAtType(io::Tokenizer::TYPE_INTEGER)) { in ConsumeNumber()
239 if (LookingAtType(io::Tokenizer::TYPE_STRING)) { in ConsumeString()
243 while (LookingAtType(io::Tokenizer::TYPE_STRING)) { in ConsumeString()
385 } else if (LookingAtType(io::Tokenizer::TYPE_SYMBOL)) { in SkipStatement()
[all …]
Dparser.h149 inline bool LookingAtType(io::Tokenizer::TokenType token_type);