/external/adhd/cras/src/tests/ |
D | linear_resampler_unittest.cc | 16 static uint8_t in_buf[BUF_SIZE]; variable 26 memset(in_buf, 0, BUF_SIZE); in TEST() 29 *((int16_t*)(in_buf + i * 4)) = i * 10; in TEST() 30 *((int16_t*)(in_buf + i * 4 + 2)) = i * 20; in TEST() 36 rc = linear_resampler_resample(lr, in_buf + 4 * in_offset, &count, in TEST() 44 rc = linear_resampler_resample(lr, in_buf + 4 * in_offset, &count, in TEST() 51 EXPECT_GE(*(int16_t*)(in_buf + 4 * i), *(int16_t*)(out_buf + 4 * i)); in TEST() 52 EXPECT_LE(*(int16_t*)(in_buf + 4 * i), *(int16_t*)(out_buf + 4 * (i + 1))); in TEST() 64 memset(in_buf, 0, BUF_SIZE); in TEST() 67 *((int16_t*)(in_buf + i * 4)) = SHRT_MAX - i; in TEST() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | depthwise_conv_op.h | 212 auto* in_buf = input_buffer; 241 Eigen::internal::pstoreu<T>(in_buf, p); 242 in_buf += kDepth; 249 in_buf[dm] = value; 251 in_buf += kDepth; 256 in_buf[d] = static_cast<T>(0); 258 in_buf += output_pad_size; 261 memset(in_buf, 0, sizeof(T) * padded_filter_inner_dim_size); 262 in_buf += padded_filter_inner_dim_size; 286 Eigen::internal::pstoreu<T>(in_buf + dm, p); [all …]
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_tnc.c | 20 struct wpabuf *in_buf; member 63 wpabuf_free(data->in_buf); in eap_tnc_deinit() 152 if (len > wpabuf_tailroom(data->in_buf)) { in eap_tnc_process_cont() 158 wpabuf_put_data(data->in_buf, buf, len); in eap_tnc_process_cont() 161 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_tnc_process_cont() 174 if (data->in_buf == NULL && !(flags & EAP_TNC_FLAGS_LENGTH_INCLUDED)) { in eap_tnc_process_fragment() 181 if (data->in_buf == NULL) { in eap_tnc_process_fragment() 183 data->in_buf = wpabuf_alloc(message_length); in eap_tnc_process_fragment() 184 if (data->in_buf == NULL) { in eap_tnc_process_fragment() 190 wpabuf_put_data(data->in_buf, buf, len); in eap_tnc_process_fragment() [all …]
|
D | eap_ikev2.c | 20 struct wpabuf *in_buf; member 111 wpabuf_free(data->in_buf); in eap_ikev2_deinit() 271 if (len > wpabuf_tailroom(data->in_buf)) { in eap_ikev2_process_cont() 277 wpabuf_put_data(data->in_buf, buf, len); in eap_ikev2_process_cont() 280 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_ikev2_process_cont() 293 if (data->in_buf == NULL && !(flags & IKEV2_FLAGS_LENGTH_INCLUDED)) { in eap_ikev2_process_fragment() 300 if (data->in_buf == NULL) { in eap_ikev2_process_fragment() 309 data->in_buf = wpabuf_alloc(message_length); in eap_ikev2_process_fragment() 310 if (data->in_buf == NULL) { in eap_ikev2_process_fragment() 316 wpabuf_put_data(data->in_buf, buf, len); in eap_ikev2_process_fragment() [all …]
|
D | eap_wsc.c | 22 struct wpabuf *in_buf; member 291 wpabuf_free(data->in_buf); in eap_wsc_deinit() 378 if (len > wpabuf_tailroom(data->in_buf)) { in eap_wsc_process_cont() 384 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_cont() 387 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_wsc_process_cont() 400 if (data->in_buf == NULL && !(flags & WSC_FLAGS_LF)) { in eap_wsc_process_fragment() 407 if (data->in_buf == NULL) { in eap_wsc_process_fragment() 409 data->in_buf = wpabuf_alloc(message_length); in eap_wsc_process_fragment() 410 if (data->in_buf == NULL) { in eap_wsc_process_fragment() 417 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_fragment() [all …]
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_tnc.c | 23 struct wpabuf *in_buf; member 97 wpabuf_free(data->in_buf); in eap_tnc_reset() 401 if (len > wpabuf_tailroom(data->in_buf)) { in eap_tnc_process_cont() 407 wpabuf_put_data(data->in_buf, buf, len); in eap_tnc_process_cont() 410 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_tnc_process_cont() 421 if (data->in_buf == NULL && !(flags & EAP_TNC_FLAGS_LENGTH_INCLUDED)) { in eap_tnc_process_fragment() 427 if (data->in_buf == NULL) { in eap_tnc_process_fragment() 429 data->in_buf = wpabuf_alloc(message_length); in eap_tnc_process_fragment() 430 if (data->in_buf == NULL) { in eap_tnc_process_fragment() 435 wpabuf_put_data(data->in_buf, buf, len); in eap_tnc_process_fragment() [all …]
|
D | eap_server_wsc.c | 22 struct wpabuf *in_buf; member 158 wpabuf_free(data->in_buf); in eap_wsc_reset() 302 if (len > wpabuf_tailroom(data->in_buf)) { in eap_wsc_process_cont() 308 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_cont() 311 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_wsc_process_cont() 322 if (data->in_buf == NULL && !(flags & WSC_FLAGS_LF)) { in eap_wsc_process_fragment() 328 if (data->in_buf == NULL) { in eap_wsc_process_fragment() 330 data->in_buf = wpabuf_alloc(message_length); in eap_wsc_process_fragment() 331 if (data->in_buf == NULL) { in eap_wsc_process_fragment() 337 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_fragment() [all …]
|
D | eap_server_ikev2.c | 20 struct wpabuf *in_buf; member 126 wpabuf_free(data->in_buf); in eap_ikev2_reset() 283 if (len > wpabuf_tailroom(data->in_buf)) { in eap_ikev2_process_cont() 289 wpabuf_put_data(data->in_buf, buf, len); in eap_ikev2_process_cont() 292 (unsigned long) wpabuf_tailroom(data->in_buf)); in eap_ikev2_process_cont() 303 if (data->in_buf == NULL && !(flags & IKEV2_FLAGS_LENGTH_INCLUDED)) { in eap_ikev2_process_fragment() 309 if (data->in_buf == NULL) { in eap_ikev2_process_fragment() 317 data->in_buf = wpabuf_alloc(message_length); in eap_ikev2_process_fragment() 318 if (data->in_buf == NULL) { in eap_ikev2_process_fragment() 323 wpabuf_put_data(data->in_buf, buf, len); in eap_ikev2_process_fragment() [all …]
|
/external/strace/tests-m32/ |
D | ioctl_sock_gifconf.c | 54 print_ifconf(struct ifconf *ifc, int in_len, char *in_buf, long rc) in print_ifconf() argument 56 if (in_buf) { in print_ifconf() 71 if ((rc < 0) || !in_buf) { in print_ifconf() 72 if (in_buf) in print_ifconf() 73 printf("%p", in_buf); in print_ifconf() 109 char *in_buf; in gifconf_ioctl() local 114 in_buf = ifc->ifc_buf; in gifconf_ioctl() 122 print_ifconf(ifc, in_len, in_buf, rc); in gifconf_ioctl()
|
/external/strace/tests-mx32/ |
D | ioctl_sock_gifconf.c | 54 print_ifconf(struct ifconf *ifc, int in_len, char *in_buf, long rc) in print_ifconf() argument 56 if (in_buf) { in print_ifconf() 71 if ((rc < 0) || !in_buf) { in print_ifconf() 72 if (in_buf) in print_ifconf() 73 printf("%p", in_buf); in print_ifconf() 109 char *in_buf; in gifconf_ioctl() local 114 in_buf = ifc->ifc_buf; in gifconf_ioctl() 122 print_ifconf(ifc, in_len, in_buf, rc); in gifconf_ioctl()
|
/external/strace/tests/ |
D | ioctl_sock_gifconf.c | 54 print_ifconf(struct ifconf *ifc, int in_len, char *in_buf, long rc) in print_ifconf() argument 56 if (in_buf) { in print_ifconf() 71 if ((rc < 0) || !in_buf) { in print_ifconf() 72 if (in_buf) in print_ifconf() 73 printf("%p", in_buf); in print_ifconf() 109 char *in_buf; in gifconf_ioctl() local 114 in_buf = ifc->ifc_buf; in gifconf_ioctl() 122 print_ifconf(ifc, in_len, in_buf, rc); in gifconf_ioctl()
|
/external/libxaac/decoder/ |
D | ixheaacd_hbe_trans.c | 289 FLOAT32 *in_buf = &ptr_hbe_txposer->qmf_in_buf[0][2 * qmf_band_idx]; in ixheaacd_norm_qmf_in_buf_4() local 297 x_r = in_buf[0]; in ixheaacd_norm_qmf_in_buf_4() 298 x_i = in_buf[1]; in ixheaacd_norm_qmf_in_buf_4() 316 in_buf += 128; in ixheaacd_norm_qmf_in_buf_4() 320 in_buf -= (128 * (ptr_hbe_txposer->hbe_qmf_in_len) - 2); in ixheaacd_norm_qmf_in_buf_4() 328 FLOAT32 *in_buf = &ptr_hbe_txposer->qmf_in_buf[0][2 * qmf_band_idx]; in ixheaacd_norm_qmf_in_buf_2() local 336 x_r = in_buf[0]; in ixheaacd_norm_qmf_in_buf_2() 337 x_i = in_buf[1]; in ixheaacd_norm_qmf_in_buf_2() 353 in_buf += 128; in ixheaacd_norm_qmf_in_buf_2() 357 in_buf -= (128 * (ptr_hbe_txposer->hbe_qmf_in_len) - 2); in ixheaacd_norm_qmf_in_buf_2() [all …]
|
/external/mesa3d/src/gallium/frontends/omx/tizonia/ |
D | h264eprc.c | 200 OMX_BUFFERHEADERTYPE * in_buf = priv->p_inhdr_; in h264e_manage_buffers() local 204 if (in_buf->nFilledLen > 0) { in h264e_manage_buffers() 205 vid_enc_BufferEncoded_common(priv, in_buf, out_buf); in h264e_manage_buffers() 207 in_buf->nFilledLen = 0; in h264e_manage_buffers() 210 out_buf->nTimeStamp = in_buf->nTimeStamp; in h264e_manage_buffers() 213 if (in_buf->nFilledLen == 0) { in h264e_manage_buffers() 214 r = h264e_buffer_emptied(priv, in_buf); in h264e_manage_buffers() 301 static OMX_ERRORTYPE encode_frame(vid_enc_PrivateType * priv, OMX_BUFFERHEADERTYPE * in_buf) in encode_frame() argument 303 struct input_buf_private *inp = in_buf->pInputPortPrivate; in encode_frame() 315 if (in_buf->nFilledLen == 0) { in encode_frame() [all …]
|
D | h264dprc.c | 291 OMX_BUFFERHEADERTYPE *in_buf) in decode_frame() argument 294 priv->in_buffers[i] = in_buf; in decode_frame() 295 priv->sizes[i] = in_buf->nFilledLen; in decode_frame() 296 priv->inputs[i] = in_buf->pBuffer; in decode_frame() 297 priv->timestamps[i] = in_buf->nTimeStamp; in decode_frame() 299 while (priv->num_in_buffers > (!!(in_buf->nFlags & OMX_BUFFERFLAG_EOS) ? 0 : 1)) { in decode_frame() 301 unsigned min_bits_left = priv->eos_ ? 32 : MAX2(in_buf->nFilledLen * 8, 32); in decode_frame() 482 OMX_BUFFERHEADERTYPE *in_buf = NULL; in h264d_prc_buffers_ready() local 488 if (!priv->eos_ && priv->first_buf_in_frame && (in_buf = get_input_buffer(priv))) { in h264d_prc_buffers_ready() 489 decode_frame(priv, in_buf); in h264d_prc_buffers_ready() [all …]
|
/external/deqp-deps/amber/tests/cases/ |
D | opencl_c_copy.amber | 22 BUFFER in_buf DATA_TYPE uint32 DATA 29 BIND BUFFER in_buf AS storage DESCRIPTOR_SET 0 BINDING 0 35 EXPECT out_buf EQ_BUFFER in_buf
|
D | opencl_bind_buffer.amber | 44 BUFFER in_buf DATA_TYPE uint32 SIZE 64 SERIES_FROM 1 INC_BY 1 53 BIND BUFFER in_buf KERNEL ARG_NAME in 59 EXPECT out_buf EQ_BUFFER in_buf
|
D | buffer_rmse_tolerance_too_large.expect_fail.amber | 16 BUFFER in_buf DATA_TYPE float DATA 1.1 2.2 3.3 4.4 END 19 EXPECT in_buf RMSE_BUFFER out_buf TOLERANCE 0.01
|
D | buffer_rmse.amber | 16 BUFFER in_buf DATA_TYPE float DATA 1.1 2.2 3.3 4.4 END 19 EXPECT in_buf RMSE_BUFFER out_buf TOLERANCE 0.1
|
D | non_default_entry_point.amber | 61 BUFFER in_buf DATA_TYPE uint32 DATA 68 BIND BUFFER in_buf AS storage DESCRIPTOR_SET 0 BINDING 0 74 EXPECT out_buf EQ_BUFFER in_buf
|
/external/mtools/ |
D | mbadblocks.c | 63 static char *in_buf; variable 91 ret = force_read(dev, in_buf, pos, in_len); in scan() 97 if(in_buf[i] != buffer[i]) { in scan() 173 in_buf = malloc(in_len); in mbadblocks() 174 if(!in_buf) { in mbadblocks() 192 ret = READS(Fs->Next, in_buf, in mbadblocks()
|
/external/arm-trusted-firmware/lib/zlib/ |
D | tf_gunzip.c | 59 int gunzip(uintptr_t *in_buf, size_t in_len, uintptr_t *out_buf, in gunzip() argument 69 stream.next_in = (typeof(stream.next_in))*in_buf; in gunzip() 96 *in_buf = (uintptr_t)stream.next_in; in gunzip()
|
/external/e2fsprogs/lib/support/ |
D | argv_parse.c | 46 int argv_parse(char *in_buf, int *ret_argc, char ***ret_argv) in argv_parse() argument 53 buf = malloc(strlen(in_buf)+1); in argv_parse() 59 for (cp = in_buf; (ch = *cp); cp++) { in argv_parse()
|
/external/adhd/cras/src/server/ |
D | cras_fmt_conv.h | 47 uint8_t *in_buf, size_t nframes); 78 const uint8_t *in_buf, uint8_t *out_buf,
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/tests/ |
D | unpack_quantize_test.cc | 52 static float in_buf[kBufSize] = {0.0, 1.0, 2.0, 3.0}; in PrepareModel() local 69 std::copy(in_buf, in_buf + kBufSize, buf_ptr); in PrepareModel()
|
/external/nos/host/generic/libnos_datagram/ |
D | citadel.c | 55 static uint8_t in_buf[MAX_DEVICE_TRANSFER]; variable 58 .buf = (unsigned long)in_buf, in read_datagram() 95 memcpy(buf, in_buf, len); in read_datagram()
|