/third_party/libsnd/src/ |
D | test_file_io.c | 114 { static int data_out [512] ; in file_read_write_test() local 135 make_data (data_out, ARRAY_LEN (data_out), 1) ; in file_read_write_test() 136 …test_write_or_die (psf, data_out, sizeof (data_out [0]), ARRAY_LEN (data_out), sizeof (data_out), … in file_read_write_test() 138 if ((retval = psf_get_filelen (psf)) != sizeof (data_out)) in file_read_write_test() 139 …fter write is not correct (%" PRId64 " should be %zd).\n\n", __LINE__, retval, sizeof (data_out)) ; in file_read_write_test() 145 make_data (data_out, ARRAY_LEN (data_out), 2) ; in file_read_write_test() 146 …test_write_or_die (psf, data_out, ARRAY_LEN (data_out), sizeof (data_out [0]), 2 * sizeof (data_ou… in file_read_write_test() 148 if ((retval = psf_get_filelen (psf)) != 2 * sizeof (data_out)) in file_read_write_test() 149 … write is not correct. (%" PRId64 " should be %zd)\n\n", __LINE__, retval, 2 * sizeof (data_out)) ; in file_read_write_test() 167 make_data (data_out, ARRAY_LEN (data_out), 1) ; in file_read_write_test() [all …]
|
/third_party/libsnd/tests/ |
D | ogg_opus_test.c | 46 static BUFFER data_out ; variable 61 gen_windowed_sine_float (data_out.f, ARRAY_LEN (data_out.f), 1.0 * 0x7F00) ; in ogg_opus_short_test() 64 for (k = 0 ; k < ARRAY_LEN (data_out.s) ; k++) in ogg_opus_short_test() 65 data_out.s [k] = lrintf (data_out.f [k]) ; in ogg_opus_short_test() 76 test_write_short_or_die (file, 0, data_out.s, ARRAY_LEN (data_out.s), __LINE__) ; in ogg_opus_short_test() 119 gen_windowed_sine_float (data_out.f, ARRAY_LEN (data_out.f), 1.0 * 0x7FFF0000) ; in ogg_opus_int_test() 122 for (k = 0 ; k < ARRAY_LEN (data_out.i) ; k++) in ogg_opus_int_test() 123 data_out.i [k] = lrintf (data_out.f [k]) ; in ogg_opus_int_test() 134 test_write_int_or_die (file, 0, data_out.i, ARRAY_LEN (data_out.i), __LINE__) ; in ogg_opus_int_test() 172 gen_windowed_sine_float (data_out.f, ARRAY_LEN (data_out.f), 0.95) ; in ogg_opus_float_test() [all …]
|
D | ogg_test.c | 46 static BUFFER data_out ; variable 61 gen_windowed_sine_float (data_out.f, ARRAY_LEN (data_out.f), 1.0 * 0x7F00) ; in ogg_short_test() 64 for (k = 0 ; k < ARRAY_LEN (data_out.s) ; k++) in ogg_short_test() 65 data_out.s [k] = lrintf (data_out.f [k]) ; in ogg_short_test() 76 test_write_short_or_die (file, 0, data_out.s, ARRAY_LEN (data_out.s), __LINE__) ; in ogg_short_test() 119 gen_windowed_sine_float (data_out.f, ARRAY_LEN (data_out.f), 1.0 * 0x7FFF0000) ; in ogg_int_test() 122 for (k = 0 ; k < ARRAY_LEN (data_out.i) ; k++) in ogg_int_test() 123 data_out.i [k] = lrintf (data_out.f [k]) ; in ogg_int_test() 134 test_write_int_or_die (file, 0, data_out.i, ARRAY_LEN (data_out.i), __LINE__) ; in ogg_int_test() 172 gen_windowed_sine_float (data_out.f, ARRAY_LEN (data_out.f), 0.95) ; in ogg_float_test() [all …]
|
D | scale_clip_test.tpl | 129 [+ (get "float_type_name") +] *data_out, *data_in ; 134 data_out = buffer_out.[+ (get "float_short_name") +] ; 138 { data_out [k] = 1.2 * sin (2 * M_PI * k / HALF_BUFFER_SIZE) ; 139 data_out [k + HALF_BUFFER_SIZE] = data_out [k] * maxval ; 155 test_write_[+ (get "float_type_name") +]_or_die (file, 0, data_out, HALF_BUFFER_SIZE, __LINE__) ; 157 …test_write_[+ (get "float_type_name") +]_or_die (file, 0, data_out + HALF_BUFFER_SIZE, HALF_BUFFER… 196 if (data_out [k] * data_in [k] < 0.0) 201 if (fabs (data_out [k]) > 1.0) 204 diff = fabs (data_out [k] - data_in [k]) ; 227 if (data_out [k] * data_in [k] < 0.0) [all …]
|
D | compression_size_test.c | 40 static float data_out [DATA_LENGTH] ; variable 149 { gen_lowpass_signal_float (data_out, ARRAY_LEN (data_out)) ; in compression_size_test() 150 test_write_float_or_die (q3_file, 0, data_out, ARRAY_LEN (data_out), __LINE__) ; in compression_size_test() 151 test_write_float_or_die (q6_file, 0, data_out, ARRAY_LEN (data_out), __LINE__) ; in compression_size_test()
|
/third_party/gstreamer/gstplugins_bad/ext/openjpeg/ |
D | gstopenjpegenc.c | 510 gint *data_out[4]; in fill_image_packed16_4() local 519 data_out[0] = image->comps[0].data; in fill_image_packed16_4() 520 data_out[1] = image->comps[1].data; in fill_image_packed16_4() 521 data_out[2] = image->comps[2].data; in fill_image_packed16_4() 522 data_out[3] = image->comps[3].data; in fill_image_packed16_4() 528 *data_out[3] = tmp[0]; in fill_image_packed16_4() 529 *data_out[0] = tmp[1]; in fill_image_packed16_4() 530 *data_out[1] = tmp[2]; in fill_image_packed16_4() 531 *data_out[2] = tmp[3]; in fill_image_packed16_4() 534 data_out[0]++; in fill_image_packed16_4() [all …]
|
D | gstopenjpegdec.c | 423 guint8 *data_out, *tmp; in fill_frame_packed8_4() local 429 data_out = GST_VIDEO_FRAME_PLANE_DATA (frame, 0); in fill_frame_packed8_4() 441 data_out += y0 * dstride; in fill_frame_packed8_4() 443 tmp = data_out; in fill_frame_packed8_4() 458 data_out += dstride; in fill_frame_packed8_4() 467 guint16 *data_out, *tmp; in fill_frame_packed16_4() local 473 data_out = GST_VIDEO_FRAME_PLANE_DATA (frame, 0); in fill_frame_packed16_4() 486 data_out += y0 * dstride; in fill_frame_packed16_4() 488 tmp = data_out; in fill_frame_packed16_4() 503 data_out += dstride; in fill_frame_packed16_4() [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/ |
D | nms_with_mask_impl.cu | 49 __global__ void PopulateOutput(T *data_in, T *data_out, int *index_buff, const int num, int box_siz… in PopulateOutput() argument 58 data_out[current_arr_start + 0] = data_in[correct_arr_start + 2]; in PopulateOutput() 59 data_out[current_arr_start + 2] = data_in[correct_arr_start + 0]; in PopulateOutput() 61 data_out[current_arr_start + 0] = data_in[correct_arr_start + 0]; in PopulateOutput() 62 data_out[current_arr_start + 2] = data_in[correct_arr_start + 2]; in PopulateOutput() 66 data_out[current_arr_start + 1] = data_in[correct_arr_start + 3]; in PopulateOutput() 67 data_out[current_arr_start + 3] = data_in[correct_arr_start + 1]; in PopulateOutput() 69 data_out[current_arr_start + 1] = data_in[correct_arr_start + 1]; in PopulateOutput() 70 data_out[current_arr_start + 3] = data_in[correct_arr_start + 3]; in PopulateOutput() 72 data_out[current_arr_start + 4] = data_in[correct_arr_start + 4]; in PopulateOutput() [all …]
|
/third_party/cef/libcef_dll/ctocpp/ |
D | resource_handler_ctocpp.cc | 142 void* data_out, in Read() argument 155 DCHECK(data_out); in Read() 156 if (!data_out) in Read() 164 int _retval = _struct->read(_struct, data_out, bytes_to_read, &bytes_read, in Read() 172 bool CefResourceHandlerCToCpp::ReadResponse(void* data_out, in ReadResponse() argument 185 DCHECK(data_out); in ReadResponse() 186 if (!data_out) in ReadResponse() 195 _struct->read_response(_struct, data_out, bytes_to_read, &bytes_read, in ReadResponse()
|
D | response_filter_ctocpp.cc | 41 void* data_out, in Filter() argument 53 DCHECK(data_out); in Filter() 54 if (!data_out) in Filter() 60 _struct->filter(_struct, data_in, data_in_size, &data_in_read, data_out, in Filter()
|
/third_party/cef/libcef_dll/cpptoc/ |
D | resource_handler_cpptoc.cc | 171 void* data_out, in resource_handler_read() argument 183 DCHECK(data_out); in resource_handler_read() 184 if (!data_out) in resource_handler_read() 200 data_out, bytes_to_read, bytes_readVal, in resource_handler_read() 213 void* data_out, in resource_handler_read_response() argument 225 DCHECK(data_out); in resource_handler_read_response() 226 if (!data_out) in resource_handler_read_response() 242 data_out, bytes_to_read, bytes_readVal, in resource_handler_read_response()
|
D | response_filter_cpptoc.cc | 44 void* data_out, in response_filter_filter() argument 59 DCHECK(data_out); in response_filter_filter() 60 if (!data_out) in response_filter_filter() 76 data_in, data_in_size, data_in_readVal, data_out, data_out_size, in response_filter_filter()
|
/third_party/cef/libcef/browser/net_service/ |
D | response_filter_wrapper.cc | 126 std::unique_ptr<std::string> data_out; in Filter() local 131 if (!data_out) { in Filter() 134 data_out = std::make_unique<std::string>(); in Filter() 135 data_out->resize(kBufferSize); in Filter() 138 auto data_out_ptr = data_out->data() + data_out_offset; in Filter() 172 data_out->resize(data_out_offset); in Filter() 173 Write(std::move(data_out)); in Filter() 200 data_out->resize(data_out_offset); in Filter() 201 Write(std::move(data_out)); in Filter()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/ |
D | nms_with_mask_cpu_kernel.cc | 88 void NMSWithMaskCPUKernel<T>::PopulateOutput(const T *data_in, T *data_out, const int *index_buff, … in PopulateOutput() argument 90 …auto task = [this, &index_buff, &data_in, &data_out, flip_mode, num, box_size](int start, int end)… in PopulateOutput() 98 data_out[current_arr_start + X0] = data_in[correct_arr_start + X1]; in PopulateOutput() 99 data_out[current_arr_start + X1] = data_in[correct_arr_start + X0]; in PopulateOutput() 101 data_out[current_arr_start + X0] = data_in[correct_arr_start + X0]; in PopulateOutput() 102 data_out[current_arr_start + X1] = data_in[correct_arr_start + X1]; in PopulateOutput() 106 data_out[current_arr_start + Y0] = data_in[correct_arr_start + Y1]; in PopulateOutput() 107 data_out[current_arr_start + Y1] = data_in[correct_arr_start + Y0]; in PopulateOutput() 109 data_out[current_arr_start + Y0] = data_in[correct_arr_start + Y0]; in PopulateOutput() 110 data_out[current_arr_start + Y1] = data_in[correct_arr_start + Y1]; in PopulateOutput() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | libkvazaar.c | 123 kvz_data_chunk *data_out = NULL; in libkvazaar_init() local 128 if (!api->encoder_headers(enc, &data_out, &len_out)) in libkvazaar_init() 133 ctx->api->chunk_free(data_out); in libkvazaar_init() 139 for (chunk = data_out; chunk != NULL; chunk = chunk->next) { in libkvazaar_init() 144 ctx->api->chunk_free(data_out); in libkvazaar_init() 174 kvz_data_chunk *data_out = NULL; in libkvazaar_encode() local 229 &data_out, &len_out, in libkvazaar_encode() 239 if (data_out) { in libkvazaar_encode() 249 for (chunk = data_out; chunk != NULL; chunk = chunk->next) { in libkvazaar_encode() 299 ctx->api->chunk_free(data_out); in libkvazaar_encode()
|
/third_party/cef/tests/cefclient/browser/ |
D | response_filter_test.cc | 55 void* data_out, in Filter() argument 60 DCHECK(data_out); in Filter() 70 char* data_out_ptr = static_cast<char*>(data_out); in Filter() 184 void* data_out, in Filter() argument 189 DCHECK(data_out); in Filter() 199 memcpy(data_out, data_in, data_out_written); in Filter()
|
/third_party/gstreamer/gstplugins_bad/ext/curl/ |
D | gstcurlsmtpsink.c | 167 gchar *data_out; in add_final_boundary_unlocked() local 177 data_out = g_malloc (6); in add_final_boundary_unlocked() 180 len = g_base64_encode_close (TRUE, data_out, &state, &save); in add_final_boundary_unlocked() 183 data_out[len - 1] = '\r'; in add_final_boundary_unlocked() 184 data_out[len] = '\n'; in add_final_boundary_unlocked() 187 g_byte_array_append (array, (guint8 *) data_out, (guint) (len + 1)); in add_final_boundary_unlocked() 188 g_free (data_out); in add_final_boundary_unlocked() 772 gchar *data_out; in gst_curl_smtp_sink_flush_data_unlocked() local 797 data_out = g_malloc (6); in gst_curl_smtp_sink_flush_data_unlocked() 798 len = g_base64_encode_close (TRUE, data_out, &state, &save); in gst_curl_smtp_sink_flush_data_unlocked() [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | vf_lensfun.c | 68 uint8_t *data_out; member 335 … thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = 0; in distortion_correction_filter_slice() 337 …thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = thread_data->data_in[ne… in distortion_correction_filter_slice() 347 … thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = 0; in distortion_correction_filter_slice() 349 … thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = in distortion_correction_filter_slice() 375 … thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = 0; in distortion_correction_filter_slice() 378 …thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = interpolated < 0.0f ? 0… in distortion_correction_filter_slice() 389 … thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = 0; in distortion_correction_filter_slice() 391 …thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = thread_data->data_in[ne… in distortion_correction_filter_slice() 401 … thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = 0; in distortion_correction_filter_slice() [all …]
|
/third_party/mindspore/mindspore/core/ir/ |
D | pattern_matcher.h | 826 TM *data_out = new TM[out_data_size]; 830 data_out[i] = data_1[0]; 834 data_out[i] = data_1[i]; 840 data_out[i] += data_2[0]; 842 data_out[i] *= data_2[0]; 853 data_out[i] += data_2[i]; 855 data_out[i] *= data_2[i]; 862 data_out[i] = 0; 867 *out_data = reinterpret_cast<void *>(data_out); 911 void *data_out = nullptr; [all …]
|
/third_party/mesa3d/src/intel/tools/ |
D | aub_write.c | 82 data_out(struct aub_file *aub, const void *data, size_t size) in data_out() function 94 data_out(aub, &data, sizeof(data)); in dword_out() 114 data_out(aub, app_name, app_name_len); in write_execlists_header() 136 data_out(aub, app_name, sizeof(app_name)); in write_legacy_header() 141 data_out(aub, comment, comment_dwords * 4); in write_legacy_header() 285 data_out(aub, entries + dirty_start, write_size); in populate_ppgtt_table() 443 data_out(aub, (char *) data + offset, block_size); in aub_write_ggtt() 446 data_out(aub, null_block, -block_size & 3); in aub_write_ggtt() 563 data_out(aub, context_data, context_size); in write_engine_execlist_setup() 710 data_out(aub, ((char *) virtual) + offset, block_size); in aub_write_trace_block() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/non_robust_buffer_access/ |
D | unexecuted_oob_underflow.amber | 91 BUFFER data_out DATA_TYPE int32 SIZE 1024 FILL -1 100 BIND BUFFER data_out AS storage DESCRIPTOR_SET 0 BINDING 3 105 EXPECT data_out EQ_BUFFER expected
|
D | unexecuted_oob_overflow.amber | 91 BUFFER data_out DATA_TYPE int32 SIZE 1024 FILL -1 100 BIND BUFFER data_out AS storage DESCRIPTOR_SET 0 BINDING 3 105 EXPECT data_out EQ_BUFFER expected
|
/third_party/f2fs-tools/tools/sg_write_buffer/include/ |
D | sg_cmds_extra.h | 259 unsigned int lba, int veri_len, void * data_out, 274 void * data_out, int data_out_len, uint64_t * infop, 307 unsigned int lba, void * data_out, int xfer_len, 319 uint64_t llba, void * data_out, int xfer_len,
|
/third_party/cef/tests/ceftests/ |
D | download_unittest.cc | 83 bool Read(void* data_out, in Read() argument 95 data_out, bytes_to_read, callback)); in Read() 99 return DoRead(data_out, bytes_to_read, bytes_read); in Read() 105 void ContinueRead(void* data_out, in ContinueRead() argument 109 DoRead(data_out, bytes_to_read, bytes_read); in ContinueRead() 113 bool DoRead(void* data_out, int bytes_to_read, int& bytes_read) { in DoRead() argument 119 memcpy(data_out, content_.c_str() + offset_, transfer_size); in DoRead()
|
/third_party/libsnd/Octave/ |
D | octave_test.m | 27 data_out = sin (440.0 * t) ; variable 30 sfwrite (filename, data_out, srate_out, fmt_out) ; 44 err = max (abs (data_out - data_in)) ;
|