/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] = (short) 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 | mpeg_test.c | 47 static BUFFER data_out ; variable 62 gen_windowed_sine_float (data_out.f, ARRAY_LEN (data_out.f), 1.0 * 0x7F00) ; in mpeg_short_test() 65 for (k = 0 ; k < ARRAY_LEN (data_out.s) ; k++) in mpeg_short_test() 66 data_out.s [k] = lrintf (data_out.f [k]) ; in mpeg_short_test() 77 test_write_short_or_die (file, 0, data_out.s, ARRAY_LEN (data_out.s), __LINE__) ; in mpeg_short_test() 120 gen_windowed_sine_float (data_out.f, ARRAY_LEN (data_out.f), 1.0 * 0x7FFF0000) ; in mpeg_int_test() 123 for (k = 0 ; k < ARRAY_LEN (data_out.i) ; k++) in mpeg_int_test() 124 data_out.i [k] = lrintf (data_out.f [k]) ; in mpeg_int_test() 135 test_write_int_or_die (file, 0, data_out.i, ARRAY_LEN (data_out.i), __LINE__) ; in mpeg_int_test() 173 gen_windowed_sine_float (data_out.f, ARRAY_LEN (data_out.f), 0.95) ; in mpeg_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] = (short) 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 | 42 static float data_out [DATA_LENGTH] ; variable 155 { gen_lowpass_signal_float (data_out, ARRAY_LEN (data_out)) ; in compression_size_test() 156 test_write_float_or_die (q3_file, 0, data_out, ARRAY_LEN (data_out), __LINE__) ; in compression_size_test() 157 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/curl/lib/ |
D | cf-haproxy.c | 50 struct dynbuf data_out; member 57 Curl_dyn_reset(&ctx->data_out); in cf_haproxy_ctx_reset() 63 Curl_dyn_free(&ctx->data_out); in cf_haproxy_ctx_free() 81 result = Curl_dyn_addn(&ctx->data_out, STRCONST("PROXY UNKNOWN\r\n")); in cf_haproxy_date_out_set() 91 result = Curl_dyn_addf(&ctx->data_out, "PROXY %s %s %s %i %i\r\n", in cf_haproxy_date_out_set() 130 len = Curl_dyn_len(&ctx->data_out); in cf_haproxy_connect() 133 Curl_dyn_ptr(&ctx->data_out), in cf_haproxy_connect() 137 Curl_dyn_tail(&ctx->data_out, len - (size_t)written); in cf_haproxy_connect() 138 if(Curl_dyn_len(&ctx->data_out) > 0) { in cf_haproxy_connect() 146 Curl_dyn_free(&ctx->data_out); in cf_haproxy_connect() [all …]
|
/third_party/astc-encoder/Utils/ |
D | astc_rgbm_codec.cpp | 79 uint8_t* data_out = (uint8_t*)malloc(4 * dim_y * dim_x); in main() local 80 if (!data_out) in main() 90 uint8_t* row_out = data_out + (4 * dim_x * y); in main() 121 stbi_write_png(dst_file, dim_x, dim_y, 4, data_out, 4 * dim_x); in main() 137 float* data_out = (float*)malloc(4 * dim_y * dim_x * sizeof(float)); in main() local 138 if (!data_out) in main() 148 float* row_out = data_out + (4 * dim_x * y); in main() 169 stbi_write_hdr(dst_file, dim_x, dim_y, 4, data_out); in main()
|
D | astc_test_autoextract_hdr.cpp | 193 float* data_out = (float*)malloc(blockdim_x * blockdim_y * 4 * 4); in main() local 198 …data_out[(y * outblk_x * 4) + (x * 4) + 0] = data_ref[((start_y + y) * ref_dim_x * 4) + ((start_x … in main() 199 …data_out[(y * outblk_x * 4) + (x * 4) + 1] = data_ref[((start_y + y) * ref_dim_x * 4) + ((start_x … in main() 200 …data_out[(y * outblk_x * 4) + (x * 4) + 2] = data_ref[((start_y + y) * ref_dim_x * 4) + ((start_x … in main() 201 …data_out[(y * outblk_x * 4) + (x * 4) + 3] = data_ref[((start_y + y) * ref_dim_x * 4) + ((start_x … in main() 206 stbi_write_hdr(argv[5], outblk_x, outblk_y, 4, data_out); in main() 208 free(data_out); in main()
|
/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/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/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/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/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/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_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
|
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
|
/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/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,
|