/external/webrtc/common_audio/ |
D | audio_converter_unittest.cc | 108 std::vector<float> ref_data; in RunAudioConverterTest() local 111 ref_data.push_back(dst_left); in RunAudioConverterTest() 113 ref_data.push_back(dst_mono); in RunAudioConverterTest() 116 ref_data.push_back(dst_left); in RunAudioConverterTest() 118 ref_data.push_back(dst_left); in RunAudioConverterTest() 120 ref_data.push_back(dst_right); in RunAudioConverterTest() 123 ScopedBuffer ref_buffer = CreateBuffer(ref_data, dst_frames); in RunAudioConverterTest()
|
/external/igt-gpu-tools/lib/ |
D | igt_frame.c | 307 void *ref_data, *cap_data; in igt_check_checkerboard_frame_match() local 322 ref_data = cairo_image_surface_get_data(reference); in igt_check_checkerboard_frame_match() 323 igt_assert(ref_data); in igt_check_checkerboard_frame_match() 344 xdiff += abs(XR24_COLOR_VALUE(ref_data, ref_stride, x + span, y, c) - in igt_check_checkerboard_frame_match() 345 XR24_COLOR_VALUE(ref_data, ref_stride, x - span, y, c)); in igt_check_checkerboard_frame_match() 346 ydiff += abs(XR24_COLOR_VALUE(ref_data, ref_stride, x, y + span, c) - in igt_check_checkerboard_frame_match() 347 XR24_COLOR_VALUE(ref_data, ref_stride, x, y - span, c)); in igt_check_checkerboard_frame_match() 367 diff = abs(XR24_COLOR_VALUE(ref_data, ref_stride, x, y, c) - in igt_check_checkerboard_frame_match()
|
/external/sg3_utils/src/ |
D | sg_verify.c | 161 uint8_t * ref_data = NULL; in main() local 350 ref_data = (uint8_t *)sg_memalign(ndo, 0, &free_ref_data, verbose > 4); in main() 351 if (NULL == ref_data) { in main() 357 memset(ref_data, 0xff, ndo); in main() 378 res = read(infd, ref_data + nread, ndo - nread); in main() 410 lba, num, group, ref_data, in main() 414 (unsigned int)lba, num, ref_data, in main()
|
/external/rust/android-crates-io/crates/xml-rs/src/reader/parser/ |
D | inside_doctype.rs | 17 self.data.ref_data.clear(); in inside_doctype() 18 self.data.ref_data.push('%'); in inside_doctype() 123 self.data.ref_data.clear(); in inside_doctype() 127 self.data.ref_data.clear(); in inside_doctype() 128 …self.data.ref_data.push('%'); // include literal % in the name to distinguish from regular entities in inside_doctype() 166 self.data.ref_data.push(c); in inside_doctype() 185 self.data.ref_data.push(c); in inside_doctype() 231 self.data.ref_data.push(c); in inside_doctype()
|
D | inside_reference.rs | 10 Token::Character(c) if !self.data.ref_data.is_empty() && is_name_char(c) || in inside_reference() 11 … self.data.ref_data.is_empty() && (is_name_start_char(c) || c == '#') => { in inside_reference() 12 self.data.ref_data.push(c); in inside_reference()
|
/external/libopus/dnn/torch/osce/stndrd/evaluation/ |
D | run_nomad.py | 74 ref_data = pd.DataFrame(sorted(os.listdir(ref_folder))) 75 ref_data.columns = ['filename'] 76 ref_data['filename'] = [os.path.join(ref_folder, x) for x in ref_data['filename']] 77 ref_embeddings = model.get_embeddings_csv(model.model, ref_data).set_index('filename')
|
/external/deqp/external/openglcts/modules/glesext/geometry_shader/ |
D | esextcGeometryShaderLayeredFramebuffer.cpp | 333 const unsigned char *ref_data = ref_row + x * pixel_size; in iterate() local 335 if (de::abs((int)data[0] - (int)ref_data[0]) > EPSILON || in iterate() 336 de::abs((int)data[1] - (int)ref_data[1]) > EPSILON || in iterate() 337 de::abs((int)data[2] - (int)ref_data[2]) > EPSILON || in iterate() 338 de::abs((int)data[3] - (int)ref_data[3]) > EPSILON) in iterate() 344 … << "(" << (unsigned int)ref_data[0] << ", " << (unsigned int)ref_data[1] << ", " in iterate() 345 … << (unsigned int)ref_data[2] << ", " << (unsigned int)ref_data[3] << ") vs " in iterate() 1353 unsigned char ref_data[TEXTURE_WIDTH * TEXTURE_HEIGHT * N_TEXTURE_COMPONENTS] = {0}; in iterate() local 1382 ref_data[m] = 255; in iterate() 1386 ref_data[m] = 0; in iterate() [all …]
|
D | esextcGeometryShaderRendering.cpp | 1692 static const unsigned char ref_data[] = {255, 0, 0, 0, 0, 255, 0, 0, 0, 0, 255, 0, in verify() local 1787 reference_data = ref_data + n_point * 4 /* components */; in verify() 1795 reference_data = ref_data + (8 - 1 - index) * 4 /* components */; in verify() 1855 reference_data = ref_data + ((8 - 1 - index) * 4 /* components */); in verify() 1862 reference_data = ref_data + (n * 4 /* components */); in verify() 5779 const float ref_data[] = { in verify() local 5806 … tcu::Vec4 color_float = tcu::Vec4(ref_data[n_point * 6 + 2], ref_data[n_point * 6 + 3], in verify() 5807 … ref_data[n_point * 6 + 4], ref_data[n_point * 6 + 5]); in verify() 5808 … tcu::Vec2 position_float = tcu::Vec2(ref_data[n_point * 6 + 0], ref_data[n_point * 6 + 1]); in verify()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | numeric_verify_test.cc | 72 std::initializer_list<float> ref_data) { in SetInputs() argument 74 PopulateTensor(ref_, ref_data); in SetInputs()
|
/external/libopus/dnn/torch/osce/utils/ |
D | lpcnet_features.py | 47 ref_data = np.memmap(reference_data_path, dtype=np.int16) 61 new_data = np.memmap(new_data_path, dtype=np.int16, mode='write', shape=ref_data.shape)
|
/external/libopus/dnn/torch/lpcnet/utils/ |
D | data.py | 76 ref_data = np.memmap(reference_data_path, dtype=np.int16) 90 new_data = np.memmap(new_data_path, dtype=np.int16, mode='write', shape=ref_data.shape)
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cShaderStorageBufferObjectTests.cpp | 6792 const int ref_data[4] = {4, 1, 4, 2}; in Run() local 6799 if (data[i] != ref_data[i]) in Run() 6803 << " should be " << ref_data[i] << tcu::TestLog::EndMessage; in Run() 6811 const int ref_data[2] = {3, 5}; in Run() local 6818 if (data[i] != ref_data[i]) in Run() 6822 << " should be " << ref_data[i] << tcu::TestLog::EndMessage; in Run() 6830 const int ref_data[2] = {2, 10}; in Run() local 6837 if (data[i] != ref_data[i]) in Run() 6841 << " should be " << ref_data[i] << tcu::TestLog::EndMessage; in Run() 6849 const int ref_data[1] = {6}; in Run() local [all …]
|
D | es31cComputeShaderTests.cpp | 4870 …const float ref_data[3 * 8] = {-1, -1, 0, 1, 1, 1, 0, 1, 3, -1, 0, 1, 0, 1, 1, 1, -1, 3, 0, 1, 1, … in Run() local 4874 if (memcmp(data, ref_data, sizeof(float) * 3 * 8) != 0) in Run()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cES31CompatibilityShaderStorageBufferObjectTests.cpp | 6655 const int ref_data[4] = {4, 1, 4, 2}; in Run() local 6662 if (data[i] != ref_data[i]) in Run() 6666 << " should be " << ref_data[i] << tcu::TestLog::EndMessage; in Run() 6674 const int ref_data[2] = {3, 5}; in Run() local 6681 if (data[i] != ref_data[i]) in Run() 6685 << " should be " << ref_data[i] << tcu::TestLog::EndMessage; in Run() 6693 const int ref_data[2] = {2, 10}; in Run() local 6700 if (data[i] != ref_data[i]) in Run() 6704 << " should be " << ref_data[i] << tcu::TestLog::EndMessage; in Run() 6712 const int ref_data[1] = {6}; in Run() local [all …]
|
D | gl4cShaderStorageBufferObjectTests.cpp | 7211 const int ref_data[4] = {4, 1, 4, 2}; in Run() local 7217 if (data[i] != ref_data[i]) in Run() 7221 << " should be " << ref_data[i] << tcu::TestLog::EndMessage; in Run() 7228 const int ref_data[2] = {3, 5}; in Run() local 7234 if (data[i] != ref_data[i]) in Run() 7238 << " should be " << ref_data[i] << tcu::TestLog::EndMessage; in Run() 7245 const int ref_data[2] = {2, 10}; in Run() local 7251 if (data[i] != ref_data[i]) in Run() 7255 << " should be " << ref_data[i] << tcu::TestLog::EndMessage; in Run() 7262 const int ref_data[1] = {6}; in Run() local [all …]
|
D | gl4cComputeShaderTests.cpp | 4795 …const float ref_data[3 * 8] = {-1, -1, 0, 1, 1, 1, 0, 1, 3, -1, 0, 1, 0, 1, 1, 1, -1, 3, 0, 1, 1, … in Run() local 4799 if (memcmp(data, ref_data, sizeof(data)) != 0) in Run()
|
/external/pytorch/test/onnx/dynamo/ |
D | test_dynamo_with_onnxruntime_backend.py | 737 ref_data = torch.randn(8, 4, device="cpu") 753 result = compiled_model(data, ref_data) 755 self.assertTrue(torch.allclose(result, data.view(ref_data.shape)))
|
/external/rust/android-crates-io/crates/xml-rs/src/reader/ |
D | parser.rs | 33 ref_data -> take_ref_data, String, String::new(); 127 ref_data: String::new(), in new_with_config2() 295 ref_data: String, // used for reference content field
|
/external/webrtc/modules/audio_processing/ |
D | audio_processing_unittest.cc | 1720 audioproc::OutputData ref_data; in TEST_F() local 1723 OpenFileAndReadMessage(ref_filename_, &ref_data); in TEST_F() 1730 audioproc::Test* test = ref_data.add_test(); in TEST_F() 1741 audioproc::Test* test = ref_data.add_test(); in TEST_F() 1750 for (int i = 0; i < ref_data.test_size(); i++) { in TEST_F() 1751 printf("Running test %d of %d...\n", i + 1, ref_data.test_size()); in TEST_F() 1753 audioproc::Test* test = ref_data.mutable_test(i); in TEST_F() 1890 OpenFileAndWriteMessage(ref_filename_, ref_data); in TEST_F() 2160 std::unique_ptr<float[]> ref_data(new float[ref_length]); in TEST_P() local 2196 fread(ref_data.get(), sizeof(ref_data[0]), ref_length, ref_file)) { in TEST_P() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | client_library_test_base.cc | 502 TF_ASSIGN_OR_RETURN(auto ref_data, ref_client_->TransferToServer(arg)); in ComputeValueAndReference() 504 ref_argument_data.push_back(std::move(ref_data)); in ComputeValueAndReference()
|
/external/llvm/test/Transforms/LoopStrengthReduce/ARM/ |
D | ivchain-ARM.ll | 221 define hidden void @testNeon(i8* %ref_data, i32 %ref_stride, i32 %limit, <16 x i8>* nocapture %data… 238 %.05 = phi i8* [ %ref_data, %.lr.ph ], [ %42, %11 ]
|