/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 | 177 unsigned char ibuf[3]; in base64_encode() local 215 ibuf[i] = (unsigned char) *indata; in base64_encode() 220 ibuf[i] = 0; in base64_encode() 223 obuf[0] = (unsigned char) ((ibuf[0] & 0xFC) >> 2); in base64_encode() 224 obuf[1] = (unsigned char) (((ibuf[0] & 0x03) << 4) | \ in base64_encode() 225 ((ibuf[1] & 0xF0) >> 4)); in base64_encode() 226 obuf[2] = (unsigned char) (((ibuf[1] & 0x0F) << 2) | \ in base64_encode() 227 ((ibuf[2] & 0xC0) >> 6)); in base64_encode() 228 obuf[3] = (unsigned char) (ibuf[2] & 0x3F); in base64_encode()
|
/external/boringssl/src/crypto/bio/ |
D | buffer.c | 81 char *ibuf; /* the char array */ member 99 ctx->ibuf = OPENSSL_malloc(DEFAULT_BUFFER_SIZE); in buffer_new() 100 if (ctx->ibuf == NULL) { in buffer_new() 115 OPENSSL_free(ctx->ibuf); in buffer_new() 130 OPENSSL_free(ctx->ibuf); in buffer_free() 161 memcpy(out, &ctx->ibuf[ctx->ibuf_off], i); in buffer_read() 197 i = BIO_read(bio->next_bio, ctx->ibuf, ctx->ibuf_size); in buffer_read() 340 p1 = ctx->ibuf; in buffer_ctrl() 351 if (p1 != ctx->ibuf) { in buffer_ctrl() 358 if (ctx->ibuf != p1) { in buffer_ctrl() [all …]
|
/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/opencv/cv/src/ |
D | cvmatchcontours.cpp | 230 int lpt1, lpt2, lpt, flag, flag_n, i, j, ibuf, ibuf1; in cvMatchContourTrees() local 305 ibuf = 0; in cvMatchContourTrees() 356 ibuf1 = ibuf + 1; in cvMatchContourTrees() 360 ptr12[ibuf] = ptr11[j]->next_v1; in cvMatchContourTrees() 365 ptr12[ibuf] = NULL; in cvMatchContourTrees() 370 ptr22[ibuf] = ptr21[j]->next_v1; in cvMatchContourTrees() 375 ptr22[ibuf] = NULL; in cvMatchContourTrees() 378 ibuf += 2; in cvMatchContourTrees() 381 i = ibuf; in cvMatchContourTrees()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_swtnl_backend.c | 84 pipe_resource_reference(&svga_render->ibuf, NULL); in svga_vbuf_render_allocate_vertices() 270 pipe_resource_reference(&svga_render->ibuf, NULL); in svga_vbuf_render_draw_elements() 272 if (!svga_render->ibuf) { in svga_vbuf_render_draw_elements() 274 svga_render->ibuf = pipe_buffer_create(screen, in svga_vbuf_render_draw_elements() 281 pipe_buffer_write_nooverlap(&svga->pipe, svga_render->ibuf, in svga_vbuf_render_draw_elements() 294 svga_render->ibuf, in svga_vbuf_render_draw_elements() 304 svga_render->ibuf, in svga_vbuf_render_draw_elements() 332 pipe_resource_reference(&svga_render->ibuf, NULL); in svga_vbuf_render_destroy()
|
D | svga_swtnl_private.h | 49 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/mesa3d/src/gallium/tests/graw/ |
D | tri-instanced.c | 109 struct pipe_index_buffer ibuf; in set_vertices() local 155 ibuf.buffer = pipe_buffer_create_with_data(ctx, in set_vertices() 160 ibuf.offset = 0; in set_vertices() 161 ibuf.index_size = 2; in set_vertices() 163 ctx->set_index_buffer(ctx, &ibuf); in set_vertices()
|
/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/fio/t/ |
D | dedupe.c | 162 char *cbuf, *ibuf; in col_check() local 166 ibuf = fio_memalign(blocksize, blocksize); in col_check() 172 if (read_block(file.fd, ibuf, i->offset)) in col_check() 175 ret = memcmp(ibuf, cbuf, blocksize); in col_check() 178 fio_memfree(ibuf, blocksize); in col_check()
|
/external/toybox/lib/ |
D | lib.c | 448 char *readfileat(int dirfd, char *name, char *ibuf, off_t *plen) in readfileat() argument 455 if (CFG_TOYBOX_DEBUG && (ibuf ? !*plen : *plen)) error_exit("bad readfileat"); in readfileat() 465 if (!ibuf) buf = xmalloc(len+1); in readfileat() 466 else buf = ibuf; in readfileat() 482 if (ibuf != buf) free(buf); in readfileat() 489 char *readfile(char *name, char *ibuf, off_t len) in readfile() argument 491 return readfileat(AT_FDCWD, name, ibuf, &len); in readfile()
|
/external/opencv3/modules/objdetect/src/opencl/ |
D | cascadedetect.cl | 109 __local int* ibuf = lstore; 110 __local int* lcount = ibuf + SUM_BUF_SIZE; 141 vstore4(vload4(0, psum0 + mad24(dy, sumstep, dx)), 0, ibuf+i); 158 __local const int* psum = ibuf + mad24(iy, SUM_BUF_STEP, ix); 269 __local const int* psum = ibuf + mad24(iy1, SUM_BUF_STEP, ix1); 479 __local int* ibuf = lstore; 480 __local int* lcount = ibuf + SUM_BUF_SIZE; 509 vstore4(vload4(0, psum0 + mad24(dy, sumstep, dx)), 0, ibuf+i); 523 __local const int* p = ibuf + mad24(iy, SUM_BUF_STEP, ix); 594 __local const int* p = ibuf + mad24(iy1, SUM_BUF_STEP, ix1);
|
/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/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/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 665 GrVkIndexBuffer* ibuf = (GrVkIndexBuffer*)vertices.indexBuffer(); in bindGeometry() local 666 SkASSERT(ibuf); in bindGeometry() 667 SkASSERT(!ibuf->isMapped()); in bindGeometry() 669 ibuf->addMemoryBarrier(this, in bindGeometry() 676 fCurrentCmdBuffer->bindIndexBuffer(this, ibuf); in bindGeometry()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_state.c | 689 struct i915_buffer *ibuf = i915_buffer(buf); in i915_set_constant_buffer() local 694 new_num = ibuf->b.b.width0 / 4 * sizeof(float); in i915_set_constant_buffer() 703 diff = memcmp(old->data, ibuf->data, ibuf->b.b.width0); in i915_set_constant_buffer()
|
/external/valgrind/coregrind/m_debuginfo/ |
D | debuginfo.c | 2224 HChar ibuf[50]; // large enough in VG_() local 2305 VG_(sprintf)(ibuf,"<ip>0x%lX</ip>", eip); in VG_() 2307 APPEND(ibuf); in VG_() 2333 VG_(sprintf)(ibuf,"%u",lineno); in VG_() 2334 APPEND(ibuf); in VG_() 2353 VG_(sprintf)(ibuf,"0x%lX: ", eip); in VG_() 2354 APPEND(ibuf); in VG_() 2391 VG_(sprintf)(ibuf,"%u",lineno); in VG_() 2392 APPEND(ibuf); in VG_()
|