Home
last modified time | relevance | path

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

/external/libtextclassifier/tests/
Dnumbers_test.cc27 int32 parsed_value = 0; in TestParseInt32() local
28 EXPECT_EQ(expected_parsing_success, ParseInt32(c_str, &parsed_value)); in TestParseInt32()
30 EXPECT_EQ(expected_parsed_value, parsed_value); in TestParseInt32()
53 int64 parsed_value = 0; in TestParseInt64() local
54 EXPECT_EQ(expected_parsing_success, ParseInt64(c_str, &parsed_value)); in TestParseInt64()
56 EXPECT_EQ(expected_parsed_value, parsed_value); in TestParseInt64()
79 double parsed_value = 0.0; in TestParseDouble() local
80 EXPECT_EQ(expected_parsing_success, ParseDouble(c_str, &parsed_value)); in TestParseDouble()
82 EXPECT_NEAR(expected_parsed_value, parsed_value, 0.00001); in TestParseDouble()
/external/libtextclassifier/common/
Dfeature-extractor.cc95 int32 parsed_value = default_value; in GetIntParameter() local
98 if (!ParseInt32(value.c_str(), &parsed_value)) { in GetIntParameter()
104 return parsed_value; in GetIntParameter()
/external/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.cc1034 bool parsed_value = false; in ParseArgument() local
1039 parsed_value = true; in ParseArgument()
1048 parsed_value = true; in ParseArgument()
1060 parsed_value = true; in ParseArgument()
1064 parsed_value = !value->empty(); in ParseArgument()
1071 if (parsed_value) { in ParseArgument()
/external/protobuf/src/google/protobuf/stubs/
Dstrutil.cc1274 volatile double parsed_value = strtod(buffer, NULL); in DoubleToBuffer() local
1275 if (parsed_value != value) { in DoubleToBuffer()
1386 float parsed_value; in FloatToBuffer() local
1387 if (!safe_strtof(buffer, &parsed_value) || parsed_value != value) { in FloatToBuffer()