Home
last modified time | relevance | path

Searched refs:expected_output (Results 1 – 25 of 53) sorted by relevance

123

/third_party/mbedtls/tests/suites/
Dtest_suite_aria.function63 data_t *expected_output, int setkey_result)
80 ASSERT_COMPARE(output, expected_output->len,
81 expected_output->x, expected_output->len);
91 data_t *expected_output, int setkey_result)
108 ASSERT_COMPARE(output, expected_output->len,
109 expected_output->x, expected_output->len);
119 data_t *src_str, data_t *expected_output,
133 ASSERT_COMPARE(output, expected_output->len,
134 expected_output->x, expected_output->len);
144 data_t *src_str, data_t *expected_output,
[all …]
Dtest_suite_pkcs12.function24 data_t *expected_output, int expected_status)
62 ASSERT_COMPARE(expected_output->x, expected_output->len,
Dtest_suite_psa_crypto_driver_wrappers.function497 data_t *expected_output,
527 expected_output->x;
529 expected_output->len;
549 expected_output->x, expected_output->len);
625 data_t *expected_output,
654 expected_output->x;
656 expected_output->len;
676 expected_output->x, expected_output->len);
760 const uint8_t *expected_output = NULL;
775 expected_output =
[all …]
/third_party/ffmpeg/tests/dnn/
Ddnn-layer-pad-test.c52 float expected_output[1*9*9*3] = { in test_with_mode_symmetric() local
85 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test_with_mode_symmetric()
86 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_mode_symmetric()
87 … printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test_with_mode_symmetric()
122 float expected_output[6*2*2*3] = { in test_with_mode_reflect() local
150 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test_with_mode_reflect()
151 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_mode_reflect()
152 … printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test_with_mode_reflect()
187 float expected_output[1*3*2*6] = { in test_with_mode_constant() local
216 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test_with_mode_constant()
[all …]
Ddnn-layer-avgpool-test.c69 float expected_output[] = { in test_with_same() local
97 for (int i = 0; i < sizeof(expected_output) / sizeof(float); ++i) { in test_with_same()
98 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_same()
99 … printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test_with_same()
152 float expected_output[1*4*5*3] = { in test_with_valid() local
177 for (int i = 0; i < sizeof(expected_output) / sizeof(float); ++i) { in test_with_valid()
178 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_valid()
179 … printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test_with_valid()
Ddnn-layer-conv2d-test.c80 float expected_output[1*5*6*2] = { in test_with_same_dilate() local
124 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test_with_same_dilate()
125 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_same_dilate()
126 … printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test_with_same_dilate()
188 float expected_output[1*3*4*2] = { in test_with_valid() local
228 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test_with_valid()
229 if (fabs(output[i] - expected_output[i]) > EPSON) { in test_with_valid()
230 … printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test_with_valid()
Ddnn-layer-mathbinary-test.c78 float expected_output = get_expected(params.v, input[i], op); in test_broadcast_input0() local
79 if (fabs(output[i] - expected_output) > EPSON) { in test_broadcast_input0()
81 op, i, output[i], expected_output, __FILE__, __LINE__); in test_broadcast_input0()
118 float expected_output = get_expected(input[i], params.v, op); in test_broadcast_input1() local
119 if (fabs(output[i] - expected_output) > EPSON) { in test_broadcast_input1()
121 op, i, output[i], expected_output, __FILE__, __LINE__); in test_broadcast_input1()
166 float expected_output = get_expected(input0[i], input1[i], op); in test_no_broadcast() local
167 if (fabs(output[i] - expected_output) > EPSON) { in test_no_broadcast()
169 op, i, output[i], expected_output, __FILE__, __LINE__); in test_no_broadcast()
Ddnn-layer-depth2space-test.c65 float expected_output[1*10*6*1] = { in test() local
87 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test()
88 if (fabs(output[i] - expected_output[i]) > EPSON) { in test()
89 … printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test()
Ddnn-layer-dense-test.c79 float expected_output[1*5*6*3] = { in test() local
113 for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { in test()
114 if (fabs(output[i] - expected_output[i]) > EPSON) { in test()
115 … printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output[i]); in test()
Ddnn-layer-mathunary-test.c94 float expected_output = get_expected(input[i], op); in test() local
96 int expected_nan = isnan(expected_output); in test()
97 if ((!output_nan && !expected_nan && fabs(output[i] - expected_output) > EPS) || in test()
99 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output); in test()
Ddnn-layer-maximum-test.c52 float expected_output = input[i] > params.val.y ? input[i] : params.val.y; in test() local
53 if (fabs(output[i] - expected_output) > EPSON) { in test()
54 printf("at index %d, output: %f, expected_output: %f\n", i, output[i], expected_output); in test()
/third_party/curl/tests/unit/
Dunit1604.c82 const char *expected_output; member
313 ((!output && !data[i].expected_output) ||
314 (output && data[i].expected_output &&
315 !strcmp(output, data[i].expected_output)))) { /* OK */
341 (data[i].expected_output ? data[i].expected_output : "(null)"),
/third_party/openssl/demos/mac/
Dsiphash.c36 static const unsigned char expected_output[] = { variable
111 if (out_len != sizeof(expected_output)) { in main()
116 if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) { in main()
Dgmac.c47 static const unsigned char expected_output[] = { variable
127 if (out_len != sizeof(expected_output)) { in main()
132 if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) { in main()
Dcmac-aes256.c56 static const unsigned char expected_output[] = { variable
134 if (out_len != sizeof(expected_output)) { in main()
139 if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) { in main()
Dhmac-sha512.c60 static const unsigned char expected_output[] = { variable
145 if (out_len != sizeof(expected_output)) { in main()
150 if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) { in main()
Dpoly1305.c74 static const unsigned char expected_output[] = { variable
189 if (out_len != sizeof(expected_output)) { in main()
194 if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) { in main()
/third_party/node/deps/v8/tools/clusterfuzz/foozzie/
Dv8_foozzie_test.py284 expected_output = f.read()
292 self.assertEqual(expected_output, cut_verbose_output(e.output, 2))
296 expected_output = f.read()
301 self.assertEqual(expected_output, e.output)
320 expected_output = f.read()
328 self.assertEqual(expected_output, cut_verbose_output(e.output, 3))
335 expected_output = f.read()
343 self.assertEqual(expected_output, cut_verbose_output(e.output, 3))
/third_party/benchmark/tools/gbench/
Dreport.py467 expected_output = [
550 self.assertEqual(len(self.json_diff_report), len(expected_output))
552 self.json_diff_report, expected_output):
598 expected_output = [
634 self.assertEqual(len(self.json_diff_report), len(expected_output))
636 self.json_diff_report, expected_output):
762 expected_output = [
838 self.assertEqual(len(self.json_diff_report), len(expected_output))
840 self.json_diff_report, expected_output):
921 expected_output = [
[all …]
/third_party/openssl/demos/kdf/
Dpbkdf2.c46 static const unsigned char expected_output[] = { variable
106 if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) { in main()
Dscrypt.c48 static const unsigned char expected_output[] = { variable
109 if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) { in main()
/third_party/protobuf/src/google/protobuf/compiler/ruby/
Druby_generator_unittest.cc99 string expected_output; in RubyTest() local
102 &expected_output, in RubyTest()
104 EXPECT_EQ(expected_output, output); in RubyTest()
/third_party/googletest/googletest/test/
Dgtest_list_output_unittest.py268 def _TestOutput(self, test_format, expected_output): argument
271 expected_lines = expected_output.splitlines()
280 'on line %d' % (actual, expected_output, line_count)))
/third_party/python/Lib/test/
Dtest_dtrace.py53 expected_output = f.read().rstrip()
55 return (expected_output, actual_output)
113 actual_output, expected_output = self.backend.run_case(
115 self.assertEqual(actual_output, expected_output)
/third_party/python/Lib/idlelib/idle_test/
Dtest_outwin.py159 for line, expected_output in test_lines:
160 self.assertEqual(flh(line), expected_output)
161 if expected_output:
162 mock_open.assert_called_with(expected_output[0], 'r')

123