Home
last modified time | relevance | path

Searched refs:output2 (Results 1 – 25 of 60) sorted by relevance

123

/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_ENUMOUTPUT.c41 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 …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/
DTeeOutputStream.java14 private OutputStream output2; field in TeeOutputStream
22 public TeeOutputStream(OutputStream output1, OutputStream output2) in TeeOutputStream() argument
25 this.output2 = output2; in TeeOutputStream()
32 this.output2.write(buf); in write()
39 this.output2.write(buf, off, len); in write()
46 this.output2.write(b); in write()
53 this.output2.flush(); in flush()
60 this.output2.close(); in close()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/io/
DTeeOutputStream.java16 private OutputStream output2; field in TeeOutputStream
24 public TeeOutputStream(OutputStream output1, OutputStream output2) in TeeOutputStream() argument
27 this.output2 = output2; in TeeOutputStream()
34 this.output2.write(buf); in write()
41 this.output2.write(buf, off, len); in write()
48 this.output2.write(b); in write()
55 this.output2.flush(); in flush()
62 this.output2.close(); in close()
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dshuffle_and_repeat_test.py65 output2 = self._gen_outputs(lambda: self._build_ds(10), 100)
66 self.assertEqual(output1, output2)
70 output2 = self._gen_outputs(lambda: self._build_ds(20), 100)
71 self.assertNotEqual(output1, output2)
72 self.assertEqual(sorted(output1), sorted(output2))
77 output2 = self._gen_outputs(
79 self.assertNotEqual(output1, output2)
80 self.assertEqual(sorted(output1), sorted(output2))
85 output2 = self._gen_outputs(
87 self.assertNotEqual(output1, output2)
[all …]
/external/libchrome/crypto/
Dsecure_hash_unittest.cc50 uint8_t output2[crypto::kSHA256Length]; in TEST() local
67 ctx2->Finish(output2, sizeof(output2)); in TEST()
69 EXPECT_EQ(0, memcmp(output1, output2, crypto::kSHA256Length)); in TEST()
89 uint8_t output2[crypto::kSHA256Length]; in TEST() local
103 ctx2->Finish(output2, sizeof(output2)); in TEST()
106 EXPECT_EQ(0, memcmp(output1, output2, crypto::kSHA256Length)); in TEST()
Dsha2_unittest.cc68 uint8_t output2[crypto::kSHA256Length]; in TEST() local
69 crypto::SHA256HashString(input2, output2, sizeof(output2)); in TEST()
71 EXPECT_EQ(expected2[i], static_cast<int>(output2[i])); in TEST()
Drsa_private_key_unittest.cc344 std::vector<uint8_t> output2; in TEST() local
346 ASSERT_TRUE(keypair2->ExportPrivateKey(&output2)); in TEST()
349 ASSERT_EQ(input2.size(), output2.size()); in TEST()
351 ASSERT_EQ(0, memcmp(&output2.front(), &input2.front(), input2.size())); in TEST()
/external/libaom/libaom/test/
Dhiprec_convolve_test_util.cc88 uint8_t *output2 = new uint8_t[output_n]; in RunCheckOutput() local
106 test_impl(input + offset_r * w + offset_c, w, output2, out_w, hkernel, 16, in RunCheckOutput()
110 ASSERT_EQ(output[j], output2[j]) in RunCheckOutput()
116 delete[] output2; in RunCheckOutput()
134 uint8_t *output2 = new uint8_t[output_n]; in RunSpeedTest() local
164 test_impl(input + j * w + k, w, output2, out_w, hkernel, 16, vkernel, in RunSpeedTest()
182 delete[] output2; in RunSpeedTest()
225 uint16_t *output2 = new uint16_t[output_n]; in RunCheckOutput() local
238 uint8_t *output2_ptr = CONVERT_TO_BYTEPTR(output2); in RunCheckOutput()
251 ASSERT_EQ(output[j], output2[j]) in RunCheckOutput()
[all …]
Dcomp_avg_pred_test.h101 uint8_t output2[kMaxSize * kMaxSize]; in RunCheckOutput() local
124 test_impl(output2, pred8 + offset_r * w + offset_c, in_w, in_h, in RunCheckOutput()
130 ASSERT_EQ(output[idx], output2[idx]) in RunCheckOutput()
146 uint8_t output2[kMaxSize * kMaxSize]; in RunSpeedTest() local
179 test_impl(output2, pred8, in_w, in_h, ref8, in_w, &dist_wtd_comp_params); in RunSpeedTest()
205 DECLARE_ALIGNED(16, uint8_t, output2[MAX_SB_SQUARE]); in RunCheckOutput()
238 test_impl(NULL, NULL, 0, 0, NULL, output2, in RunCheckOutput()
246 ASSERT_EQ(output[idx], output2[idx]) in RunCheckOutput()
268 DECLARE_ALIGNED(16, uint8_t, output2[MAX_SB_SQUARE]); in RunSpeedTest()
306 test_impl(NULL, NULL, 0, 0, NULL, output2, pred8, in_w, in_h, sub_x_q3, in RunSpeedTest()
[all …]
Dav1_convolve_2d_test_util.cc49 DECLARE_ALIGNED(32, uint8_t, output2[MAX_SB_SQUARE]); in RunCheckOutput()
54 output[i] = output2[i] = rnd_.Rand31(); in RunCheckOutput()
88 test_impl(input + offset_r * w + offset_c, w, output2, in RunCheckOutput()
92 if (memcmp(output, output2, sizeof(output))) { in RunCheckOutput()
96 ASSERT_EQ(output[idx], output2[idx]) in RunCheckOutput()
176 DECLARE_ALIGNED(32, CONV_BUF_TYPE, output2[MAX_SB_SQUARE]); in RunCheckOutput()
183 output1[i] = output2[i] = rnd_.Rand16(); in RunCheckOutput()
201 get_conv_params_no_round(do_average, 0, output2, MAX_SB_SIZE, 1, 8); in RunCheckOutput()
225 ASSERT_EQ(output1[idx], output2[idx]) in RunCheckOutput()
274 ASSERT_EQ(output1[idx], output2[idx]) in RunCheckOutput()
[all …]
Dwarp_filter_test_util.cc192 uint8_t *output2 = new uint8_t[output_n]; in RunCheckOutput() local
198 for (int i = 0; i < output_n; ++i) output[i] = output2[i] = rnd_.Rand8(); in RunCheckOutput()
245 test_impl(mat, input, w, h, stride, output2, 32, 32, out_w, out_h, in RunCheckOutput()
255 ASSERT_EQ(output[j], output2[j]) in RunCheckOutput()
261 ASSERT_EQ(output[j], output2[j]) in RunCheckOutput()
273 delete[] output2; in RunCheckOutput()
388 uint16_t *output2 = new uint16_t[output_n]; in RunCheckOutput() local
394 for (int i = 0; i < output_n; ++i) output[i] = output2[i] = rnd_.Rand16(); in RunCheckOutput()
445 test_impl(mat, input, w, h, stride, output2, 32, 32, out_w, out_h, in RunCheckOutput()
456 ASSERT_EQ(output[j], output2[j]) in RunCheckOutput()
[all …]
Dselfguided_filter_test.cc148 uint8_t *output2 = output2_ + out_stride * 16 + 16; in RunCorrectnessTest() local
175 uint8_t *output2_p = output2 + k * out_stride + j; in RunCorrectnessTest()
184 ASSERT_EQ(output[j * out_stride + k], output2[j * out_stride + k]); in RunCorrectnessTest()
334 uint16_t *output2 = output2_ + out_stride * 16 + 16; in RunCorrectnessTest() local
361 uint16_t *output2_p = output2 + k * out_stride + j; in RunCorrectnessTest()
372 ASSERT_EQ(output[j * out_stride + k], output2[j * out_stride + k]); in RunCorrectnessTest()
/external/adhd/cras/src/dsp/
Ddsp_util.c33 float *output2, int frames) in deinterleave_stereo() argument
59 [output2]"+r"(output2) in deinterleave_stereo()
69 *output2++ = *input++ / 32768.0f; in deinterleave_stereo()
139 float *output2, int frames) in deinterleave_stereo() argument
165 [output2]"+r"(output2) in deinterleave_stereo()
175 *output2++ = *input++ / 32768.0f; in deinterleave_stereo()
264 float *output2, int frames) in deinterleave_stereo() argument
302 [output2]"+r"(output2) in deinterleave_stereo()
314 *output2++ = *input++ / 32768.0f; in deinterleave_stereo()
/external/tensorflow/tensorflow/lite/kernels/
Dwhile_test.cc57 TfLiteTensor* output2 = interpreter_->tensor(interpreter_->outputs()[1]); in TEST_F() local
58 CheckIntTensor(output2, {1}, {expected[i]}); in TEST_F()
83 TfLiteTensor* output2 = interpreter_->tensor(interpreter_->outputs()[1]); in TEST_F() local
84 CheckIntTensor(output2, {11}, {0, 0, 0, 5, 7, 0, 0, 0, 0, 0, 0}); in TEST_F()
Dsubgraph_test_util_test.cc39 int output2) { in TestAccumelateLoopBody() argument
57 CheckIntTensor(output_tensor2, {1}, {output2}); in TestAccumelateLoopBody()
145 TfLiteTensor* output2 = interpreter_->tensor(interpreter_->outputs()[1]); in TEST_F() local
146 CheckIntTensor(output2, {8}, {0, 0, 5, 7, 0, 0, 0, 0}); in TEST_F()
/external/opencensus-java/contrib/zpages/src/test/java/io/opencensus/contrib/zpages/
DStatszZPageHandlerTest.java154 OutputStream output2 = new ByteArrayOutputStream(); in emitDirectoriesAndViews() local
155 handler.emitHtml(ImmutableMap.of(QUERY_PATH, "/grpc.io"), output2); in emitDirectoriesAndViews() local
156 assertThat(output2.toString()).contains("client"); in emitDirectoriesAndViews()
157 assertThat(output2.toString()).contains("(3 views)"); in emitDirectoriesAndViews()
158 assertThat(output2.toString()).contains("server"); in emitDirectoriesAndViews()
159 assertThat(output2.toString()).contains("(1 view)"); in emitDirectoriesAndViews()
178 OutputStream output2 = new ByteArrayOutputStream(); in emitViewData() local
180 ImmutableMap.of(QUERY_PATH, "/grpc.io/client/error_count/cumulative"), output2); in emitViewData() local
181 assertContainsViewData(output2, VIEW_DATA_2); in emitViewData()
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/
DOperationTest.java108 Output<Integer> output2 = g.operation("c").<Integer>output(0); in outputEquality() local
111 assertEquals(output, output2); in outputEquality()
112 assertEquals(output.hashCode(), output2.hashCode()); in outputEquality()
121 Output<Integer> output2 = g.operation("c").<Integer>output(0); in outputCollection() local
123 ops.addAll(Arrays.asList(output, output1, output2)); in outputCollection()
127 assertTrue(ops.contains(output2)); in outputCollection()
/external/v8/tools/clusterfuzz/
Dv8_suppressions.py179 def diff_output(output1, output2, allowed, ignore1, ignore2): argument
194 lines2 = filter(useful_line(ignore2), output2)
244 def diff(self, output1, output2): argument
267 def diff(self, output1, output2): argument
270 output2.splitlines(),
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dpitch_filter_mips.c34 int16_t* output2 = outputBuf2 + ind2t + PITCH_BUFFSIZE; in WebRtcIsacfix_PitchFilterCore() local
123 [output1] "+r" (output1), [output2] "+r" (output2) in WebRtcIsacfix_PitchFilterCore()
/external/perf_data_converter/src/quipper/
Dtest_utils.cc227 std::map<string, string> output2; in ComparePerfBuildIDLists() local
231 CHECK(GetPerfBuildIDMap(file2, &output2)); in ComparePerfBuildIDLists()
234 return output1 == output2; in ComparePerfBuildIDLists()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/serializer/
DAnchorGeneratorTest.java49 String output2 = yaml2.dump(list); in testCustomGenerator() local
52 "- *list-id004\n", output2); in testCustomGenerator()
/external/libxaac/decoder/drc_src/
Dimpd_drc_fiilter_bank.c384 FLOAT32* output2[2]; in impd_four_band_filter_process() local
387 output2[0] = output[2]; in impd_four_band_filter_process()
388 output2[1] = output[3]; in impd_four_band_filter_process()
401 output1[1], output2[0]); in impd_four_band_filter_process()
413 win_size, output2[0], output2); in impd_four_band_filter_process()
Dimpd_drc_filter_bank.c384 FLOAT32* output2[2]; in impd_four_band_filter_process() local
387 output2[0] = output[2]; in impd_four_band_filter_process()
388 output2[1] = output[3]; in impd_four_band_filter_process()
401 output1[1], output2[0]); in impd_four_band_filter_process()
413 win_size, output2[0], output2); in impd_four_band_filter_process()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestStringByteConverter.java167 byte[] output2 = test.getBytes("utf-8"); in checkUtf8()
168 if (len != output2.length) { in checkUtf8()
172 if (output1[i] != output2[i]) { in checkUtf8()
176 + Utility.hex(output2[i] & 0xFF, 2)); in checkUtf8()
/external/tensorflow/tensorflow/core/kernels/
Dstateful_random_ops_cpu_gpu.h31 uint32* output2) { in Int64ToUint32s() argument
34 *output2 = static_cast<uint32>(u64 >> 32); in Int64ToUint32s()

123