Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dnumbers_test.cc703 IntType parsed_value; in test_random_integer_parse_base() local
706 EXPECT_TRUE(parse_func(str_value, &parsed_value, base)); in test_random_integer_parse_base()
707 EXPECT_EQ(parsed_value, value); in test_random_integer_parse_base()
712 &parsed_value, base)); in test_random_integer_parse_base()
718 &parsed_value, base)); in test_random_integer_parse_base()
720 EXPECT_FALSE(parse_func(absl::StrCat("-", value), &parsed_value, base)); in test_random_integer_parse_base()
759 IntType parsed_value; in TEST() local
762 EXPECT_TRUE(parse_func(str_value, &parsed_value, base)); in TEST()
763 EXPECT_EQ(parsed_value, value); in TEST()
769 EXPECT_FALSE(parse_func(s, &parsed_value, base)); in TEST()
[all …]
/third_party/gn/src/gn/
Dinput_conversion.cc141 Value parsed_value = in ParseJSONValue() local
156 scope->SetValue(key, std::move(parsed_value), origin); in ParseJSONValue()
164 Value parsed_value = in ParseJSONValue() local
166 result.list_value().push_back(parsed_value); in ParseJSONValue()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Dhex_float_test.cpp1112 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()
1355 HexFloat<FloatProxy<float>> parsed_value(0.0f); in TEST_P() local
1357 input >> parsed_value; in TEST_P()
1363 EXPECT_EQ(parsed_value.value().getAsFloat(), in TEST_P()
/third_party/spirv-tools/test/
Dhex_float_test.cpp1112 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()
1355 HexFloat<FloatProxy<float>> parsed_value(0.0f); in TEST_P() local
1357 input >> parsed_value; in TEST_P()
1363 EXPECT_EQ(parsed_value.value().getAsFloat(), in TEST_P()
/third_party/skia/third_party/externals/spirv-tools/test/
Dhex_float_test.cpp1112 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()
1355 HexFloat<FloatProxy<float>> parsed_value(0.0f); in TEST_P() local
1357 input >> parsed_value; in TEST_P()
1363 EXPECT_EQ(parsed_value.value().getAsFloat(), in TEST_P()
/third_party/glslang/gtests/
DHexFloat.cpp1014 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()
/third_party/flutter/skia/third_party/externals/spirv-tools/test/
Dhex_float_test.cpp1017 HexFloat<FloatProxy<float>> parsed_value(0.0f); in TEST_P() local
1018 ParseNormalFloat(input, GetParam().negate_value, parsed_value); in TEST_P()
1023 EXPECT_THAT(parsed_value.value(), Eq(GetParam().expected_value.value())) in TEST_P()
1084 HexFloat<FloatProxy<Float16>> parsed_value(0); in TEST_P() local
1085 ParseNormalFloat(input, GetParam().negate_value, parsed_value); in TEST_P()
1090 EXPECT_THAT(parsed_value.value(), Eq(GetParam().expected_value.value())) in TEST_P()
/third_party/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.cc1471 bool parsed_value = false; in ParseArgument() local
1476 parsed_value = true; in ParseArgument()
1485 parsed_value = true; in ParseArgument()
1497 parsed_value = true; in ParseArgument()
1501 parsed_value = !value->empty(); in ParseArgument()
1508 if (parsed_value) { in ParseArgument()
/third_party/protobuf/src/google/protobuf/stubs/
Dstrutil.cc1276 volatile double parsed_value = internal::NoLocaleStrtod(buffer, nullptr); in DoubleToBuffer() local
1277 if (parsed_value != value) { in DoubleToBuffer()
1388 float parsed_value; in FloatToBuffer() local
1389 if (!safe_strtof(buffer, &parsed_value) || parsed_value != value) { in FloatToBuffer()