Home
last modified time | relevance | path

Searched refs:expected_h (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/image/
Dcolorspace_op_test.cc76 T expected_h = 1. / 6. * .2 / .6; in CheckRedMax() local
81 test::FillValues<T>(&expected, {expected_h, expected_s, expected_v}); in CheckRedMax()
90 T expected_h = 1. / 6. * (2.0 + (.2 / .6)); in CheckGreenMax() local
95 test::FillValues<T>(&expected, {expected_h, expected_s, expected_v}); in CheckGreenMax()
104 T expected_h = 1. / 6. * (4.0 + (.2 / .6)); in CheckBlueMax() local
109 test::FillValues<T>(&expected, {expected_h, expected_s, expected_v}); in CheckBlueMax()
117 T expected_h = 1. / 6. * (4.0 + (-.1 / .2)); in CheckNegativeDifference() local
122 test::FillValues<T>(&expected, {expected_h, expected_s, expected_v}); in CheckNegativeDifference()
169 T expected_h = 1. / 6. * .2 / .6; in CheckRedMax() local
174 {expected_h, expected_s, expected_v}); in CheckRedMax()
[all …]
/external/rust/crates/nom/tests/
Dini.rs183 let mut expected_h: HashMap<&str, &str> = HashMap::new(); in parse_category_then_multiple_keys_and_values_test() localVariable
184 expected_h.insert("parameter", "value"); in parse_category_then_multiple_keys_and_values_test()
185 expected_h.insert("key", "value2"); in parse_category_then_multiple_keys_and_values_test()
186 assert_eq!(res, Ok((ini_after_parser, ("abcd", expected_h)))); in parse_category_then_multiple_keys_and_values_test()
217 let mut expected_h: HashMap<&str, HashMap<&str, &str>> = HashMap::new(); in parse_multiple_categories_test() localVariable
218 expected_h.insert("abcd", expected_1); in parse_multiple_categories_test()
219 expected_h.insert("category", expected_2); in parse_multiple_categories_test()
220 assert_eq!(res, Ok((ini_after_parser, expected_h))); in parse_multiple_categories_test()
Dini_str.rs179 let mut expected_h: HashMap<&str, &str> = HashMap::new(); in parse_category_then_multiple_keys_and_values_test() localVariable
180 expected_h.insert("parameter", "value"); in parse_category_then_multiple_keys_and_values_test()
181 expected_h.insert("key", "value2"); in parse_category_then_multiple_keys_and_values_test()
182 assert_eq!(res, Ok((ini_after_parser, ("abcd", expected_h)))); in parse_category_then_multiple_keys_and_values_test()
211 let mut expected_h: HashMap<&str, HashMap<&str, &str>> = HashMap::new(); in parse_multiple_categories_test() localVariable
212 expected_h.insert("abcd", expected_1); in parse_multiple_categories_test()
213 expected_h.insert("category", expected_2); in parse_multiple_categories_test()
214 assert_eq!(res, Ok(("", expected_h))); in parse_multiple_categories_test()
/external/libvpx/libvpx/test/
Dresize_test.cc332 unsigned int expected_h; in TEST_P() local
337 &expected_h, video.flag_codec_, in TEST_P()
341 EXPECT_EQ(expected_h, info->h) in TEST_P()
569 unsigned int expected_h; in TEST_P() local
571 &expected_h, video.flag_codec_, in TEST_P()
575 EXPECT_EQ(expected_h, info->h) in TEST_P()
597 unsigned int expected_h; in TEST_P() local
599 &expected_h, video.flag_codec_, in TEST_P()
603 EXPECT_EQ(expected_h, info->h) in TEST_P()
/external/libaom/libaom/test/
Dresize_test.cc232 unsigned int expected_h; in TEST_P() local
234 &expected_h, 0); in TEST_P()
237 EXPECT_EQ(expected_h, info->h) in TEST_P()
454 unsigned int expected_h; in TEST_P() local
456 &expected_h, 1); in TEST_P()
459 EXPECT_EQ(expected_h, info->h) in TEST_P()
/external/boringssl/src/crypto/trust_token/
Dtrust_token_test.cc91 bssl::UniquePtr<EC_POINT> expected_h(EC_POINT_new(group)); in TEST() local
92 ASSERT_TRUE(expected_h); in TEST()
94 group, &expected_h->raw, kHLabel, sizeof(kHLabel), kHGen, sizeof(kHGen))); in TEST()
97 EC_POINT_point2oct(group, expected_h.get(), POINT_CONVERSION_UNCOMPRESSED, in TEST()
113 bssl::UniquePtr<EC_POINT> expected_h(EC_POINT_new(group)); in TEST() local
114 ASSERT_TRUE(expected_h); in TEST()
116 group, &expected_h->raw, kHLabel, sizeof(kHLabel), kHGen, sizeof(kHGen))); in TEST()
119 EC_POINT_point2oct(group, expected_h.get(), POINT_CONVERSION_UNCOMPRESSED, in TEST()
/external/vixl/test/aarch32/
Dtest-utils-aarch32.cc165 bool Equal128(uint64_t expected_h, in Equal128() argument
169 vec128_t expected = {expected_l, expected_h}; in Equal128()
Dtest-utils-aarch32.h192 bool Equal128(uint64_t expected_h,
Dtest-assembler-aarch32.cc184 #define ASSERT_EQUAL_128(expected_h, expected_l, result) argument
200 #define ASSERT_EQUAL_128(expected_h, expected_l, result) \
201 VIXL_CHECK(Equal128(expected_h, expected_l, &core, result))
/external/vixl/test/aarch64/
Dtest-assembler-aarch64.h317 #define ASSERT_EQUAL_128(expected_h, expected_l, result) \ argument
318 VIXL_CHECK(Equal128(expected_h, expected_l, &core, result))
Dtest-utils-aarch64.cc210 bool Equal128(uint64_t expected_h, in Equal128() argument
217 expected.SetLane(1, expected_h); in Equal128()
Dtest-utils-aarch64.h379 bool Equal128(uint64_t expected_h,
Dtest-assembler-sve-aarch64.cc6532 uint64_t expected_h[] = in TEST_SVE() local
6535 ASSERT_EQUAL_SVE(expected_h, z1.VnD()); in TEST_SVE()
6536 ASSERT_EQUAL_SVE(expected_h, z5.VnD()); in TEST_SVE()
12203 uint16_t expected_h[] = {Float16ToRawbits(Float16(1048.0)), in TEST_SVE() local
12211 FPBinArithHelper(config, fn, kHRegSize, zn_inputs, zm_inputs, expected_h); in TEST_SVE()
12247 uint16_t expected_h[] = {Float16ToRawbits(Float16(-1000.0)), in TEST_SVE() local
12255 FPBinArithHelper(config, fn, kHRegSize, zn_inputs, zm_inputs, expected_h); in TEST_SVE()
12291 uint16_t expected_h[] = {Float16ToRawbits(Float16(24576.0)), in TEST_SVE() local
12299 FPBinArithHelper(config, fn, kHRegSize, zn_inputs, zm_inputs, expected_h); in TEST_SVE()
12913 uint64_t expected_h[] = {0xff6e, 0xfd2a, 0x0008, 0x1119, in TEST_SVE() local
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/trust_token/
Dtrust_token_test.cc79 bssl::UniquePtr<EC_POINT> expected_h(EC_POINT_new(group)); in TEST() local
80 ASSERT_TRUE(expected_h); in TEST()
82 group, &expected_h->raw, kHLabel, sizeof(kHLabel), kHGen, sizeof(kHGen))); in TEST()
85 EC_POINT_point2oct(group, expected_h.get(), POINT_CONVERSION_UNCOMPRESSED, in TEST()