Lines Matching refs:obuf
85 char *obuf; /* the char array */ member
103 ctx->obuf = (char *)OPENSSL_malloc(DEFAULT_BUFFER_SIZE); in buffer_new()
104 if (ctx->obuf == NULL) { in buffer_new()
131 OPENSSL_free(ctx->obuf); in buffer_free()
225 memcpy(&ctx->obuf[ctx->obuf_off + ctx->obuf_len], in, inl); in buffer_write()
233 memcpy(&ctx->obuf[ctx->obuf_off + ctx->obuf_len], in, i); in buffer_write()
242 i = BIO_write(b->next_bio, &ctx->obuf[ctx->obuf_off], ctx->obuf_len); in buffer_write()
341 p2 = ctx->obuf; in buffer_ctrl()
366 if (ctx->obuf != p2) { in buffer_ctrl()
367 OPENSSL_free(ctx->obuf); in buffer_ctrl()
368 ctx->obuf = p2; in buffer_ctrl()
382 r = BIO_write(b->next_bio, &(ctx->obuf[ctx->obuf_off]), in buffer_ctrl()