Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/bio/
Dbuffer.c81 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/opencv/cv/src/
Dcvmatchcontours.cpp230 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/
Dsvga_swtnl_backend.c84 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()
Dsvga_swtnl_private.h49 struct pipe_resource *ibuf; member
/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/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/mesa3d/src/gallium/tests/graw/
Dtri-instanced.c109 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/
Dutility_string.c16 char ibuf[UINT64_TO_STRING_MAX]; in Uint64ToString() local
31 s = ibuf + UINT64_TO_STRING_MAX - 1; in Uint64ToString()
/external/fio/t/
Ddedupe.c162 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/
Dlib.c355 char *readfileat(int dirfd, char *name, char *ibuf, off_t len) in readfileat() argument
366 if (!ibuf) buf = xmalloc(len+1); in readfileat()
367 else buf = ibuf; in readfileat()
372 if (ibuf != buf) free(buf); in readfileat()
379 char *readfile(char *name, char *ibuf, off_t len) in readfile() argument
381 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/jmonkeyengine/engine/src/core/com/jme3/scene/
DVertexBuffer.java646 IntBuffer ibuf = (IntBuffer) data; in compact() local
647 ibuf.limit(total); in compact()
649 inewBuf.put(ibuf); in compact()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state.c689 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/
Ddebuginfo.c2217 HChar ibuf[50]; // large enough in VG_() local
2298 VG_(sprintf)(ibuf,"<ip>0x%llX</ip>", (ULong)eip); in VG_()
2300 APPEND(ibuf); in VG_()
2326 VG_(sprintf)(ibuf,"%d",lineno); in VG_()
2327 APPEND(ibuf); in VG_()
2346 VG_(sprintf)(ibuf,"0x%llX: ", (ULong)eip); in VG_()
2347 APPEND(ibuf); in VG_()
2384 VG_(sprintf)(ibuf,"%d",lineno); in VG_()
2385 APPEND(ibuf); in VG_()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp1461 GrGLIndexBuffer* ibuf = NULL; in setupGeometry() local
1466 ibuf = (GrGLIndexBuffer*)vertices.indexBuffer(); in setupGeometry()
1468 SkASSERT(ibuf); in setupGeometry()
1469 SkASSERT(!ibuf->isMapped()); in setupGeometry()
1470 *indexOffsetInBytes += ibuf->baseOffset(); in setupGeometry()
1473 fHWGeometryState.bindArrayAndBuffersToDraw(this, vbuf, ibuf); in setupGeometry()
/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/mksh/src/
Dedit.c3459 static char *ibuf; /* input buffer */ variable
3512 ibuf = alloc(LINE, AEDIT); in x_vi()
4020 ibuf[inslen++] = ch; in vi_insert()
4694 if (putbuf(ibuf, inslen, tobool(insert == REPLACE)) != 0) in redo_insert()