/third_party/libsnd/src/ |
H A 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), __LINE__) ; in file_read_write_test() 138 if ((retval = psf_get_filelen (psf)) != sizeof (data_out)) in file_read_write_test() 139 { printf ("\n\nLine %d: file length after 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_LE in file_read_write_test() [all...] |
/third_party/libsnd/tests/ |
H A 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 in ogg_opus_int_test() [all...] |
H A 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 in mpeg_int_test() [all...] |
H A 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 in ogg_int_test() [all...] |
H A 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()
|
H A D | string_test.c | 213 static short data_out [BUFFER_LEN] ; variable 241 test_write_short_or_die (file, 0, data_out, BUFFER_LEN, __LINE__) ; in string_start_end_test() 415 test_write_short_or_die (file, 0, data_out, BUFFER_LEN, __LINE__) ; in string_start_test() 573 test_write_short_or_die (file, 0, data_out, BUFFER_LEN, __LINE__) ; in string_multi_set_test() 691 test_write_short_or_die (file, 0, data_out, BUFFER_LEN, __LINE__) ; in string_short_rdwr_test() 806 test_write_short_or_die (file, 0, data_out, BUFFER_LEN, __LINE__) ; in string_rdwr_grow_test() 817 test_write_short_or_die (file, 0, data_out, BUFFER_LEN, __LINE__) ; in string_rdwr_grow_test() 860 test_write_short_or_die (file, 0, data_out, BUFFER_LEN, __LINE__) ; in string_header_update() 868 test_write_short_or_die (file, 0, data_out, GROW_BUFFER_AMOUNT, __LINE__) ; in string_header_update() 891 test_write_short_or_die (file, 0, data_out, GROW_BUFFER_AMOUN in string_header_update() [all...] |
H A D | dither_test.c | 43 static short data_out [BUFFER_LEN] ; variable 168 test_write_short_or_die (file, 0, data_out, BUFFER_LEN, __LINE__) ; in dither_test()
|
/third_party/curl/lib/ |
H A D | cf-haproxy.c | 44 HAPROXY_SEND, /* data_out being sent */ 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) > in cf_haproxy_connect() [all...] |
/third_party/astc-encoder/Utils/ |
H A 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()
|
H A 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 + x) * 4) + 0]; in main() 199 data_out[(y * outblk_x * 4) + (x * 4) + 1] = data_ref[((start_y + y) * ref_dim_x * 4) + ((start_x + x) * 4) + 1]; in main() 200 data_out[(y * outblk_x * 4) + (x * 4) + 2] = data_ref[((start_y + y) * ref_dim_x * 4) + ((start_x + x) * 4) + 2]; in main() 201 data_out[(y * outblk_x * 4) + (x * 4) + 3] = data_ref[((start_y + y) * ref_dim_x * 4) + ((start_x + x) * 4) + 3]; in main() 206 stbi_write_hdr(argv[5], outblk_x, outblk_y, 4, data_out); in main() 208 free(data_out); in main()
|
H A D | astc_blend_test.cpp | 132 uint8_t* data_out = (uint8_t*)malloc(4 * dim_y * dim_x); in main() local 133 if (!data_out) in main() 145 uint8_t* row_out = data_out + (4 * dim_x * y); in main() 216 uint8_t* row_out = data_out + (4 * (dim_x - 1) * y); in main() 289 stbi_write_png(dst_file, dim_x, dim_y, 4, data_out, 4 * dim_x); in main() 293 stbi_write_png(dst_file, dim_x - 1, dim_y - 1, 4, data_out, 4 * (dim_x - 1)); in main()
|
H A D | astc_test_autoextract.cpp | 194 uint8_t* data_out = &(data_ref[pix(ref_dim_x, start_y, start_x, 4, 0)]); in main() local 195 stbi_write_png(argv[5], outblk_x, outblk_y, 4, data_out, 4 * ref_dim_x); in main()
|
/third_party/ffmpeg/libavcodec/ |
H A D | libkvazaar.c | 124 kvz_data_chunk *data_out = NULL; in libkvazaar_init() local 129 if (!api->encoder_headers(enc, &data_out, &len_out)) in libkvazaar_init() 134 ctx->api->chunk_free(data_out); in libkvazaar_init() 140 for (chunk = data_out; chunk != NULL; chunk = chunk->next) { in libkvazaar_init() 145 ctx->api->chunk_free(data_out); in libkvazaar_init() 172 kvz_data_chunk *data_out = NULL; in libkvazaar_encode() local 233 &data_out, &len_out, in libkvazaar_encode() 243 if (data_out) { in libkvazaar_encode() 253 for (chunk = data_out; chunk != NULL; chunk = chunk->next) { in libkvazaar_encode() 292 ctx->api->chunk_free(data_out); in libkvazaar_encode() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_lensfun.c | 67 uint8_t *data_out; member 328 thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = 0; in distortion_correction_filter_slice() 330 thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = thread_data->data_in[new_x_int * 3 + rgb_index + new_y_int * thread_data->linesize_in]; in distortion_correction_filter_slice() 340 thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = 0; in distortion_correction_filter_slice() 342 thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = in distortion_correction_filter_slice() 368 thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = 0; in distortion_correction_filter_slice() 371 thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = interpolated < 0.0f ? 0.0f : interpolated > 255.0f ? 255.0f : interpolated; in distortion_correction_filter_slice() 382 thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = 0; in distortion_correction_filter_slice() 384 thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = thread_data->data_in[new_x_int * 3 + rgb_index + new_y_int * thread_data->linesize_in]; in distortion_correction_filter_slice() 394 thread_data->data_out[ in distortion_correction_filter_slice() [all...] |
/third_party/mesa3d/src/intel/tools/ |
H A 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(au in aub_write_trace_block() [all...] |
/third_party/node/deps/v8/src/codegen/ |
H A D | handler-table.cc | 172 int HandlerTable::LookupRange(int pc_offset, int* data_out, in LookupRange() argument 195 if (data_out) *data_out = handler_data; in LookupRange()
|
/third_party/mesa3d/src/intel/isl/ |
H A D | isl_format.c | 1207 uint32_t data_out[4]) in pack_channel() 1255 data_out[dword] |= (packed & u_uintN_max(layout->bits)) << bit; in pack_channel() 1266 uint32_t *data_out) in isl_color_value_pack() 1273 memset(data_out, 0, isl_align(fmtl->bpb, 32) / 8); in isl_color_value_pack() 1276 data_out[0] = float3_to_rgb9e5(value->f32); in isl_color_value_pack() 1279 data_out[0] = float3_to_r11g11b10f(value->f32); in isl_color_value_pack() 1283 pack_channel(value, 0, &fmtl->channels.r, fmtl->colorspace, data_out); in isl_color_value_pack() 1284 pack_channel(value, 1, &fmtl->channels.g, fmtl->colorspace, data_out); in isl_color_value_pack() 1285 pack_channel(value, 2, &fmtl->channels.b, fmtl->colorspace, data_out); in isl_color_value_pack() 1286 pack_channel(value, 3, &fmtl->channels.a, ISL_COLORSPACE_LINEAR, data_out); in isl_color_value_pack() 1204 pack_channel(const union isl_color_value *value, unsigned i, const struct isl_channel_layout *layout, enum isl_colorspace colorspace, uint32_t data_out[4]) pack_channel() argument 1264 isl_color_value_pack(const union isl_color_value *value, enum isl_format format, uint32_t *data_out) isl_color_value_pack() argument [all...] |
/third_party/pulseaudio/src/pulsecore/resampler/ |
H A D | libsamplerate.c | 43 data.data_out = pa_memblock_acquire_chunk(output); in libsamplerate_resample()
|
/third_party/alsa-utils/alsaloop/ |
H A D | pcmjob.c | 579 old_data_out = loop->src_data.data_out; in buf_add_src() 580 loop->src_data.data_out = old_data_out + loop->src_out_frames; in buf_add_src() 582 loop->src_data.data_out = old_data_out; in buf_add_src() 597 src_float_to_int_array(loop->src_data.data_out + in buf_add_src() 603 src_float_to_short_array(loop->src_data.data_out + in buf_add_src() 622 memmove(loop->src_data.data_out, in buf_add_src() 623 loop->src_data.data_out + pos * play->channels, in buf_add_src() 1441 free(loop->src_data.data_out); in freeloop() 1442 loop->src_data.data_out = NULL; in freeloop() 1625 loop->src_data.data_out in pcmjob_start() [all...] |
/third_party/astc-encoder/Source/ |
H A D | astcenc.h | 792 * @param[out] data_out Pointer to output data array. 802 uint8_t* data_out,
|
H A D | astcenc_entry.cpp | 1064 uint8_t* data_out, in astcenc_compress_image() 1076 (void)data_out; in astcenc_compress_image() 1146 compress_image(*ctxo, thread_index, image, *swizzle, data_out, calQualityEnable, mse); in astcenc_compress_image() 1148 compress_image(*ctxo, thread_index, image, *swizzle, data_out); in astcenc_compress_image() 1060 astcenc_compress_image( astcenc_context* ctxo, astcenc_image* imagep, const astcenc_swizzle* swizzle, uint8_t* data_out, size_t data_len, bool calQualityEnable, int32_t *mse[RGBA_COM], unsigned int thread_index ) astcenc_compress_image() argument
|
/third_party/libbpf/src/ |
H A D | bpf.h | 452 void *data_out; /* optional */ member 453 __u32 data_size_out; /* in: max length of data_out 454 * out: length of data_out */ 620 void *data_out; /* optional */ member 622 __u32 data_size_out; /* in: max length of data_out 623 * out: length of data_out
|
/third_party/node/deps/v8/src/web-snapshot/ |
H A D | web-snapshot.h | 125 WebSnapshotData& data_out); 127 WebSnapshotData& data_out);
|
/third_party/python/Lib/test/ |
H A D | test_xmlrpc.py | 1430 with captured_stdout(encoding=self.cgi.encoding) as data_out: 1434 data_out.seek(0) 1435 handle = data_out.read() 1459 captured_stdout(encoding=self.cgi.encoding) as data_out, \ 1465 data_out.seek(0) 1468 handle = data_out.read()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
H A D | es31cShaderAtomicCountersTests.cpp | 1477 Vec4* data_out; in Run() local 1480 data_out = static_cast<Vec4*>(glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, sizeof(Vec4), GL_MAP_READ_BIT)); in Run() 1481 if (data_out[0].x() != 0.0 || data_out[0].y() != 1.0 || data_out[0].z() != 0.0 || data_out[0].w() != 1.0) in Run() 1484 << tcu::TestLog::Message << "Expected vec4(0, 1, 0, 1) in the buffer, got: " << data_out[0].x() << " " in Run() 1485 << data_out[0].y() << " " << data_out[0].z() << " " << data_out[ in Run() [all...] |