Home
last modified time | relevance | path

Searched refs:parsed_value (Results 1 – 13 of 13) 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/grpc/src/core/ext/filters/client_channel/resolver/google_c2p/
Dgoogle_c2p_resolver.cc359 bool parsed_value; in GoogleCloud2ProdResolverInit() local
360 bool parse_succeeded = gpr_parse_bool_value(value.get(), &parsed_value); in GoogleCloud2ProdResolverInit()
361 if (parse_succeeded && parsed_value) { in GoogleCloud2ProdResolverInit()
/third_party/abseil-cpp/absl/strings/
Dnumbers_test.cc654 IntType parsed_value; in test_random_integer_parse_base() local
657 EXPECT_TRUE(parse_func(str_value, &parsed_value, base)); in test_random_integer_parse_base()
658 EXPECT_EQ(parsed_value, value); in test_random_integer_parse_base()
663 &parsed_value, base)); in test_random_integer_parse_base()
669 &parsed_value, base)); in test_random_integer_parse_base()
671 EXPECT_FALSE(parse_func(absl::StrCat("-", value), &parsed_value, base)); in test_random_integer_parse_base()
710 IntType parsed_value; in TEST() local
713 EXPECT_TRUE(parse_func(str_value, &parsed_value, base)); in TEST()
714 EXPECT_EQ(parsed_value, value); in TEST()
720 EXPECT_FALSE(parse_func(s, &parsed_value, base)); in TEST()
[all …]
/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/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/grpc/src/core/ext/xds/
Dxds_api.cc99 bool parsed_value; in XdsTimeoutEnabled() local
100 bool parse_succeeded = gpr_parse_bool_value(value, &parsed_value); in XdsTimeoutEnabled()
102 return parse_succeeded && parsed_value; in XdsTimeoutEnabled()
112 bool parsed_value; in XdsAggregateAndLogicalDnsClusterEnabled() local
113 bool parse_succeeded = gpr_parse_bool_value(value, &parsed_value); in XdsAggregateAndLogicalDnsClusterEnabled()
115 return parse_succeeded && parsed_value; in XdsAggregateAndLogicalDnsClusterEnabled()
123 bool parsed_value; in XdsRingHashEnabled() local
124 bool parse_succeeded = gpr_parse_bool_value(value, &parsed_value); in XdsRingHashEnabled()
126 return parse_succeeded && parsed_value; in XdsRingHashEnabled()
134 bool parsed_value; in XdsSecurityEnabled() local
[all …]
/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()
/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/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/grpc/src/core/ext/filters/client_channel/lb_policy/xds/
Dxds_cluster_impl.cc115 bool parsed_value; in XdsCircuitBreakingEnabled() local
116 bool parse_succeeded = gpr_parse_bool_value(value, &parsed_value); in XdsCircuitBreakingEnabled()
118 return parse_succeeded && parsed_value; in XdsCircuitBreakingEnabled()
/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()