Searched refs:ParseFloat (Results 1 – 8 of 8) sorted by relevance
/external/protobuf/src/google/protobuf/io/ |
D | tokenizer_unittest.cc | 757 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 …]
|
D | tokenizer.h | 202 static double ParseFloat(const string& text);
|
D | tokenizer.cc | 900 double Tokenizer::ParseFloat(const string& text) { in ParseFloat() function in google::protobuf::io::Tokenizer
|
/external/libmojo/mojo/public/cpp/bindings/tests/ |
D | validation_test_input_parser.cc | 66 bool ParseFloat(const DataType& type, const std::string& value_string); 136 DATA_TYPE("[f]", 4, &ValidationTestInputParser::ParseFloat), 281 bool ValidationTestInputParser::ParseFloat(const DataType& type, in ParseFloat() function in mojo::test::__anon47eca8070111::ValidationTestInputParser
|
/external/nanopb-c/generator/google/protobuf/ |
D | text_format.py | 469 result = ParseFloat(self.token) 654 def ParseFloat(text): function
|
/external/protobuf/python/google/protobuf/ |
D | text_format.py | 970 result = ParseFloat(self.token) 1134 def ParseFloat(text): function
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser.cc | 237 *output = io::Tokenizer::ParseFloat(input_->current().text); in ConsumeNumber()
|
/external/protobuf/src/google/protobuf/ |
D | text_format.cc | 959 *value = io::Tokenizer::ParseFloat(tokenizer_.current().text); in ConsumeDouble()
|