/external/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
D | test_VIDIOC_ENUMINPUT.c | 47 struct v4l2_input input2; in test_VIDIOC_ENUMINPUT() local 84 memset(&input2, 0, sizeof(input2)); in test_VIDIOC_ENUMINPUT() 85 input2.index = input.index; in test_VIDIOC_ENUMINPUT() 86 strncpy((char *)input2.name, (char *)input.name, in test_VIDIOC_ENUMINPUT() 87 sizeof(input2.name)); in test_VIDIOC_ENUMINPUT() 88 input2.type = input.type; in test_VIDIOC_ENUMINPUT() 89 input2.audioset = input.audioset; in test_VIDIOC_ENUMINPUT() 90 input2.tuner = input.tuner; in test_VIDIOC_ENUMINPUT() 91 input2.std = input.std; in test_VIDIOC_ENUMINPUT() 92 input2.status = input.status; in test_VIDIOC_ENUMINPUT() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | comparisons.cc | 37 const TfLiteTensor* input2 = GetInput(context, node, kInputTensor2); in ComparisonPrepare() local 44 TF_LITE_ENSURE_TYPES_EQ(context, input1->type, input2->type); in ComparisonPrepare() 47 bool requires_broadcast = !HaveSameShapes(input1, input2); in ComparisonPrepare() 52 context, input1, input2, &output_size)); in ComparisonPrepare() 65 const TfLiteTensor* input2, TfLiteTensor* output, \ 69 auto input2_offset = -input2->params.zero_point; \ 78 QuantizeMultiplierSmallerThanOneExp(input2->params.scale, \ 92 GetTensorData<input_dtype>(input1), GetTensorShape(input2), \ 93 GetTensorData<input_dtype>(input2), GetTensorShape(output), \ 98 GetTensorData<input_dtype>(input1), GetTensorShape(input2), \ [all …]
|
D | floor_mod.cc | 49 T FloorMod(T input1, T input2) { in FloorMod() argument 54 T trunc_mod = mod_func(input1, input2); in FloorMod() 55 return (input1 < T(0)) == (input2 < T(0)) in FloorMod() 57 : mod_func(trunc_mod + input2, input2); in FloorMod() 78 const TfLiteTensor* input2 = GetInput(context, node, kInputTensor2); in Prepare() local 81 TF_LITE_ENSURE_TYPES_EQ(context, input1->type, input2->type); in Prepare() 91 data->requires_broadcast = !HaveSameShapes(input1, input2); in Prepare() 96 context, input1, input2, &output_size)); in Prepare() 106 const TfLiteTensor* input1, const TfLiteTensor* input2, in EvalImpl() argument 108 const T* denominator_data = GetTensorData<T>(input2); in EvalImpl() [all …]
|
D | squared_difference.cc | 38 T SquaredDifference(T input1, T input2) { in SquaredDifference() argument 39 const T difference = input1 - input2; in SquaredDifference() 60 const TfLiteTensor* input2 = GetInput(context, node, kInputTensor2); in Prepare() local 63 TF_LITE_ENSURE_EQ(context, input1->type, input2->type); in Prepare() 64 output->type = input2->type; in Prepare() 66 data->requires_broadcast = !HaveSameShapes(input1, input2); in Prepare() 71 context, input1, input2, &output_size)); in Prepare() 82 const TfLiteTensor* input2, TfLiteTensor* output) { in EvalSquaredDifference() argument 86 GetTensorShape(input2), GetTensorData<T>(input2), in EvalSquaredDifference() 91 GetTensorShape(input2), GetTensorData<T>(input2), in EvalSquaredDifference() [all …]
|
D | comparisons_test.cc | 38 ComparisonOpModel(const TensorData& input1, const TensorData& input2, in ComparisonOpModel() argument 41 input2_ = AddInput(input2); in ComparisonOpModel() 48 int input2() { return input2_; } in input2() function in tflite::__anona2b0a7960111::ComparisonOpModel 99 model.PopulateTensor<bool>(model.input2(), {true, true, false, false}); in TEST() 110 model.PopulateTensor<float>(model.input2(), {0.1, 0.2, 0.6, 0.5}); in TEST() 121 model.PopulateTensor<int>(model.input2(), {1, 2, 7, 5}); in TEST() 132 model.PopulateTensor<int>(model.input2(), {7}); in TEST() 143 model.PopulateTensor<int>(model.input2(), {7, 1, 2, 4}); in TEST() 155 model.PopulateTensor<bool>(model.input2(), {true, true, false, false}); in TEST() 166 model.PopulateTensor<float>(model.input2(), {0.1, 0.2, 0.6, 0.5}); in TEST() [all …]
|
D | floor_div.cc | 38 T FloorDiv(T input1, T input2) { in FloorDiv() argument 40 static_cast<double>(input2))); in FloorDiv() 61 const TfLiteTensor* input2 = GetInput(context, node, kInputTensor2); in Prepare() local 64 TF_LITE_ENSURE_EQ(context, input1->type, input2->type); in Prepare() 73 data->requires_broadcast = !HaveSameShapes(input1, input2); in Prepare() 78 context, input1, input2, &output_size)); in Prepare() 88 const TfLiteTensor* input1, const TfLiteTensor* input2, in EvalImpl() argument 90 const T* denominator_data = GetTensorData<T>(input2); in EvalImpl() 93 for (int i = 0; i < NumElements(input2); ++i) { in EvalImpl() 102 GetTensorShape(input2), denominator_data, GetTensorShape(output), in EvalImpl() [all …]
|
D | mul.cc | 71 const TfLiteTensor* input2 = GetInput(context, node, kInputTensor2); in Prepare() local 74 TF_LITE_ENSURE_EQ(context, input1->type, input2->type); in Prepare() 76 data->requires_broadcast = !HaveSameShapes(input1, input2); in Prepare() 81 context, input1, input2, &output_size)); in Prepare() 100 input1->params.scale * input2->params.scale / output->params.scale; in Prepare() 111 const TfLiteTensor* input2, TfLiteTensor* output) { in EvalMul() argument 120 GetTensorData<data_type>(input1), GetTensorShape(input2), \ in EvalMul() 121 GetTensorData<data_type>(input2), GetTensorShape(output), \ in EvalMul() 160 const TfLiteTensor* input2, TfLiteTensor* output) { in EvalQuantized() argument 161 if (input1->type == input2->type && input1->type == output->type && in EvalQuantized() [all …]
|
D | pow.cc | 54 const TfLiteTensor* input2 = GetInput(context, node, kInputTensor2); in Prepare() local 57 TF_LITE_ENSURE_EQ(context, input1->type, input2->type); in Prepare() 66 data->requires_broadcast = !HaveSameShapes(input1, input2); in Prepare() 71 context, input1, input2, &output_size)); in Prepare() 80 void PowImpl(const TfLiteTensor* input1, const TfLiteTensor* input2, in PowImpl() argument 85 GetTensorShape(input2), GetTensorData<T>(input2), in PowImpl() 89 GetTensorShape(input2), GetTensorData<T>(input2), in PowImpl() 111 const TfLiteTensor* input2 = GetInput(context, node, kInputTensor2); in Eval() local 117 TF_LITE_ENSURE_OK(context, CheckValue(context, input2)); in Eval() 118 PowImpl<int32_t>(input1, input2, output, data->requires_broadcast); in Eval() [all …]
|
D | add.cc | 80 const TfLiteTensor* input2 = GetInput(context, node, kInputTensor2); in Prepare() local 83 TF_LITE_ENSURE_EQ(context, input1->type, input2->type); in Prepare() 84 output->type = input2->type; in Prepare() 86 data->requires_broadcast = !HaveSameShapes(input1, input2); in Prepare() 91 context, input1, input2, &output_size)); in Prepare() 99 data->input2_offset = -input2->params.zero_point; in Prepare() 103 2 * std::max(input1->params.scale, input2->params.scale); in Prepare() 107 input2->params.scale / twice_max_input_scale; in Prepare() 140 TF_LITE_ENSURE_EQ(context, input2->params.zero_point, 0); in Prepare() 150 CheckedLog2(input2->params.scale, &input2_scale_log2_rounded); in Prepare() [all …]
|
D | floor_mod_test.cc | 29 FloorModModel(const TensorData& input1, const TensorData& input2, in FloorModModel() argument 32 input2_ = AddInput(input2); in FloorModModel() 40 int input2() { return input2_; } in input2() function in tflite::__anond5662e890111::FloorModModel 56 model.PopulateTensor<int32_t>(model.input2(), {2, 2, 3, 4}); in TEST() 67 model.PopulateTensor<int32_t>(model.input2(), {2, 2, -3, -4}); in TEST() 77 model.PopulateTensor<int32_t>(model.input2(), {-3}); in TEST() 87 model.PopulateTensor<int64_t>(model.input2(), {-(1LL << 33)}); in TEST() 99 model.PopulateTensor<float>(model.input2(), {2, 2, 3, 4}); in TEST() 110 model.PopulateTensor<float>(model.input2(), {2, 2, -3, -4}); in TEST() 121 model.PopulateTensor<float>(model.input2(), {-3}); in TEST()
|
D | sub.cc | 146 const TfLiteTensor* input2, TfLiteTensor* output, in PrepareInt16SubOp() argument 157 TF_LITE_ENSURE_EQ(context, input2->params.zero_point, 0); in PrepareInt16SubOp() 167 CheckedLog2(input2->params.scale, &input2_scale_log2_rounded); in PrepareInt16SubOp() 198 const TfLiteTensor* input2 = GetInput(context, node, kInputTensor2); in Prepare() local 201 TF_LITE_ENSURE_EQ(context, input1->type, input2->type); in Prepare() 202 output->type = input2->type; in Prepare() 204 data->requires_broadcast = !HaveSameShapes(input1, input2); in Prepare() 209 context, input1, input2, &output_size)); in Prepare() 215 TF_LITE_ENSURE_OK(context, Prepare8BitSubOp(context, input1, input2, output, in Prepare() 218 TF_LITE_ENSURE_OK(context, PrepareInt16SubOp(context, input1, input2, in Prepare() [all …]
|
D | div_test.cc | 28 BaseDivOpModel(const TensorData& input1, const TensorData& input2, in BaseDivOpModel() argument 32 input2_ = AddInput(input2); in BaseDivOpModel() 40 int input2() { return input2_; } in input2() function in tflite::__anon04cff98b0111::BaseDivOpModel 67 m.PopulateTensor<float>(m.input2(), {0.5, 0.2, -1.5, 0.5}); in TEST() 78 m.PopulateTensor<float>(m.input2(), {0.1, 0.2, -1.5, 0.5}); in TEST() 92 m.PopulateTensor<float>(m.input2(), {0.1, 0.2, 0.6, 0.5, -1.1, -0.1}); in TEST() 109 m.PopulateTensor<float>(m.input2(), {0.1}); in TEST() 123 m.PopulateTensor<int32_t>(m.input2(), {5, -2, -3, 5}); in TEST() 133 m.PopulateTensor<int32_t>(m.input2(), {1, 2, -15, 5}); in TEST() 146 m.PopulateTensor<int32_t>(m.input2(), {1, 2, 6, 5, -11, -1}); in TEST() [all …]
|
D | mul_test.cc | 28 BaseMulOpModel(const TensorData& input1, const TensorData& input2, in BaseMulOpModel() argument 32 input2_ = AddInput(input2); in BaseMulOpModel() 40 int input2() { return input2_; } in input2() function in tflite::__anon58b4bc560111::BaseMulOpModel 93 m.PopulateTensor<float>(m.input2(), {0.1, 0.2, 0.3, 0.5}); in TEST() 104 m.PopulateTensor<float>(m.input2(), {0.1, 0.2, 0.3, 5}); in TEST() 118 m.PopulateTensor<float>(m.input2(), {0.1, 0.2, 0.3, 0.5, 1.1, 0.1}); in TEST() 135 m.PopulateTensor<float>(m.input2(), {0.1}); in TEST() 149 m.PopulateTensor<int32_t>(m.input2(), {1, 2, 3, 5}); in TEST() 159 m.PopulateTensor<int32_t>(m.input2(), {1, 2, 3, 5}); in TEST() 172 m.PopulateTensor<int32_t>(m.input2(), {1, 2, 3, 5, 11, 1}); in TEST() [all …]
|
D | logical.cc | 55 const TfLiteTensor* input2 = GetInput(context, node, kInputTensor2); in Prepare() local 58 TF_LITE_ENSURE_EQ(context, input1->type, input2->type); in Prepare() 67 data->requires_broadcast = !HaveSameShapes(input1, input2); in Prepare() 72 context, input1, input2, &output_size)); in Prepare() 85 const TfLiteTensor* input2 = GetInput(context, node, kInputTensor2); in LogicalImpl() local 91 GetTensorShape(input2), GetTensorData<bool>(input2), in LogicalImpl() 95 GetTensorShape(input2), GetTensorData<bool>(input2), in LogicalImpl()
|
D | add_test.cc | 28 BaseAddOpModel(const TensorData& input1, const TensorData& input2, in BaseAddOpModel() argument 32 input2_ = AddInput(input2); in BaseAddOpModel() 40 int input2() { return input2_; } in input2() function in tflite::__anon2fc512110111::BaseAddOpModel 94 m.PopulateTensor<float>(m.input2(), {0.1, 0.2, 0.3, 0.5}); in TEST() 104 m.PopulateTensor<float>(m.input2(), {0.1, 0.2, 0.3, 0.5}); in TEST() 117 m.PopulateTensor<float>(m.input2(), {0.1, 0.2, 0.3, 0.5, 1.1, 0.1}); in TEST() 133 m.PopulateTensor<float>(m.input2(), {0.1}); in TEST() 147 m.PopulateTensor<int32_t>(m.input2(), {1, 2, 3, 5}); in TEST() 157 m.PopulateTensor<int32_t>(m.input2(), {1, 2, 3, 5}); in TEST() 170 m.PopulateTensor<int32_t>(m.input2(), {1, 2, 3, 5, 11, 1}); in TEST() [all …]
|
D | div.cc | 61 const TfLiteTensor* input2 = GetInput(context, node, kInputTensor2); in Prepare() local 64 TF_LITE_ENSURE_EQ(context, input1->type, input2->type); in Prepare() 65 output->type = input2->type; in Prepare() 67 data->requires_broadcast = !HaveSameShapes(input1, input2); in Prepare() 72 context, input1, input2, &output_size)); in Prepare() 83 const TfLiteTensor* input2, TfLiteTensor* output) { in EvalDiv() argument 92 GetTensorData<data_type>(input1), GetTensorShape(input2), \ in EvalDiv() 93 GetTensorData<data_type>(input2), GetTensorShape(output), \ in EvalDiv() 133 const TfLiteTensor* input2 = GetInput(context, node, kInputTensor2); in Eval() local 137 EvalDiv<kernel_type>(context, node, params, data, input1, input2, output); in Eval()
|
D | sub_test.cc | 28 BaseSubOpModel(const TensorData& input1, const TensorData& input2, in BaseSubOpModel() argument 32 input2_ = AddInput(input2); in BaseSubOpModel() 40 int input2() { return input2_; } in input2() function in tflite::__anonec0491d20111::BaseSubOpModel 94 m.PopulateTensor<float>(m.input2(), {0.1, 0.2, 0.3, 0.8}); in TEST() 105 m.PopulateTensor<float>(m.input2(), {0.1, 0.2, 0.3, 0.8}); in TEST() 119 m.PopulateTensor<float>(m.input2(), {0.1, 0.2, 0.3, 0.8, -1.1, 0.1}); in TEST() 136 m.PopulateTensor<float>(m.input2(), {0.5}); in TEST() 150 m.PopulateTensor<int32_t>(m.input2(), {1, 2, 3, 5}); in TEST() 160 m.PopulateTensor<int32_t>(m.input2(), {1, 2, 3, 5}); in TEST() 173 m.PopulateTensor<int32_t>(m.input2(), {1, 2, 3, 5, 11, 1}); in TEST() [all …]
|
D | pow_test.cc | 30 PowOpModel(const TensorData& input1, const TensorData& input2, in PowOpModel() argument 33 input2_ = AddInput(input2); in PowOpModel() 41 int input2() { return input2_; } in input2() function in tflite::__anond1e4505e0111::PowOpModel 57 model.PopulateTensor<int32_t>(model.input2(), {1, 2, 3, 1}); in TEST() 68 model.PopulateTensor<int32_t>(model.input2(), {1, 2, 3, 0}); in TEST() 79 model.PopulateTensor<float>(model.input2(), {0.5, 2.7, 3.1, 3.2}); in TEST() 92 model.PopulateTensor<float>(model.input2(), {0.5, -2.7, 3.1, -3.2}); in TEST() 104 model.PopulateTensor<int32_t>(model.input2(), {4}); in TEST()
|
D | squared_difference_test.cc | 29 const TensorData& input2, in BaseSquaredDifferenceOpModel() argument 32 input2_ = AddInput(input2); in BaseSquaredDifferenceOpModel() 41 int input2() { return input2_; } in input2() function in tflite::__anon39b9a6870111::BaseSquaredDifferenceOpModel 68 m.PopulateTensor<float>(m.input2(), {0.5, 0.2, -1.5, 0.5}); in TEST() 82 m.PopulateTensor<float>(m.input2(), {1.0, 0.2, 0.6, 0.4, -1.0, -0.0}); in TEST() 100 m.PopulateTensor<float>(m.input2(), {0.1}); in TEST() 114 m.PopulateTensor<int32_t>(m.input2(), {5, -2, -3, 5}); in TEST() 127 m.PopulateTensor<int32_t>(m.input2(), {1, 2, 6, 5, -5, -20}); in TEST() 143 m.PopulateTensor<int32_t>(m.input2(), {3}); in TEST()
|
D | fill_test.cc | 29 explicit FillOpModel(const TensorData& input1, const TensorData& input2) { in FillOpModel() argument 31 input2_ = AddInput(input2); in FillOpModel() 39 int input2() { return input2_; } in input2() function in tflite::__anonc34c406f0111::FillOpModel 51 m.PopulateTensor<int32_t>(m.input2(), {-11}); in TEST() 61 m.PopulateTensor<int64_t>(m.input2(), {2 ^ 45}); in TEST() 72 m.PopulateTensor<float>(m.input2(), {4.0}); in TEST() 81 m.PopulateTensor<float>(m.input2(), {4.0}); in TEST()
|
D | select_test.cc | 42 int input2() { return input2_; } in input2() function in tflite::__anon9c2126080111::SelectOpModel 64 model.PopulateTensor<bool>(model.input2(), {false, false, false, false}); in TEST() 78 model.PopulateTensor<float>(model.input2(), {0.1, 0.2, 0.3, 0.4}); in TEST() 91 model.PopulateTensor<uint8_t>(model.input2(), {1, 2, 3, 4}); in TEST() 104 model.PopulateTensor<int8_t>(model.input2(), {1, -2, 3, 4}); in TEST() 117 model.PopulateTensor<int16_t>(model.input2(), {1, 2, 3, 4}); in TEST() 130 model.PopulateTensor<int32_t>(model.input2(), {1, 2, 3, 4}); in TEST() 142 model.PopulateTensor<int32_t>(model.input2(), {1, 2, 3, 4}); in TEST() 154 model.PopulateTensor<int32_t>(model.input2(), {1, 2, 3, 4}); in TEST()
|
D | floor_div_test.cc | 29 FloorDivModel(const TensorData& input1, const TensorData& input2, in FloorDivModel() argument 32 input2_ = AddInput(input2); in FloorDivModel() 40 int input2() { return input2_; } in input2() function in tflite::__anon3da45a8c0111::FloorDivModel 56 model.PopulateTensor<int32_t>(model.input2(), {2, 2, 3, 4}); in TEST() 67 model.PopulateTensor<int32_t>(model.input2(), {2, 2, -3, -4}); in TEST() 77 model.PopulateTensor<int32_t>(model.input2(), {-3}); in TEST()
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | hlsl.max.frag.out | 8 0:2 'input2' ( in 4-component vector of float) 13 0:3 'input2' ( in 4-component vector of float) 21 0:? 'input2' ( temp 4-component vector of float) 22 0:? 'input2' (layout( location=1) in 4-component vector of float) 27 0:? 'input2' ( temp 4-component vector of float) 31 0:? 'input2' (layout( location=1) in 4-component vector of float) 43 0:2 'input2' ( in 4-component vector of float) 48 0:3 'input2' ( in 4-component vector of float) 56 0:? 'input2' ( temp 4-component vector of float) 57 0:? 'input2' (layout( location=1) in 4-component vector of float) [all …]
|
/external/libchrome/crypto/ |
D | secure_hash_unittest.cc | 38 std::string input2(10001, 'd'); // 'd' repeated 10001 times in TEST() local 63 ctx1->Update(input2.data(), input2.size()); in TEST() 66 ctx2->Update(input2.data(), input2.size()); in TEST() 86 std::string input2(10001, 'd'); // 'd' repeated 10001 times in TEST() local 95 ctx1->Update(input2.data(), input2.size()); in TEST() 101 std::string input3 = input1 + input2; in TEST()
|
/external/libaom/libaom/test/ |
D | corner_match_test.cc | 63 uint8_t *input2 = new uint8_t[w * h]; in RunCheckOutput() local 73 input2[i * w + j] = rnd_.Rand8(); in RunCheckOutput() 80 input2[i * w + j] = (v / 2) + (rnd_.Rand8() & 15); in RunCheckOutput() 91 compute_cross_correlation_c(input1, w, x1, y1, input2, w, x2, y2); in RunCheckOutput() 92 double res_simd = target_func(input1, w, x1, y1, input2, w, x2, y2); in RunCheckOutput() 97 compute_cross_correlation_c(input1, w, x1, y1, input2, w, x2, y2); in RunCheckOutput() 105 target_func(input1, w, x1, y1, input2, w, x2, y2); in RunCheckOutput() 121 delete[] input2; in RunCheckOutput()
|