Home
last modified time | relevance | path

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

/openssl/crypto/bio/
H A Dbf_buff.c53 if (ctx->ibuf == NULL) { in buffer_new()
60 OPENSSL_free(ctx->ibuf); in buffer_new()
78 OPENSSL_free(b->ibuf); in buffer_free()
266 p1 = ctx->ibuf; in buffer_ctrl()
295 OPENSSL_free(ctx->ibuf); in buffer_ctrl()
296 ctx->ibuf = p1; in buffer_ctrl()
318 p1 = ctx->ibuf; in buffer_ctrl()
330 if (p1 != ctx->ibuf) in buffer_ctrl()
335 if (ctx->ibuf != p1) { in buffer_ctrl()
336 OPENSSL_free(ctx->ibuf); in buffer_ctrl()
[all …]
H A Dbf_readbuff.c60 ctx->ibuf = OPENSSL_zalloc(DEFAULT_BUFFER_SIZE); in readbuffer_new()
61 if (ctx->ibuf == NULL) { in readbuffer_new()
79 OPENSSL_free(b->ibuf); in readbuffer_free()
97 tmp = OPENSSL_realloc(ctx->ibuf, sz); in readbuffer_resize()
100 ctx->ibuf = tmp; in readbuffer_resize()
125 memcpy(out, &(ctx->ibuf[ctx->ibuf_off]), i); in readbuffer_read()
141 i = BIO_read(b->next_bio, ctx->ibuf + ctx->ibuf_off, outl); in readbuffer_read()
236 p = ctx->ibuf + ctx->ibuf_off; in readbuffer_gets()
274 p = ctx->ibuf + ctx->ibuf_off; in readbuffer_gets()
H A Dbio_local.h90 char *ibuf; /* the char array */ member
/openssl/crypto/comp/
H A Dc_zlib.c348 unsigned char *ibuf; /* Input buffer */ member
428 if (ctx->ibuf) { in bio_zlib_free()
431 OPENSSL_free(ctx->ibuf); in bio_zlib_free()
457 if (!ctx->ibuf) { in bio_zlib_read()
458 ctx->ibuf = OPENSSL_malloc(ctx->ibufsize); in bio_zlib_read()
459 if (ctx->ibuf == NULL) in bio_zlib_read()
466 zin->next_in = ctx->ibuf; in bio_zlib_read()
491 ret = BIO_read(next, ctx->ibuf, ctx->ibufsize); in bio_zlib_read()
501 zin->next_in = ctx->ibuf; in bio_zlib_read()
664 OPENSSL_free(ctx->ibuf); in bio_zlib_ctrl()
[all …]

Completed in 10 milliseconds