Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dtokenizer_unittest.cc757 TEST_F(TokenizerTest, ParseFloat) { in TEST_F() argument
758 EXPECT_DOUBLE_EQ(1 , Tokenizer::ParseFloat("1.")); in TEST_F()
759 EXPECT_DOUBLE_EQ(1e3 , Tokenizer::ParseFloat("1e3")); in TEST_F()
760 EXPECT_DOUBLE_EQ(1e3 , Tokenizer::ParseFloat("1E3")); in TEST_F()
761 EXPECT_DOUBLE_EQ(1.5e3, Tokenizer::ParseFloat("1.5e3")); in TEST_F()
762 EXPECT_DOUBLE_EQ(.1 , Tokenizer::ParseFloat(".1")); in TEST_F()
763 EXPECT_DOUBLE_EQ(.25 , Tokenizer::ParseFloat(".25")); in TEST_F()
764 EXPECT_DOUBLE_EQ(.1e3 , Tokenizer::ParseFloat(".1e3")); in TEST_F()
765 EXPECT_DOUBLE_EQ(.25e3, Tokenizer::ParseFloat(".25e3")); in TEST_F()
766 EXPECT_DOUBLE_EQ(.1e+3, Tokenizer::ParseFloat(".1e+3")); in TEST_F()
[all …]
Dtokenizer.h202 static double ParseFloat(const string& text);
Dtokenizer.cc900 double Tokenizer::ParseFloat(const string& text) { in ParseFloat() function in google::protobuf::io::Tokenizer
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/
Dtext_format.py1115 result = ParseFloat(self.token)
1407 def ParseFloat(text): function
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dtext_format.cc980 *value = io::Tokenizer::ParseFloat(tokenizer_.current().text); in ConsumeDouble()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dparser.cc237 *output = io::Tokenizer::ParseFloat(input_->current().text); in ConsumeNumber()