Home
last modified time | relevance | path

Searched refs:ibuf (Results 1 – 25 of 54) sorted by relevance

123

/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dristrtpext.c159 GstBuffer *ibuf; in GST_START_TEST() local
167 ibuf = alloc_ts_buffer (7); in GST_START_TEST()
168 gst_rtp_buffer_map (ibuf, GST_MAP_READWRITE, &rtp); in GST_START_TEST()
176 obuf = gst_harness_push_and_pull (h, ibuf); in GST_START_TEST()
198 GstBuffer *ibuf; in GST_START_TEST() local
207 ibuf = alloc_ts_buffer (7); in GST_START_TEST()
208 gst_rtp_buffer_map (ibuf, GST_MAP_READWRITE, &rtp); in GST_START_TEST()
216 obuf = gst_harness_push_and_pull (h, ibuf); in GST_START_TEST()
239 GstBuffer *ibuf; in GST_START_TEST() local
248 ibuf = alloc_ts_buffer (7); in GST_START_TEST()
[all …]
/third_party/mbedtls/tests/src/
Dhelpers.c127 const char *ibuf, in mbedtls_test_unhexify() argument
132 *len = strlen( ibuf ); in mbedtls_test_unhexify()
142 while( *ibuf != 0 ) in mbedtls_test_unhexify()
144 if ( ascii2uc( *(ibuf++), &uc ) != 0 ) in mbedtls_test_unhexify()
147 if ( ascii2uc( *(ibuf++), &uc2 ) != 0 ) in mbedtls_test_unhexify()
157 const unsigned char *ibuf, in mbedtls_test_hexify() argument
164 h = *ibuf / 16; in mbedtls_test_hexify()
165 l = *ibuf % 16; in mbedtls_test_hexify()
177 ++ibuf; in mbedtls_test_hexify()
195 unsigned char *mbedtls_test_unhexify_alloc( const char *ibuf, size_t *olen ) in mbedtls_test_unhexify_alloc() argument
[all …]
/third_party/openssl/crypto/bio/
Dbf_buff.c54 ctx->ibuf = OPENSSL_malloc(DEFAULT_BUFFER_SIZE); in buffer_new()
55 if (ctx->ibuf == NULL) { in buffer_new()
62 OPENSSL_free(ctx->ibuf); in buffer_new()
80 OPENSSL_free(b->ibuf); in buffer_free()
109 memcpy(out, &(ctx->ibuf[ctx->ibuf_off]), i); in buffer_read()
145 i = BIO_read(b->next_bio, ctx->ibuf, ctx->ibuf_size); in buffer_read()
268 p1 = ctx->ibuf; in buffer_ctrl()
295 OPENSSL_free(ctx->ibuf); in buffer_ctrl()
296 ctx->ibuf = p1; in buffer_ctrl()
300 memcpy(ctx->ibuf, ptr, (int)num); in buffer_ctrl()
[all …]
/third_party/curl/lib/
Dbase64.c184 unsigned char ibuf[3]; in base64_encode() local
227 ibuf[i] = (unsigned char) *indata; in base64_encode()
232 ibuf[i] = 0; in base64_encode()
235 obuf[0] = (unsigned char) ((ibuf[0] & 0xFC) >> 2); in base64_encode()
236 obuf[1] = (unsigned char) (((ibuf[0] & 0x03) << 4) | \ in base64_encode()
237 ((ibuf[1] & 0xF0) >> 4)); in base64_encode()
238 obuf[2] = (unsigned char) (((ibuf[1] & 0x0F) << 2) | \ in base64_encode()
239 ((ibuf[2] & 0xC0) >> 6)); in base64_encode()
240 obuf[3] = (unsigned char) (ibuf[2] & 0x3F); in base64_encode()
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Daudiorate.c86 GstBuffer *ibuf; in test_injector_chain() local
88 ibuf = gst_buffer_copy (buf); in test_injector_chain()
95 GST_BUFFER_OFFSET (ibuf) += delta / 4; in test_injector_chain()
96 GST_BUFFER_OFFSET_END (ibuf) += delta / 4; in test_injector_chain()
98 GST_BUFFER_OFFSET (ibuf) = GST_BUFFER_OFFSET_NONE; in test_injector_chain()
99 GST_BUFFER_OFFSET_END (ibuf) = GST_BUFFER_OFFSET_NONE; in test_injector_chain()
107 GST_BUFFER_TIMESTAMP (ibuf) += delta / 4; in test_injector_chain()
109 GST_BUFFER_TIMESTAMP (ibuf) = GST_CLOCK_TIME_NONE; in test_injector_chain()
110 GST_BUFFER_DURATION (ibuf) = GST_CLOCK_TIME_NONE; in test_injector_chain()
113 if (GST_BUFFER_TIMESTAMP_IS_VALID (ibuf) || in test_injector_chain()
[all …]
Daudiotestsrc.c215 GstBuffer *ibuf, *pbuf; in GST_START_TEST() local
226 ibuf = gst_harness_pull (interleavedsrc); in GST_START_TEST()
229 gst_buffer_map (ibuf, &imap, GST_MAP_READ); in GST_START_TEST()
280 gst_buffer_unmap (ibuf, &imap); in GST_START_TEST()
282 gst_buffer_unref (ibuf); in GST_START_TEST()
/third_party/alsa-lib/test/
Dmidiloop.c72 unsigned char ibuf[512], obuf[512]; in main() local
127 i = snd_rawmidi_read(handle_in, ibuf, sizeof(ibuf)); in main()
131 printf("%02x:", ibuf[j]); in main()
144 i = snd_rawmidi_read(handle_in, ibuf, sizeof(ibuf)); in main()
146 if (obuf[k] != ibuf[j]) { in main()
147 printf("ipos = %i, i[0x%x] != o[0x%x]\n", ipos, ibuf[j], obuf[k]); in main()
/third_party/ffmpeg/libavfilter/
Daf_silenceremove.c327 double *obuf, *ibuf = (double *)in->data[0]; in filter_frame() local
346 threshold |= s->compute(s, ibuf[j]) > s->start_threshold; in filter_frame()
351 threshold &= s->compute(s, ibuf[j]) > s->start_threshold; in filter_frame()
357 s->update(s, *ibuf); in filter_frame()
358 s->start_holdoff[s->start_holdoff_end++] = *ibuf++; in filter_frame()
377 s->update(s, ibuf[j]); in filter_frame()
379 s->start_silence_hold[s->start_silence_offset++] = ibuf[j]; in filter_frame()
387 ibuf += outlink->channels; in filter_frame()
461 threshold |= s->compute(s, ibuf[j]) > s->stop_threshold; in filter_frame()
466 threshold &= s->compute(s, ibuf[j]) > s->stop_threshold; in filter_frame()
[all …]
Daf_mcompand.c497 double *ibuf, double *obuf_low, in crossover() argument
508 out_low = p->coefs[0] * *ibuf; in crossover()
517 out_high = p->coefs[N+1] * *ibuf; in crossover()
521 p->previous[ch][p->pos + N].in = p->previous[ch][p->pos].in = *ibuf++; in crossover()
527 static int mcompand_channel(MCompandContext *c, CompBand *l, double *ibuf, double *obuf, int len, i… in mcompand_channel() argument
534 update_volume(l, fabs(ibuf[i]), ch); in mcompand_channel()
541 checkbuf = ibuf[i] * level_out_lin; in mcompand_channel()
572 delay_buf[l->delay_buf_ptr++] = ibuf[i]; in mcompand_channel()
Daf_biquads.c139 void (*filter)(struct BiquadsContext *s, const void *ibuf, void *obuf, int len,
212 const type *ibuf = input; \
226 o2 = i2 * b2 + i1 * b1 + ibuf[i] * b0 + o2 * a2 + o1 * a1; \
227 i2 = ibuf[i]; \
241 o1 = i1 * b2 + i2 * b1 + ibuf[i] * b0 + o1 * a2 + o2 * a1; \
242 i1 = ibuf[i]; \
257 double o0 = ibuf[i] * b0 + i1 * b1 + i2 * b2 + o1 * a1 + o2 * a2; \
259 i1 = ibuf[i]; \
295 const type *ibuf = input; \
307 in = ibuf[i]; \
[all …]
/third_party/pulseaudio/src/utils/
Dpacmd.c96 char *ibuf = NULL; in main() local
186 ibuf = pa_xmalloc(ibuf_size); in main()
197 memcpy(ibuf + ibuf_length, argv[i], k); in main()
201 ibuf[ibuf_length] = i < argc-1 ? ' ' : '\n'; in main()
277 if ((r = pa_read(STDIN_FILENO, ibuf, ibuf_size, &stdin_type)) <= 0) { in main()
338 if ((r = pa_write(fd, ibuf + ibuf_index, ibuf_length, &fd_type)) < 0) { in main()
356 pa_xfree(ibuf); in main()
/third_party/openssl/crypto/comp/
Dc_zlib.c275 unsigned char *ibuf; /* Input buffer */ member
352 if (ctx->ibuf) { in bio_zlib_free()
355 OPENSSL_free(ctx->ibuf); in bio_zlib_free()
381 if (!ctx->ibuf) { in bio_zlib_read()
382 ctx->ibuf = OPENSSL_malloc(ctx->ibufsize); in bio_zlib_read()
383 if (ctx->ibuf == NULL) { in bio_zlib_read()
388 zin->next_in = ctx->ibuf; in bio_zlib_read()
413 ret = BIO_read(next, ctx->ibuf, ctx->ibufsize); in bio_zlib_read()
423 zin->next_in = ctx->ibuf; in bio_zlib_read()
582 OPENSSL_free(ctx->ibuf); in bio_zlib_ctrl()
[all …]
/third_party/mbedtls/tests/include/test/
Dhelpers.h176 const char *ibuf, size_t *len );
179 const unsigned char *ibuf,
201 unsigned char *mbedtls_test_unhexify_alloc( const char *ibuf, size_t *olen );
/third_party/libsnd/src/
Ddwvw.c198 iptr = ubuf.ibuf ; in dwvw_read_s()
199 bufferlen = ARRAY_LEN (ubuf.ibuf) ; in dwvw_read_s()
255 iptr = ubuf.ibuf ; in dwvw_read_f()
256 bufferlen = ARRAY_LEN (ubuf.ibuf) ; in dwvw_read_f()
287 iptr = ubuf.ibuf ; in dwvw_read_d()
288 bufferlen = ARRAY_LEN (ubuf.ibuf) ; in dwvw_read_d()
569 iptr = ubuf.ibuf ; in dwvw_write_s()
570 bufferlen = ARRAY_LEN (ubuf.ibuf) ; in dwvw_write_s()
626 iptr = ubuf.ibuf ; in dwvw_write_f()
627 bufferlen = ARRAY_LEN (ubuf.ibuf) ; in dwvw_write_f()
[all …]
Dfloat32.c530 endswap_int_array (ubuf.ibuf, readcount) ; in host_read_f2s()
560 endswap_int_array (ubuf.ibuf, bufferlen) ; in host_read_f2i()
588 endswap_int_copy ((int*) (ptr + total), ubuf.ibuf, readcount) ; in host_read_f()
613 endswap_int_array (ubuf.ibuf, bufferlen) ; in host_read_f2d()
646 endswap_int_array (ubuf.ibuf, bufferlen) ; in host_write_s2f()
677 endswap_int_array (ubuf.ibuf, bufferlen) ; in host_write_i2f()
707 endswap_int_copy (ubuf.ibuf, (const int*) (ptr + total), bufferlen) ; in host_write_f()
737 endswap_int_array (ubuf.ibuf, bufferlen) ; in host_write_d2f()
768 endswap_int_array (ubuf.ibuf, bufferlen) ; in replace_read_f2s()
798 endswap_int_array (ubuf.ibuf, bufferlen) ; in replace_read_f2i()
[all …]
Dpcm.c780 bufferlen = ARRAY_LEN (ubuf.ibuf) ; in pcm_read_bei2s()
785 readcount = psf_fread (ubuf.ibuf, sizeof (int), bufferlen, psf) ; in pcm_read_bei2s()
786 bei2s_array (ubuf.ibuf, readcount, ptr + total) ; in pcm_read_bei2s()
802 bufferlen = ARRAY_LEN (ubuf.ibuf) ; in pcm_read_lei2s()
807 readcount = psf_fread (ubuf.ibuf, sizeof (int), bufferlen, psf) ; in pcm_read_lei2s()
808 lei2s_array (ubuf.ibuf, readcount, ptr + total) ; in pcm_read_lei2s()
1139 bufferlen = ARRAY_LEN (ubuf.ibuf) ; in pcm_read_bei2f()
1144 readcount = psf_fread (ubuf.ibuf, sizeof (int), bufferlen, psf) ; in pcm_read_bei2f()
1145 bei2f_array (ubuf.ibuf, readcount, ptr + total, normfact) ; in pcm_read_bei2f()
1164 bufferlen = ARRAY_LEN (ubuf.ibuf) ; in pcm_read_lei2f()
[all …]
Dpaf.c549 iptr = ubuf.ibuf ; in paf24_read_s()
550 bufferlen = ARRAY_LEN (ubuf.ibuf) ; in paf24_read_s()
591 iptr = ubuf.ibuf ; in paf24_read_f()
592 bufferlen = ARRAY_LEN (ubuf.ibuf) ; in paf24_read_f()
619 iptr = ubuf.ibuf ; in paf24_read_d()
620 bufferlen = ARRAY_LEN (ubuf.ibuf) ; in paf24_read_d()
718 iptr = ubuf.ibuf ; in paf24_write_s()
719 bufferlen = ARRAY_LEN (ubuf.ibuf) ; in paf24_write_s()
772 iptr = ubuf.ibuf ; in paf24_write_f()
773 bufferlen = ARRAY_LEN (ubuf.ibuf) ; in paf24_write_f()
[all …]
Dsds.c565 iptr = ubuf.ibuf ; in sds_read_s()
566 bufferlen = ARRAY_LEN (ubuf.ibuf) ; in sds_read_s()
611 iptr = ubuf.ibuf ; in sds_read_f()
612 bufferlen = ARRAY_LEN (ubuf.ibuf) ; in sds_read_f()
643 iptr = ubuf.ibuf ; in sds_read_d()
644 bufferlen = ARRAY_LEN (ubuf.ibuf) ; in sds_read_d()
908 iptr = ubuf.ibuf ; in sds_write_s()
909 bufferlen = ARRAY_LEN (ubuf.ibuf) ; in sds_write_s()
956 iptr = ubuf.ibuf ; in sds_write_f()
957 bufferlen = ARRAY_LEN (ubuf.ibuf) ; in sds_write_f()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
Deap_gpsk_common.c44 u8 ibuf[2], hash[16]; in eap_gpsk_gkdf_cmac() local
50 addr[0] = ibuf; in eap_gpsk_gkdf_cmac()
51 vlen[0] = sizeof(ibuf); in eap_gpsk_gkdf_cmac()
59 WPA_PUT_BE16(ibuf, i); in eap_gpsk_gkdf_cmac()
79 u8 ibuf[2], hash[SHA256_MAC_LEN]; in eap_gpsk_gkdf_sha256() local
85 addr[0] = ibuf; in eap_gpsk_gkdf_sha256()
86 vlen[0] = sizeof(ibuf); in eap_gpsk_gkdf_sha256()
94 WPA_PUT_BE16(ibuf, i); in eap_gpsk_gkdf_sha256()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
Deap_gpsk_common.c44 u8 ibuf[2], hash[16]; in eap_gpsk_gkdf_cmac() local
50 addr[0] = ibuf; in eap_gpsk_gkdf_cmac()
51 vlen[0] = sizeof(ibuf); in eap_gpsk_gkdf_cmac()
59 WPA_PUT_BE16(ibuf, i); in eap_gpsk_gkdf_cmac()
79 u8 ibuf[2], hash[SHA256_MAC_LEN]; in eap_gpsk_gkdf_sha256() local
85 addr[0] = ibuf; in eap_gpsk_gkdf_sha256()
86 vlen[0] = sizeof(ibuf); in eap_gpsk_gkdf_sha256()
94 WPA_PUT_BE16(ibuf, i); in eap_gpsk_gkdf_sha256()
/third_party/boost/libs/locale/src/posix/
Dcodecvt.cpp47 char ibuf[2] = { char(c) , 0 }; in mb2_iconv_converter() local
48 char *in = ibuf; in mb2_iconv_converter()
61 in = ibuf; in mb2_iconv_converter()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DDraw.cpp98 struct pipe_resource *ibuf; in create_null_index_buffer() local
102 ibuf = pipe_buffer_create_with_data(ctx, in create_null_index_buffer()
112 return ibuf; in create_null_index_buffer()
/third_party/FreeBSD/sys/dev/usb/net/
Dif_urndis.c186 } ibuf; in urndis_attach() member
251 (void)memset_s(msg.ibuf.eaddr, sizeof(msg.ibuf.eaddr), 0, sizeof(msg.ibuf.eaddr)); in urndis_attach()
254 &msg.hdr.query, sizeof(msg.hdr.query) + sizeof(msg.ibuf.eaddr), in urndis_attach()
270 msg.ibuf.filter = htole32(sc->sc_filter); in urndis_attach()
273 &msg.hdr.set, sizeof(msg.hdr.set) + sizeof(msg.ibuf.filter)); in urndis_attach()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_swtnl_private.h51 struct pipe_resource *ibuf; member
/third_party/toybox/lib/
Dlib.c513 char *readfileat(int dirfd, char *name, char *ibuf, off_t *plen) in readfileat() argument
520 if (CFG_TOYBOX_DEBUG && (ibuf ? !*plen : *plen)) error_exit("bad readfileat"); in readfileat()
530 if (!ibuf) buf = xmalloc(len+1); in readfileat()
531 else buf = ibuf; in readfileat()
547 if (ibuf != buf) free(buf); in readfileat()
554 char *readfile(char *name, char *ibuf, off_t len) in readfile() argument
556 return readfileat(AT_FDCWD, name, ibuf, &len); in readfile()

123