Home
last modified time | relevance | path

Searched refs:ParseInteger (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dtokenizer_unittest.cc182 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 …]
Dtokenizer.h217 static bool ParseInteger(const string& text, uint64 max_value,
Dtokenizer.cc861 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/
Dtext_format.py622 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/
Dparser.cc190 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/
Dtext_format.cc893 if (!io::Tokenizer::ParseInteger(tokenizer_.current().text, in ConsumeUnsignedInteger()
949 if (!io::Tokenizer::ParseInteger(text, max_value, value)) { in ConsumeUnsignedDecimalInteger()