| /third_party/libsnd/src/ |
| H A D | test_file_io.c | 115 static int data_in [512] ; in file_read_write_test() local 168 test_read_or_die (psf, data_in, 1, sizeof (data_in), sizeof (data_in), __LINE__) ; in file_read_write_test() 169 test_equal_or_die (data_out, data_in, ARRAY_LEN (data_out), __LINE__) ; in file_read_write_test() 172 test_read_or_die (psf, data_in, sizeof (data_in [0]), ARRAY_LEN (data_in), 2 * sizeof (data_in), __LINE__) ; in file_read_write_test() 173 test_equal_or_die (data_out, data_in, ARRAY_LE in file_read_write_test() [all...] |
| /third_party/astc-encoder/Utils/ |
| H A D | astc_rgbm_codec.cpp | 71 const float* data_in = stbi_loadf(src_file, &dim_x, &dim_y, nullptr, 4); in main() local 72 if (!data_in) in main() 89 const float* row_in = data_in + (4 * dim_x * y); in main() 129 const uint8_t* data_in = stbi_load(src_file, &dim_x, &dim_y, nullptr, 4); in main() local 130 if (!data_in) in main() 147 const uint8_t* row_in = data_in + (4 * dim_x * y); in main()
|
| H A D | astc_blend_test.cpp | 124 const uint8_t* data_in = stbi_load(src_file, &dim_x, &dim_y, nullptr, 4); in main() local 125 if (!data_in) in main() 144 const uint8_t* row_in = data_in + (4 * dim_x * y); in main() 213 const uint8_t* row_in_0 = data_in + (4 * dim_x * y); in main() 214 const uint8_t* row_in_1 = data_in + (4 * dim_x * (y + 1)); in main()
|
| /third_party/libsnd/tests/ |
| H A D | ogg_opus_test.c | 47 static BUFFER data_in ; variable 83 test_read_short_or_die (file, 0, data_in.s, ARRAY_LEN (data_in.s), __LINE__) ; in ogg_opus_short_test() 95 compare_short_or_die (seek_data, data_in.s + 10, ARRAY_LEN (seek_data), __LINE__) ; in ogg_opus_short_test() 141 test_read_int_or_die (file, 0, data_in.i, ARRAY_LEN (data_in.i), __LINE__) ; in ogg_opus_int_test() 153 compare_int_or_die (seek_data, data_in.i + 10, ARRAY_LEN (seek_data), __LINE__) ; in ogg_opus_int_test() 190 test_read_float_or_die (file, 0, data_in.f, ARRAY_LEN (data_in.f), __LINE__) ; in ogg_opus_float_test() 202 compare_float_or_die (seek_data, data_in in ogg_opus_float_test() [all...] |
| H A D | mpeg_test.c | 48 static BUFFER data_in ; variable 84 test_read_short_or_die (file, 0, data_in.s, ARRAY_LEN (data_in.s), __LINE__) ; in mpeg_short_test() 96 compare_short_or_die (seek_data, data_in.s + 10, ARRAY_LEN (seek_data), __LINE__) ; in mpeg_short_test() 142 test_read_int_or_die (file, 0, data_in.i, ARRAY_LEN (data_in.i), __LINE__) ; in mpeg_int_test() 154 compare_int_or_die (seek_data, data_in.i + 10, ARRAY_LEN (seek_data), __LINE__) ; in mpeg_int_test() 191 test_read_float_or_die (file, 0, data_in.f, ARRAY_LEN (data_in.f), __LINE__) ; in mpeg_float_test() 203 compare_float_or_die (seek_data, data_in in mpeg_float_test() [all...] |
| H A D | ogg_test.c | 47 static BUFFER data_in ; variable 83 test_read_short_or_die (file, 0, data_in.s, ARRAY_LEN (data_in.s), __LINE__) ; in ogg_short_test() 95 compare_short_or_die (seek_data, data_in.s + 10, ARRAY_LEN (seek_data), __LINE__) ; in ogg_short_test() 141 test_read_int_or_die (file, 0, data_in.i, ARRAY_LEN (data_in.i), __LINE__) ; in ogg_int_test() 153 compare_int_or_die (seek_data, data_in.i + 10, ARRAY_LEN (seek_data), __LINE__) ; in ogg_int_test() 190 test_read_float_or_die (file, 0, data_in.f, ARRAY_LEN (data_in.f), __LINE__) ; in ogg_float_test() 202 compare_float_or_die (seek_data, data_in in ogg_float_test() [all...] |
| /third_party/ffmpeg/libavfilter/ |
| H A D | vf_lensfun.c | 57 uint8_t *data_in; member 66 const uint8_t *data_in; member 293 thread_data->data_in + slice_start * thread_data->linesize_in, in vignetting_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() 343 thread_data->data_in[ new_x_int * 3 + rgb_index + new_y_int * thread_data->linesize_in] * (new_x_int + 1 - new_x) * (new_y_int + 1 - new_y) in distortion_correction_filter_slice() 344 + thread_data->data_in[(new_x_int + 1) * 3 + rgb_index + new_y_int * thread_data->linesize_in] * (new_x - new_x_int) * (new_y_int + 1 - new_y) in distortion_correction_filter_slice() 345 + thread_data->data_in[ new_x_int * 3 + rgb_index + (new_y_int + 1) * thread_data->linesize_in] * (new_x_int + 1 - new_x) * (new_y - new_y_int) in distortion_correction_filter_slice() 346 + thread_data->data_in[(new_x_int + 1) * 3 + rgb_index + (new_y_int + 1) * thread_data->linesize_in] * (new_x - new_x_int) * (new_y - new_y_int); in distortion_correction_filter_slice() 365 interpolated += thread_data->data_in[(new_x_int + i - 2) * 3 + rgb_index + (new_y_int + j - 2) * thread_data->linesize_in] * d; 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_in in distortion_correction_filter_slice() [all...] |
| /device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/compat/ |
| H A D | drv_klad.c | 77 hi_void hal_cipher_set_klad_data(const hi_u32 *data_in, hi_u32 data_len_in_word) in hal_cipher_set_klad_data() argument 83 (hi_void)hal_cipher_write_reg(KLAD_REG_DAT_IN + i * WORD_WIDTH, data_in[i]); in hal_cipher_set_klad_data() 196 hi_cipher_ca_type root_key, hi_cipher_klad_target target, const hi_u8 *data_in, hi_u32 key_len) in drv_cipher_klad_load_key() 204 hi_log_chk_param_return(data_in == HI_NULL); in drv_cipher_klad_load_key() 216 if (memcpy_s(key, sizeof(key), data_in + i * AES_BLOCK_SIZE, AES_BLOCK_SIZE) != EOK) { in drv_cipher_klad_load_key() 195 drv_cipher_klad_load_key(hi_u32 chn_id, hi_cipher_ca_type root_key, hi_cipher_klad_target target, const hi_u8 *data_in, hi_u32 key_len) drv_cipher_klad_load_key() argument
|
| H A D | drv_klad.h | 51 hi_void hal_cipher_set_klad_data(const hi_u32 *data_in, hi_u32 data_len_in_word); 59 hi_cipher_ca_type root_key, hi_cipher_klad_target target, const hi_u8 *data_in, hi_u32 key_len);
|
| /device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/extend/ |
| H A D | ext_sm4.c | 95 static hi_u32 mix_r(const hi_u32 data_in, const hi_s32 type) in mix_r() argument 105 sbox_r = ((data_in << (j * BYTE_BITS)) >> 28); /* soft sm4 alg: right shift 28 bits. */ in mix_r() 106 sbox_c = ((data_in << (j * BYTE_BITS + BYTE_4BIT)) >> 28); /* soft sm4 alg: right shift 28 bits. */ in mix_r() 313 static hi_u32 sm4_ecb_rm(const hi_u8 *data_in, in sm4_ecb_rm() argument 321 sm4_ecb_crypt(data_in, data_out, SM4_BLOCK_SIZE, &ctx, decrypt); in sm4_ecb_rm() 323 data_in = data_in + SM4_BLOCK_SIZE; in sm4_ecb_rm() 331 static hi_u32 sm4_cbc_rm(const hi_u8 *data_in, hi_u8 *data_out, hi_s32 data_len, in sm4_cbc_rm() argument 342 sm4_cbc_crypt(data_in, data_out, valid_data_len, &ctx, iv, decrypt); in sm4_cbc_rm() 348 static hi_u32 sm4_ctr_rm(const hi_u8 *data_in, hi_u argument [all...] |
| /third_party/pulseaudio/src/pulsecore/resampler/ |
| H A D | libsamplerate.c | 40 data.data_in = pa_memblock_acquire_chunk(input); in libsamplerate_resample()
|
| /device/qemu/SmartL_E802/liteos_m/board/hals/csky_driver/include/ |
| H A D | drv_spi.h | 195 \param[out] data_in Pointer to buffer for data to receive from SPI receiver 200 int32_t csi_spi_transfer(spi_handle_t handle, const void *data_out, void *data_in, uint32_t num_out, uint32_t num_in);
|
| H A D | drv_usart.h | 284 \param[out] data_in Pointer to buffer for data to receive from USART receiver.data_type is : uint8_t for 5..8 data bits, uint16_t for 9 data bits 288 int32_t csi_usart_transfer(usart_handle_t handle, const void *data_out, void *data_in, uint32_t num);
|
| /third_party/mesa3d/src/intel/isl/ |
| H A D | isl_format.c | 1297 const uint32_t *data_in) in unpack_channel() 1305 uint32_t packed = (data_in[dword] >> bit) & u_uintN_max(layout->bits); in unpack_channel() 1363 const uint32_t *data_in) in isl_color_value_unpack() 1379 rgb9e5_to_float3(data_in[0], value->f32); in isl_color_value_unpack() 1382 r11g11b10f_to_float3(data_in[0], value->f32); in isl_color_value_unpack() 1386 unpack_channel(value, 0, 1, &fmtl->channels.r, fmtl->colorspace, data_in); in isl_color_value_unpack() 1387 unpack_channel(value, 1, 1, &fmtl->channels.g, fmtl->colorspace, data_in); in isl_color_value_unpack() 1388 unpack_channel(value, 2, 1, &fmtl->channels.b, fmtl->colorspace, data_in); in isl_color_value_unpack() 1389 unpack_channel(value, 3, 1, &fmtl->channels.a, ISL_COLORSPACE_LINEAR, data_in); in isl_color_value_unpack() 1390 unpack_channel(value, 0, 3, &fmtl->channels.l, fmtl->colorspace, data_in); in isl_color_value_unpack() 1293 unpack_channel(union isl_color_value *value, unsigned start, unsigned count, const struct isl_channel_layout *layout, enum isl_colorspace colorspace, const uint32_t *data_in) unpack_channel() argument 1361 isl_color_value_unpack(union isl_color_value *value, enum isl_format format, const uint32_t *data_in) isl_color_value_unpack() argument [all...] |
| H A D | isl.h | 2042 const uint32_t *data_in);
|
| /third_party/libbpf/src/ |
| H A D | bpf.h | 450 const void *data_in; member 619 const void *data_in; /* optional */ member
|
| H A D | bpf.c | 991 attr.test.data_in = ptr_to_u64(OPTS_GET(opts, data_in, NULL)); in bpf_prog_test_run_opts()
|
| /third_party/python/Modules/ |
| H A D | _elementtree.c | 3196 expat_default_handler(XMLParserObject* self, const XML_Char* data_in, in expat_default_handler() argument 3203 if (data_len < 2 || data_in[0] != '&') in expat_default_handler() 3209 key = PyUnicode_DecodeUTF8(data_in + 1, data_len - 2, "strict"); in expat_default_handler() 3228 strncat(message, data_in, data_len < 100?data_len:100); in expat_default_handler() 3313 expat_data_handler(XMLParserObject* self, const XML_Char* data_in, in expat_data_handler() argument 3322 data = PyUnicode_DecodeUTF8(data_in, data_len, "strict"); in expat_data_handler() 3545 const XML_Char* data_in) in expat_pi_handler() 3563 data = PyUnicode_DecodeUTF8(data_in, strlen(data_in), "strict"); in expat_pi_handler() 3575 data = PyUnicode_DecodeUTF8(data_in, strle in expat_pi_handler() 3544 expat_pi_handler(XMLParserObject* self, const XML_Char* target_in, const XML_Char* data_in) expat_pi_handler() argument [all...] |
| /third_party/alsa-utils/alsaloop/ |
| H A D | pcmjob.c | 561 (float *)loop->src_data.data_in + in buf_add_src() 567 (float *)loop->src_data.data_in + in buf_add_src() 1439 free((void *)loop->src_data.data_in); in freeloop() 1440 loop->src_data.data_in = NULL; in freeloop() 1620 loop->src_data.data_in = calloc(1, sizeof(float)*loop->capt->channels*loop->capt->buf_size); in pcmjob_start() 1621 if (loop->src_data.data_in == NULL) { in pcmjob_start()
|
| /third_party/ltp/include/lapi/ |
| H A D | bpf.h | 254 uint32_t data_size_in; /* input: len of data_in */ 259 aligned_uint64_t data_in; member
|
| /third_party/python/Lib/test/ |
| H A D | test_xmlrpc.py | 1460 support.captured_stdin() as data_in: 1461 data_in.write(data) 1462 data_in.seek(0)
|
| /device/qemu/SmartL_E802/liteos_m/board/hals/csky_driver/src/ |
| H A D | ck_usart.c | 780 \param[out] data_in Pointer to buffer for data to receive from USART receiver 784 int32_t csi_usart_transfer(usart_handle_t handle, const void *data_out, void *data_in, uint32_t num) in csi_usart_transfer() argument
|
| /device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/src/adp/tde_v2_0/ |
| H A D | tde_osictl_k.c | 1785 /* data_in :positive or negetive ; bit:complement width */ 1786 static hi_u32 tde_true_value_to_complement(hi_s32 data_in, hi_u32 bit) in tde_true_value_to_complement() argument 1791 if (data_in >> (bit - 1)) { in tde_true_value_to_complement() 1792 data_in_tmp = 0 - data_in; in tde_true_value_to_complement() 1795 data_out = data_in; in tde_true_value_to_complement() 1801 /* data_in :positive or negetive ; bit:complement width */ 1802 static hi_s32 tde_complement_to_true_value(hi_u32 data_in, hi_u32 bit) in tde_complement_to_true_value() argument 1807 if (data_in >> (bit - 1)) { in tde_complement_to_true_value() 1808 data_in_tmp = data_in & ((1 << (bit - 1)) - 1); in tde_complement_to_true_value() 1811 data_out = data_in; in tde_complement_to_true_value() [all...] |
| /third_party/ffmpeg/libavcodec/ |
| H A D | ilbcdec.c | 501 static void filter_arfq12(const int16_t *data_in, in filter_arfq12() argument 516 output = coefficients[0] * data_in[i] - (unsigned)sum; in filter_arfq12()
|
| /third_party/libbpf/include/uapi/linux/ |
| H A D | bpf.h | 337 * data *data_in*, and return the modified program context 342 * parameters *ctx_in*, *ctx_out*, *data_in*, and *data_out* must 351 * *data_in* and *data_out* must be NULL. 356 * *ctx_out*, *data_in* and *data_out* must be NULL. 1507 __u32 data_size_in; /* input: len of data_in */ 1512 __aligned_u64 data_in; member
|