Home
last modified time | relevance | path

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

12

/external/webrtc/modules/audio_processing/transient/
Dtransient_suppression_test.cc99 std::unique_ptr<int16_t[]> ibuf(new int16_t[detection_buffer_size]); in ReadBuffers() local
100 if (fread(ibuf.get(), sizeof(ibuf[0]), detection_buffer_size, in ReadBuffers()
104 detection_buffer[i] = ibuf[i]; in ReadBuffers()
107 std::unique_ptr<int16_t[]> ibuf(new int16_t[audio_buffer_size]); in ReadBuffers() local
108 if (fread(ibuf.get(), sizeof(ibuf[0]), audio_buffer_size, reference_file) != in ReadBuffers()
111 S16ToFloat(ibuf.get(), audio_buffer_size, reference_buffer); in ReadBuffers()
121 std::unique_ptr<int16_t[]> ibuf(new int16_t[num_channels * num_samples]); in WritePCM() local
125 ibuf[i + j * num_channels] = FloatS16ToS16(buffer[i * num_samples + j]); in WritePCM()
128 fwrite(ibuf.get(), sizeof(ibuf[0]), num_channels * num_samples, f); in WritePCM()
/external/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()
/external/vboot_reference/utility/
Dbmpblk_util.c97 void *ibuf; in do_efi_decompress() local
105 ibuf = (void*)(img + 1); in do_efi_decompress()
108 r = EfiGetInfo(ibuf, isize, &osize, &ssize); in do_efi_decompress()
132 r = EfiDecompress(ibuf, isize, obuf, osize, sbuf, ssize); in do_efi_decompress()
147 void *ibuf; in do_lzma_decompress() local
154 ibuf = (void*)(img + 1); in do_lzma_decompress()
173 stream.next_in = ibuf; in do_lzma_decompress()
Defidecompress.c1055 uint8_t *ibuf = malloc(isize); in main() local
1056 if (!ibuf) { in main()
1063 if (1 != fread(ibuf, isize, 1, ifp)) { in main()
1074 EFI_STATUS r = GetInfo(ibuf, isize, &osize, &ssize); in main()
1103 r = TianoDecompress(ibuf, isize, obuf, osize, sbuf, ssize); in main()
1110 r = EfiDecompress(ibuf, isize, obuf, osize, sbuf, ssize); in main()
1153 free(ibuf); in main()
Deficompress.c1656 uint8_t *ibuf = malloc(isize); in main() local
1657 if (!ibuf) { in main()
1664 if (1 != fread(ibuf, isize, 1, ifp)) { in main()
1684 EFI_STATUS r = EfiCompress(ibuf, isize, obuf, &osize); in main()
1723 free(ibuf); in main()
/external/wpa_supplicant_8/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()
/external/vboot_reference/firmware/lib/
Dutility_string.c16 char ibuf[UINT64_TO_STRING_MAX]; in Uint64ToString() local
31 s = ibuf + UINT64_TO_STRING_MAX - 1; in Uint64ToString()
/external/webrtc/common_audio/
Dchannel_buffer_unittest.cc49 ifchb.ibuf()->set_num_channels(kMono); in TEST()
63 RTC_EXPECT_DEATH(ifchb.ibuf()->set_num_channels(kStereo), "num_channels"); in TEST()
Dchannel_buffer.cc30 ChannelBuffer<int16_t>* IFChannelBuffer::ibuf() { in ibuf() function in webrtc::IFChannelBuffer
Dchannel_buffer.h187 ChannelBuffer<int16_t>* ibuf();
/external/toybox/lib/
Dlib.c557 char *readfd(int fd, char *ibuf, off_t *plen) in readfd() argument
563 if (CFG_TOYBOX_DEBUG && (ibuf ? !*plen : *plen)) error_exit("bad readfileat"); in readfd()
571 if (!ibuf) buf = xmalloc(len+1); in readfd()
572 else buf = ibuf; in readfd()
587 if (ibuf != buf) free(buf); in readfd()
598 char *readfileat(int dirfd, char *name, char *ibuf, off_t *plen) in readfileat() argument
602 ibuf = readfd(dirfd, ibuf, plen); in readfileat()
605 return ibuf; in readfileat()
608 char *readfile(char *name, char *ibuf, off_t len) in readfile() argument
610 return readfileat(AT_FDCWD, name, ibuf, &len); in readfile()
/external/iputils/
Drarpd.c94 struct ifreq ibuf[256]; in load_if() local
101 ifc.ifc_len = sizeof ibuf; in load_if()
102 ifc.ifc_buf = (caddr_t)ibuf; in load_if()
119 ifend = (struct ifreq *)((char *)ibuf + ifc.ifc_len); in load_if()
120 for (ifrp = ibuf; ifrp < ifend; ifrp++) { in load_if()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_swtnl_private.h51 struct pipe_resource *ibuf; member
Dsvga_swtnl_backend.c89 pipe_resource_reference(&svga_render->ibuf, NULL); in svga_vbuf_render_allocate_vertices()
375 pipe_resource_reference(&svga_render->ibuf, NULL); in svga_vbuf_render_destroy()
/external/python/cpython2/Modules/
Dzlibmodule.c207 Byte *ibuf; in PyZlib_compress() local
214 if (!PyArg_ParseTuple(args, "s#|i:compress", &ibuf, &ibuflen, &level)) in PyZlib_compress()
219 zst.next_in = ibuf; in PyZlib_compress()
289 Byte *ibuf; in PyZlib_decompress() local
297 &ibuf, &ibuflen, &wsize, &r_strlen)) in PyZlib_decompress()
307 zst.next_in = ibuf; in PyZlib_decompress()
/external/python/cpython3/Modules/
Dzlibmodule.c219 Byte *ibuf; in zlib_compress_impl() local
224 ibuf = data->buf; in zlib_compress_impl()
230 zst.next_in = ibuf; in zlib_compress_impl()
341 Byte *ibuf; in zlib_decompress_impl() local
353 ibuf = data->buf; in zlib_decompress_impl()
360 zst.next_in = ibuf; in zlib_decompress_impl()
/external/pcre/dist2/src/sljit/
DsljitNativeS390X.c148 sljit_ins *ibuf = (sljit_ins *)ensure_buf(compiler, sizeof(sljit_ins)); in push_inst() local
149 FAIL_IF(!ibuf); in push_inst()
150 *ibuf = ins; in push_inst()
157 sljit_u16 *ibuf = (sljit_u16 *)*ptr; in encode_inst() local
163 *ibuf++ = (sljit_u16)(ins >> 32); in encode_inst()
166 *ibuf++ = (sljit_u16)(ins >> 16); in encode_inst()
169 *ibuf++ = (sljit_u16)(ins); in encode_inst()
171 *ptr = (void*)ibuf; in encode_inst()
1169 sljit_ins *ibuf = (sljit_ins *)buf->memory; in sljit_generate_code() local
1171 sljit_ins ins = ibuf[i]; in sljit_generate_code()
[all …]
/external/mesa3d/src/gallium/drivers/i915/
Di915_state.c698 struct i915_buffer *ibuf = i915_buffer(buf); in i915_set_constant_buffer() local
703 new_num = ibuf->b.b.width0 / 4 * sizeof(float); in i915_set_constant_buffer()
712 diff = memcmp(old->data, ibuf->data, ibuf->b.b.width0); in i915_set_constant_buffer()
/external/e2fsprogs/lib/ext2fs/
Dinline_data.c274 char *bbuf, char *ibuf, int size) in ext2fs_inline_data_convert_dir() argument
307 dir->inode = ext2fs_le32_to_cpu(((__u32 *)ibuf)[0]); in ext2fs_inline_data_convert_dir()
318 memcpy(bbuf + offset, ibuf + EXT4_INLINE_DATA_DOTDOT_SIZE, in ext2fs_inline_data_convert_dir()
/external/bzip2/
Dbzip2.c332 UChar ibuf[5000]; in compressStream() local
353 nIbuf = fread ( ibuf, sizeof(UChar), 5000, stream ); in compressStream()
355 if (nIbuf > 0) BZ2_bzWrite ( &bzerr, bzf, (void*)ibuf, nIbuf ); in compressStream()
/external/python/cpython2/Python/
Dpythonrun.c179 char ibuf[128]; in Py_InitializeEx() local
351 icodeset = ibuf; in Py_InitializeEx()
353 sprintf(ibuf, "cp%d", GetConsoleCP()); in Py_InitializeEx()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp3891 const GrBuffer* ibuf) { in bindInternalVertexArray() argument
3892 SkASSERT(!ibuf || ibuf->isCpuBuffer() || !static_cast<const GrGpuBuffer*>(ibuf)->isMapped()); in bindInternalVertexArray()
3902 if (ibuf) { in bindInternalVertexArray()
3903 attribState = fCoreProfileVertexArray->bindWithIndexBuffer(gpu, ibuf); in bindInternalVertexArray()
3908 if (ibuf) { in bindInternalVertexArray()
3910 gpu->bindBuffer(GrGpuBufferType::kIndex, ibuf); in bindInternalVertexArray()
/external/libfuse/lib/
Dfuse_lowlevel.c1470 const struct fuse_buf *ibuf) in do_write_buf() argument
1474 .buf[0] = *ibuf, in do_write_buf()
1509 if ((ibuf->flags & FUSE_BUF_IS_FD) && bufv.idx < bufv.count) in do_write_buf()
2429 const struct fuse_buf *ibuf) in fuse_ll_retrieve_reply() argument
2436 .buf[0] = *ibuf, in fuse_ll_retrieve_reply()
2461 if ((ibuf->flags & FUSE_BUF_IS_FD) && bufv.idx < bufv.count) in fuse_ll_retrieve_reply()
/external/mesa3d/src/gallium/frontends/nine/
Dnine_state.h527 struct pipe_resource *ibuf,
/external/e2fsprogs/e2fsck/
Dpass2.c926 char *buf, *ibuf; in check_dir_block() local
947 ibuf = buf = cd->buf; in check_dir_block()
1579 buf = ibuf; in check_dir_block()

12