/external/webrtc/webrtc/modules/audio_processing/transient/ |
D | transient_suppression_test.cc | 108 rtc::scoped_ptr<int16_t[]> ibuf(new int16_t[detection_buffer_size]); in ReadBuffers() local 109 if (fread(ibuf.get(), sizeof(ibuf[0]), detection_buffer_size, in ReadBuffers() 113 detection_buffer[i] = ibuf[i]; in ReadBuffers() 116 rtc::scoped_ptr<int16_t[]> ibuf(new int16_t[audio_buffer_size]); in ReadBuffers() local 117 if (fread(ibuf.get(), sizeof(ibuf[0]), audio_buffer_size, reference_file) in ReadBuffers() 120 S16ToFloat(ibuf.get(), audio_buffer_size, reference_buffer); in ReadBuffers() 130 rtc::scoped_ptr<int16_t[]> ibuf(new int16_t[num_channels * num_samples]); in WritePCM() local 134 ibuf[i + j * num_channels] = FloatS16ToS16(buffer[i * num_samples + j]); in WritePCM() 137 fwrite(ibuf.get(), sizeof(ibuf[0]), num_channels * num_samples, f); in WritePCM()
|
/external/curl/lib/ |
D | base64.c | 176 unsigned char ibuf[3]; in base64_encode() local 219 ibuf[i] = (unsigned char) *indata; in base64_encode() 224 ibuf[i] = 0; in base64_encode() 227 obuf[0] = (unsigned char) ((ibuf[0] & 0xFC) >> 2); in base64_encode() 228 obuf[1] = (unsigned char) (((ibuf[0] & 0x03) << 4) | \ in base64_encode() 229 ((ibuf[1] & 0xF0) >> 4)); in base64_encode() 230 obuf[2] = (unsigned char) (((ibuf[1] & 0x0F) << 2) | \ in base64_encode() 231 ((ibuf[2] & 0xC0) >> 6)); in base64_encode() 232 obuf[3] = (unsigned char) (ibuf[2] & 0x3F); in base64_encode()
|
/external/webrtc/talk/session/media/ |
D | yuvscaler_unittest.cc | 111 uint8_t* ibuf = ALIGNP(ibuffer.get(), kAlignment) + memoffset; in TestScale() local 116 if (!LoadPlanarYuvTestImage("faces", iw, ih, ibuf) || in TestScale() 123 memset(ibuf, 213, isize); // Input is constant color. in TestScale() 129 FlushCache(ibuf, isize); in TestScale() 143 FlushCache(ibuf, isize); in TestScale() 149 EXPECT_EQ(0, libyuv::ScaleOffset(ibuf, iw, ih, obuf, ow, oh, in TestScale() 195 ALIGN16(uint8_t ibuf[I420_SIZE(iw, ih)]); in TEST_F() 199 ASSERT_TRUE(LoadPlanarYuvTestImage("faces", iw, ih, ibuf)); in TEST_F() 201 libyuv::ScaleOffset(ibuf, iw, ih, obuf, ow, oh, 0, false); in TEST_F() 204 EXPECT_EQ(-1, FindDiff(obuf, ibuf, sizeof(ibuf))); in TEST_F() [all …]
|
D | planarfunctions_unittest.cc | 447 static bool IsMemoryEqual(const uint8_t* ibuf, in IsMemoryEqual() argument 451 double sse = cricket::ComputeSumSquareError(ibuf, obuf, osize); in IsMemoryEqual() 455 << " First Diff Byte: " << FindDiff(ibuf, obuf, osize); in IsMemoryEqual()
|
/external/webrtc/webrtc/modules/audio_processing/ |
D | audio_buffer.cc | 197 return data_->ibuf()->channels(); in channels() 209 split_data_->ibuf()->bands(channel) : in split_bands() 210 data_->ibuf()->bands(channel); in split_bands() 224 return split_data_->ibuf()->channels(band); in split_channels() 226 return band == kBand0To8kHz ? data_->ibuf()->channels() : nullptr; in split_channels() 232 return data_->ibuf(); in data() 241 return split_data_.get() ? split_data_->ibuf() : data_->ibuf(); in split_data() 383 deinterleaved = data_->ibuf()->channels(); in DeinterleaveFrom() 385 deinterleaved = input_buffer_->ibuf()->channels(); in DeinterleaveFrom() 435 Interleave(data_ptr->ibuf()->channels(), proc_num_frames_, num_channels_, in InterleaveTo() [all …]
|
D | splitting_filter.cc | 65 bands->ibuf()->channels(0)[i], in TwoBandsAnalysis() 66 bands->ibuf()->channels(1)[i], in TwoBandsAnalysis() 79 data->ibuf()->channels()[i], in TwoBandsSynthesis()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_swtnl_backend.c | 89 pipe_resource_reference(&svga_render->ibuf, NULL); in svga_vbuf_render_allocate_vertices() 341 pipe_resource_reference(&svga_render->ibuf, NULL); in svga_vbuf_render_draw_elements() 343 if (!svga_render->ibuf) { in svga_vbuf_render_draw_elements() 345 svga_render->ibuf = pipe_buffer_create(screen, in svga_vbuf_render_draw_elements() 352 pipe_buffer_write_nooverlap(&svga->pipe, svga_render->ibuf, in svga_vbuf_render_draw_elements() 366 svga_render->ibuf, in svga_vbuf_render_draw_elements() 378 svga_render->ibuf, in svga_vbuf_render_draw_elements() 409 pipe_resource_reference(&svga_render->ibuf, NULL); in svga_vbuf_render_destroy()
|
D | svga_swtnl_private.h | 51 struct pipe_resource *ibuf; member
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_gpsk_common.c | 44 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/utility/ |
D | bmpblk_util.c | 97 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()
|
D | efidecompress.c | 1055 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()
|
D | eficompress.c | 1656 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/vboot_reference/firmware/lib/ |
D | utility_string.c | 16 char ibuf[UINT64_TO_STRING_MAX]; in Uint64ToString() local 31 s = ibuf + UINT64_TO_STRING_MAX - 1; in Uint64ToString()
|
/external/iputils/ |
D | rarpd.c | 94 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/python/cpython2/Modules/ |
D | zlibmodule.c | 207 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/ |
D | zlibmodule.c | 207 Byte *ibuf; in zlib_compress_impl() local 212 ibuf = data->buf; in zlib_compress_impl() 218 zst.next_in = ibuf; in zlib_compress_impl() 327 Byte *ibuf; in zlib_decompress_impl() local 339 ibuf = data->buf; in zlib_decompress_impl() 346 zst.next_in = ibuf; in zlib_decompress_impl()
|
/external/toybox/lib/ |
D | lib.c | 502 char *readfileat(int dirfd, char *name, char *ibuf, off_t *plen) in readfileat() argument 509 if (CFG_TOYBOX_DEBUG && (ibuf ? !*plen : *plen)) error_exit("bad readfileat"); in readfileat() 519 if (!ibuf) buf = xmalloc(len+1); in readfileat() 520 else buf = ibuf; in readfileat() 536 if (ibuf != buf) free(buf); in readfileat() 543 char *readfile(char *name, char *ibuf, off_t len) in readfile() argument 545 return readfileat(AT_FDCWD, name, ibuf, &len); in readfile()
|
/external/webrtc/webrtc/common_audio/ |
D | channel_buffer.cc | 23 ChannelBuffer<int16_t>* IFChannelBuffer::ibuf() { in ibuf() function in webrtc::IFChannelBuffer
|
D | channel_buffer.h | 147 ChannelBuffer<int16_t>* ibuf();
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_state.c | 698 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/ |
D | inline_data.c | 274 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/ |
D | bzip2.c | 332 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/ |
D | pythonrun.c | 179 char ibuf[128]; in Py_InitializeEx() local 351 icodeset = ibuf; in Py_InitializeEx() 353 sprintf(ibuf, "cp%d", GetConsoleCP()); in Py_InitializeEx()
|
/external/e2fsprogs/e2fsck/ |
D | pass2.c | 920 char *buf, *ibuf; in check_dir_block() local 938 ibuf = buf = cd->buf; in check_dir_block() 1550 buf = ibuf; in check_dir_block()
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | nine_state.h | 520 struct pipe_resource *ibuf,
|