/external/libtextclassifier/utils/strings/ |
D | numbers_test.cc | 27 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/lang_id/common/lite_strings/ |
D | numbers.cc | 56 const long int parsed_value = strtol(c_str, &temp, 0); // NOLINT in LiteAtoi() local 62 if ((parsed_value == LONG_MIN) || (parsed_value == LONG_MAX) || in LiteAtoi() 63 (parsed_value < INT_MIN) || (parsed_value > INT_MAX)) { in LiteAtoi() 66 *value = static_cast<int>(parsed_value); in LiteAtoi()
|
/external/libtextclassifier/annotator/number/ |
D | number.cc | 31 int64 parsed_value; in ClassifyText() local 36 &parsed_value, &num_prefix_codepoints, in ClassifyText() 43 classification_result->numeric_value = parsed_value; in ClassifyText() 61 int64 parsed_value; in FindAll() local 64 if (ParseNumber(token_text, &parsed_value, &num_prefix_codepoints, in FindAll() 68 classification.numeric_value = parsed_value; in FindAll()
|
/external/libchrome/base/json/ |
D | json_correctness_fuzzer.cc | 38 auto parsed_value = base::JSONReader::ReadAndReturnError( in LLVMFuzzerTestOneInput() local 41 if (!parsed_value) in LLVMFuzzerTestOneInput() 45 bool b = base::JSONWriter::Write(*parsed_value, &parsed_output); in LLVMFuzzerTestOneInput()
|
/external/libbrillo/brillo/imageloader/ |
D | manifest.cc | 53 std::string parsed_value; in ParseMetadata() local 54 if (!it.value().GetAsString(&parsed_value)) { in ParseMetadata() 59 (*out_metadata)[it.key()] = std::move(parsed_value); in ParseMetadata()
|
/external/libtextclassifier/annotator/duration/ |
D | duration.cc | 254 int32 parsed_value; in ParseQuantityToken() local 255 if (ParseInt32(token_value.c_str(), &parsed_value)) { in ParseQuantityToken() 256 value->value = parsed_value; in ParseQuantityToken()
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | settings.py | 158 parsed_key, parsed_value = _ParseContentRow(query_row) 163 return parsed_value
|
/external/dynamic_depth/internal/strings/ |
D | numbers.cc | 534 float parsed_value; in FloatToBuffer() local 535 if (!safe_strtof(buffer, &parsed_value) || parsed_value != value) { in FloatToBuffer()
|
/external/tensorflow/tensorflow/contrib/training/python/training/ |
D | hparam.py | 83 parsed_value = parse_fn(m_dict['val']) 91 results_dictionary[name] = parsed_value 105 results_dictionary[name][index] = parsed_value
|
/external/tensorflow/tensorflow/core/lib/strings/ |
D | numbers.cc | 375 float parsed_value; in FloatToBuffer() local 376 if (!safe_strtof(buffer, &parsed_value) || parsed_value != value) { in FloatToBuffer()
|
/external/deqp-deps/glslang/gtests/ |
D | HexFloat.cpp | 1014 HexFloat<FloatProxy<float>> parsed_value(0.0f); in TEST_P() local 1015 ParseNormalFloat(input, GetParam().negate_value, parsed_value); in TEST_P() 1020 EXPECT_THAT(parsed_value.value(), Eq(GetParam().expected_value.value())) in TEST_P() 1081 HexFloat<FloatProxy<Float16>> parsed_value(0); in TEST_P() local 1082 ParseNormalFloat(input, GetParam().negate_value, parsed_value); in TEST_P() 1087 EXPECT_THAT(parsed_value.value(), Eq(GetParam().expected_value.value())) in TEST_P()
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | hex_float_test.cpp | 1112 HexFloat<FloatProxy<float>> parsed_value(0.0f); in TEST_P() local 1113 ParseNormalFloat(input, GetParam().negate_value, parsed_value); in TEST_P() 1118 EXPECT_THAT(parsed_value.value(), Eq(GetParam().expected_value.value())) in TEST_P() 1179 HexFloat<FloatProxy<Float16>> parsed_value(0); in TEST_P() local 1180 ParseNormalFloat(input, GetParam().negate_value, parsed_value); in TEST_P() 1185 EXPECT_THAT(parsed_value.value(), Eq(GetParam().expected_value.value())) in TEST_P()
|
/external/deqp-deps/SPIRV-Tools/test/ |
D | hex_float_test.cpp | 1112 HexFloat<FloatProxy<float>> parsed_value(0.0f); in TEST_P() local 1113 ParseNormalFloat(input, GetParam().negate_value, parsed_value); in TEST_P() 1118 EXPECT_THAT(parsed_value.value(), Eq(GetParam().expected_value.value())) in TEST_P() 1179 HexFloat<FloatProxy<Float16>> parsed_value(0); in TEST_P() local 1180 ParseNormalFloat(input, GetParam().negate_value, parsed_value); in TEST_P() 1185 EXPECT_THAT(parsed_value.value(), Eq(GetParam().expected_value.value())) in TEST_P()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | command_line_interface.cc | 1034 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/ |
D | strutil.cc | 1274 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()
|