Searched refs:ParseInteger (Results 1 – 6 of 6) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/ |
D | tokenizer_unittest.cc | 182 uint64 ParseInteger(const string& text) { in ParseInteger() function in google::protobuf::io::__anon4cc70b290111::TokenizerTest 184 EXPECT_TRUE(Tokenizer::ParseInteger(text, kuint64max, &result)); in ParseInteger() 726 TEST_F(TokenizerTest, ParseInteger) { in TEST_F() argument 727 EXPECT_EQ(0, ParseInteger("0")); in TEST_F() 728 EXPECT_EQ(123, ParseInteger("123")); in TEST_F() 729 EXPECT_EQ(0xabcdef12u, ParseInteger("0xabcdef12")); in TEST_F() 730 EXPECT_EQ(0xabcdef12u, ParseInteger("0xABCDEF12")); in TEST_F() 731 EXPECT_EQ(kuint64max, ParseInteger("0xFFFFFFFFFFFFFFFF")); in TEST_F() 732 EXPECT_EQ(01234567, ParseInteger("01234567")); in TEST_F() 733 EXPECT_EQ(0X123, ParseInteger("0X123")); in TEST_F() [all …]
|
D | tokenizer.h | 217 static bool ParseInteger(const string& text, uint64 max_value,
|
D | tokenizer.cc | 861 bool Tokenizer::ParseInteger(const string& text, uint64 max_value, in ParseInteger() function in google::protobuf::io::Tokenizer
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/ |
D | text_format.py | 622 number = ParseInteger(name, True, True) 1351 result = ParseInteger(tokenizer.token, is_signed=is_signed, is_long=is_long) 1358 def ParseInteger(text, is_signed=False, is_long=False): function
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/ |
D | parser.cc | 190 if (!io::Tokenizer::ParseInteger(input_->current().text, in ConsumeInteger() 221 if (!io::Tokenizer::ParseInteger(input_->current().text, max_value, in ConsumeInteger64() 243 if (!io::Tokenizer::ParseInteger(input_->current().text, in ConsumeNumber()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | text_format.cc | 893 if (!io::Tokenizer::ParseInteger(tokenizer_.current().text, in ConsumeUnsignedInteger() 949 if (!io::Tokenizer::ParseInteger(text, max_value, value)) { in ConsumeUnsignedDecimalInteger()
|