Searched refs:numeric_double_value (Results 1 – 5 of 5) sorted by relevance
/external/libtextclassifier/native/annotator/number/ |
D | number_test-include.cc | 79 MATCHER_P(IsCorrectNumericDoubleValue, numeric_double_value, 80 "numeric double value is " + std::to_string(numeric_double_value)) { 81 return arg.numeric_double_value == numeric_double_value; 124 EXPECT_FLOAT_EQ(classification_result.numeric_double_value, 12345); in TEST_F() 135 EXPECT_FLOAT_EQ(classification_result.numeric_double_value, 12345.12345); in TEST_F() 152 EXPECT_FLOAT_EQ(classification_result.numeric_double_value, 12345); in TEST_F() 159 EXPECT_FLOAT_EQ(classification_result.numeric_double_value, 12345); in TEST_F() 212 EXPECT_EQ(classification_result.numeric_double_value, 14); in TEST_F() 227 EXPECT_EQ(classification_result.numeric_double_value, 99); in TEST_F() 238 EXPECT_EQ(classification_result.numeric_double_value, 15); in TEST_F() [all …]
|
D | number.cc | 284 classification.numeric_double_value = double_value; in CreateAnnotatedSpan()
|
/external/libtextclassifier/native/annotator/ |
D | types.h | 443 double numeric_double_value; member 462 numeric_double_value(0.), in ClassificationResult() 470 numeric_double_value(0.), in ClassificationResult() 479 numeric_double_value(0.), in ClassificationResult()
|
D | types.cc | 184 fabs(a.numeric_double_value - b.numeric_double_value) < 0.001 && in ClassificationResultsEqualIgnoringScoresAndSerializedEntityData()
|
D | annotator_jni.cc | 299 classification_result.numeric_double_value); in ClassificationResultWithIntentsToJObject()
|