/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
D | test_VIDIOC_ENUMOUTPUT.c | 41 struct v4l2_output output2; in test_VIDIOC_ENUMOUTPUT() local 77 memset(&output2, 0, sizeof(output2)); in test_VIDIOC_ENUMOUTPUT() 78 output2.index = output.index; in test_VIDIOC_ENUMOUTPUT() 79 strncpy((char *)output2.name, (char *)output.name, in test_VIDIOC_ENUMOUTPUT() 80 sizeof(output2.name)); in test_VIDIOC_ENUMOUTPUT() 81 output2.type = output.type; in test_VIDIOC_ENUMOUTPUT() 82 output2.audioset = output.audioset; in test_VIDIOC_ENUMOUTPUT() 83 output2.modulator = output.modulator; in test_VIDIOC_ENUMOUTPUT() 84 output2.std = output.std; in test_VIDIOC_ENUMOUTPUT() 86 (&output, &output2, sizeof(output)), 0); in test_VIDIOC_ENUMOUTPUT() [all …]
|
/third_party/boost/libs/phoenix/test/algorithm/ |
D | transformation3.cpp | 56 int output2[6]; in merge_test() local 57 …BOOST_TEST(boost::phoenix::merge(arg1, arg2, arg3, std::greater<int>())(array3, array4, output2) == in merge_test() 58 output2 + 6); in merge_test() 60 BOOST_TEST(std::equal(output2, output2 + 6, expected_result2)); in merge_test() 95 int output2[4]; in set_union_test() local 97 (array3, array4, output2) == in set_union_test() 98 output2 + 4); in set_union_test() 100 BOOST_TEST(std::equal(output2, output2 + 4, expected_result2)); in set_union_test() 119 int output2[2]; in set_intersection_test() local 121 (array3, array4, output2) == in set_intersection_test() [all …]
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_random.function | 27 unsigned char output2[OUTPUT_SIZE]; 47 output2, sizeof( output2 ) ) ); 52 TEST_ASSERT( memcmp( output1, output2, OUTPUT_SIZE ) != 0 ); 66 unsigned char output2[OUTPUT_SIZE]; 87 output2, sizeof( output2 ) ) ); 92 TEST_ASSERT( memcmp( output1, output2, OUTPUT_SIZE ) != 0 ); 104 unsigned char output2[OUTPUT_SIZE]; 115 output2, sizeof( output2 ) ) ); 119 TEST_ASSERT( memcmp( output1, output2, OUTPUT_SIZE ) != 0 ); 130 unsigned char output2[OUTPUT_SIZE]; [all …]
|
/third_party/mindspore/tests/st/ops/cpu/ |
D | test_random_choice_with_mask_op.py | 70 output1, output2 = rcwm(input_tensor) 72 assert output2.shape == expect2 85 output1, output2 = rcwm(input_tensor) 87 assert output2.shape == expect2 100 output1, output2 = rcwm(input_tensor) 102 assert output2.shape == expect2 117 output1, output2 = rcwm(input_tensor) 119 print(output2) 121 assert np.array_equal(output2.asnumpy(), expect_mask)
|
D | test_squared_difference_op.py | 53 output2 = net(Tensor(x2), Tensor(y2)).asnumpy() 56 assert np.all(expect2 == output2) 57 assert output2.shape == expect2.shape 82 output2 = net(Tensor(x2), Tensor(y2)).asnumpy() 85 assert np.all(expect2 == output2) 86 assert output2.shape == expect2.shape
|
/third_party/mindspore/tests/st/ops/gpu/ |
D | test_random_choice_with_mask.py | 70 output1, output2 = rcwm(input_tensor) 72 assert output2.shape == expect2 85 output1, output2 = rcwm(input_tensor) 87 assert output2.shape == expect2 100 output1, output2 = rcwm(input_tensor) 102 assert output2.shape == expect2 117 output1, output2 = rcwm(input_tensor) 119 print(output2) 121 assert np.array_equal(output2.asnumpy(), expect_mask)
|
D | test_float_status_op.py | 76 output2 = ms_status(Tensor(x2)) 78 assert output2.asnumpy()[0] == expect2 94 output2 = ms_isnan(Tensor(x2)) 96 assert (output2.asnumpy() == expect2).all() 112 output2 = ms_isinf(Tensor(x2)) 114 assert (output2.asnumpy() == expect2).all() 130 output2 = ms_isfinite(Tensor(x2)) 132 assert (output2.asnumpy() == expect2).all()
|
D | test_maxpool_with_argmax_gpu_op.py | 133 output2, index2 = maxpool2d2(x) 136 assert (output2.asnumpy() == expect_result2).all() 143 output2, index2 = maxpool2d2(x) 146 assert (output2.asnumpy() == expect_result2).all() 186 output2, index2 = maxpool2d2(x) 189 assert (output2.asnumpy() == expect_result2).all() 196 output2, index2 = maxpool2d2(x) 199 assert (output2.asnumpy() == expect_result2).all()
|
D | test_sparse_apply_proximal_adagrad_op.py | 55 output1, output2 = add_testcase(var, accum, lr, l1, l2, grad, indices) 63 np.testing.assert_array_almost_equal(output2.asnumpy(), expect2) 98 output1, output2 = add_testcase(var, accum, lr, l1, l2, grad, indices) 106 np.testing.assert_array_almost_equal(output2.asnumpy(), expect2) 119 output1, output2 = add_testcase(var, accum, lr, l1, l2, grad, indices) 127 np.testing.assert_array_almost_equal(output2.asnumpy(), expect2) 140 output1, output2 = add_testcase(var, accum, lr, l1, l2, grad, indices) 155 np.testing.assert_array_almost_equal(output2.asnumpy(), expect2)
|
D | test_assign_add_op.py | 69 output2 = add(y1) 70 assert (output2.asnumpy() == expect2).all() 77 output2 = add(y2) 78 assert (output2.asnumpy() == expect2).all()
|
D | test_mul_op.py | 73 output2 = mul_net(x2, y2) 75 diff2 = output2.asnumpy() - expect2 78 assert output2.shape == expect2.shape 110 output2 = mul_net(x2, y2) 112 diff2 = output2.asnumpy() - expect2 115 assert output2.shape == expect2.shape 190 output2 = mul_net(x2, y2) 194 diff2 = output2.asnumpy() - expect2 200 assert output2.shape == expect2.shape
|
D | test_realdiv_op.py | 76 output2 = real_div(x2, y2) 78 diff2 = output2.asnumpy() - expect2 81 assert output2.shape == expect2.shape 113 output2 = real_div(x2, y2) 115 diff2 = output2.asnumpy() - expect2 118 assert output2.shape == expect2.shape
|
D | test_sub_op.py | 83 output2 = sub_net(x2, y2) 92 diff2 = output2.asnumpy() - expect2 94 assert output2.shape == expect2.shape 106 output2 = sub_net(x2, y2) 115 diff2 = output2.asnumpy() - expect2 117 assert output2.shape == expect2.shape
|
/third_party/PyYAML/tests/lib/ |
D | test_recursive.py | 32 output2 = None 36 output2 = yaml.dump(value2) 37 assert output1 == output2, (output1, output2) 45 print(output2)
|
/third_party/boost/libs/range/test/adaptor_test/ |
D | ticket_6742_transformed_c4789_warning.cpp | 51 std::vector<double> output2; in range_transformed_warning() local 52 boost::push_back(output2, v | transformed(get_x())); in range_transformed_warning() 56 output2.begin(), output2.end()); in range_transformed_warning()
|
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/int8/ |
D | split_int8_tests.cc | 42 int8_t output2[8]; in TEST_F() local 68 output2_tensor->set_data(output2); in TEST_F() 103 PrintData("output data", output2, output2_size); in TEST_F() 106 ASSERT_EQ(0, CompareOutputData(output2, except_result2.data(), output2_size, 0.000001)); in TEST_F() 127 int8_t output2[4]; in TEST_F() local 156 output2_tensor->set_data(output2); in TEST_F() 195 PrintData("output data", output2, output2_size); in TEST_F() 200 ASSERT_EQ(0, CompareOutputData(output2, except_result2.data(), output2_size, 0.000001)); in TEST_F() 224 int8_t output2[4]; in TEST_F() local 253 output2_tensor->set_data(output2); in TEST_F() [all …]
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/cl/ |
D | split.cl | 37 … __write_only image2d_t output2, __global int *split_sizes_, int4 in_shape, 49 WRITE_IMAGE(output2, (int2)(coordinate_y, coordinate_x), result); 54 … __write_only image2d_t output2, __global int *split_sizes_, int4 in_shape, 65 WRITE_IMAGE(output2, (int2)(coordinate_y, coordinate_x), result); 70 … __write_only image2d_t output2, __global int *split_sizes_, int4 in_shape, 81 WRITE_IMAGE(output2, (int2)(coordinate_y, coordinate_x), result); 123 … __write_only image2d_t output2, __global int *split_sizes_, int4 in_shape, 128 index_input = dosplit(input, output2, out_shape2, IN, IH, IW, index_input);
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/ |
D | transpose_fp32.c | 43 const int output2 = output_shape[2]; in TransposeDim3Fp32() local 50 for (int k = 0; k < output2; ++k) { in TransposeDim3Fp32() 68 const int output2 = output_shape[2]; in TransposeDim4Fp32() local 77 for (int k = 0; k < output2; ++k) { in TransposeDim4Fp32() 102 const int output2 = output_shape[2]; in TransposeDim5Fp32() local 112 for (int k = 0; k < output2; ++k) { in TransposeDim5Fp32() 143 const int output2 = output_shape[2]; in TransposeDim6Fp32() local 154 for (int k = 0; k < output2; ++k) { in TransposeDim6Fp32()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/ |
D | transpose_fp16.c | 45 const int output2 = output_shape[2]; in Fp16TransposeDim3() local 52 for (int k = 0; k < output2; ++k) { in Fp16TransposeDim3() 70 const int output2 = output_shape[2]; in Fp16TransposeDim4() local 79 for (int k = 0; k < output2; ++k) { in Fp16TransposeDim4() 104 const int output2 = output_shape[2]; in Fp16TransposeDim5() local 114 for (int k = 0; k < output2; ++k) { in Fp16TransposeDim5() 145 const int output2 = output_shape[2]; in Fp16TransposeDim6() local 156 for (int k = 0; k < output2; ++k) { in Fp16TransposeDim6()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/ |
D | transpose_int8.c | 43 const int output2 = output_shape[2]; in TransposeDim3Int8() local 50 for (int k = 0; k < output2; ++k) { in TransposeDim3Int8() 68 const int output2 = output_shape[2]; in TransposeDim4Int8() local 77 for (int k = 0; k < output2; ++k) { in TransposeDim4Int8() 102 const int output2 = output_shape[2]; in TransposeDim5Int8() local 112 for (int k = 0; k < output2; ++k) { in TransposeDim5Int8() 144 const int output2 = output_shape[2]; in TransposeDim6Int8() local 155 for (int k = 0; k < output2; ++k) { in TransposeDim6Int8()
|
/third_party/ffmpeg/libavcodec/ |
D | msvideo1enc.c | 46 int output2[16*3]; member 165 … avpriv_init_elbg(c->block2 + i*4*3, 3, 4, c->codebook2 + i*2*3, 2, 1, c->output2 + i*4, &c->rnd); in encode_frame() 166 … avpriv_do_elbg (c->block2 + i*4*3, 3, 4, c->codebook2 + i*2*3, 2, 1, c->output2 + i*4, &c->rnd); in encode_frame() 169 if(!c->output2[15]){ in encode_frame() 173 c->output2[i] ^= 1; in encode_frame() 178 … int t = c->codebook2[(c->output2[remap[i+j*4]] + (i&2) + (j&2)*2)*3+k] - c->block[i*3+k + j*4*3]; in encode_frame() 222 flags |= (c->output2[remap[i + j*4]]^1) << (i + j*4); in encode_frame() 224 …prevptr[x*3 + i*3 + k - j*3*avctx->width] = c->codebook2[(c->output2[remap[i+j*4]] + (i&2) + (j&2)… in encode_frame()
|
/third_party/boost/libs/compute/test/ |
D | test_command_queue.cpp | 271 __kernel void foo(__global int *output1, __global int *output2) in BOOST_AUTO_TEST_CASE() 274 output2[get_global_id(1)] = get_local_id(1); in BOOST_AUTO_TEST_CASE() 282 compute::vector<uint_> output2(4, context); in BOOST_AUTO_TEST_CASE() local 285 kernel.set_arg(1, output2); in BOOST_AUTO_TEST_CASE() 290 CHECK_RANGE_EQUAL(int, 4, output2, (0, 0, 0, 0)); in BOOST_AUTO_TEST_CASE() 304 CHECK_RANGE_EQUAL(int, 4, output2, (0, 0, 0, 0)); in BOOST_AUTO_TEST_CASE() 313 CHECK_RANGE_EQUAL(int, 4, output2, (0, 1, 0, 1)); in BOOST_AUTO_TEST_CASE()
|
/third_party/mindspore/tests/st/ops/ascend/test_aicpu_ops/ |
D | test_compute_accidental_hits.py | 38 output1, output2, output3 = net(Tensor(x), Tensor(y)) 39 print(output1, output2, output3) 46 assert np.array_equal(output2.asnumpy(), output2_expect)
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/base/ |
D | transpose_base.c | 46 …const int output2 = output_shape[2]; … 53 …for (int k = 0; k < output2; ++k) { … 72 …const int output2 = output_shape[2]; … 80 …for (int k = 0; k < output2; ++k) { … 106 …const int output2 = output_shape[2]; … 115 …for (int k = 0; k < output2; ++k) { … 147 …const int output2 = output_shape[2]; … 157 …for (int k = 0; k < output2; ++k) { …
|
/third_party/grpc/test/core/client_channel/resolvers/ |
D | dns_resolver_connectivity_test.cc | 184 ResultHandler::ResolverOutput output2; in main() local 185 result_handler->SetOutput(&output2); in main() 187 GPR_ASSERT(wait_loop(30, &output2.ev)); in main() 188 GPR_ASSERT(!output2.result.addresses.empty()); in main() 189 GPR_ASSERT(output2.error == GRPC_ERROR_NONE); in main()
|