Home
last modified time | relevance | path

Searched refs:ConsumeInteger (Results 1 – 4 of 4) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Dtext_format_test.py1698 (tokenizer.ConsumeInteger, 123),
1719 (tokenizer.ConsumeInteger, 22),
1721 (tokenizer.ConsumeInteger, -111111111111111111),
1723 (tokenizer.ConsumeInteger, -22),
1725 (tokenizer.ConsumeInteger, 2222222222222222222),
1769 self.assertEqual(-1, tokenizer.ConsumeInteger())
1771 self.assertEqual(uint32_max + 1, tokenizer.ConsumeInteger())
1773 self.assertEqual(int64_max + 1, tokenizer.ConsumeInteger())
1778 self.assertEqual(0, tokenizer.ConsumeInteger())
1779 self.assertEqual(0, tokenizer.ConsumeInteger())
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc243 bool Parser::ConsumeInteger(int* output, const char* error) { in ConsumeInteger() function in google::protobuf::compiler::Parser
1033 DO(ConsumeInteger(&number, "Expected field number.")); in ParseMessageFieldNoLabel()
1581 DO(ConsumeInteger(&start, "Expected field number range.")); in ParseExtensions()
1593 DO(ConsumeInteger(&end, "Expected integer.")); in ParseExtensions()
1702 DO(ConsumeInteger(&start, (first ? "Expected field name or number range." in ParseReservedNumbers()
1715 DO(ConsumeInteger(&end, "Expected integer.")); in ParseReservedNumbers()
Dparser.h170 bool ConsumeInteger(int* output, const char* error);
/external/protobuf/python/google/protobuf/
Dtext_format.py1347 self.ConsumeInteger()
1352 def ConsumeInteger(self, is_long=False): member in Tokenizer