Lines Matching refs:bufsize
386 size_t bufsize; member
395 size_t bufsize; member
457 ctx->decode.bufsize = BROTLI_DEFAULT_BUFSIZE; in bio_brotli_new()
461 ctx->encode.bufsize = BROTLI_DEFAULT_BUFSIZE; in bio_brotli_new()
521 ctx->decode.buf = OPENSSL_malloc(ctx->decode.bufsize); in bio_brotli_read()
556 ret = BIO_read(next, ctx->decode.buf, ctx->decode.bufsize); in bio_brotli_read()
595 ctx->encode.buf = OPENSSL_malloc(ctx->encode.bufsize); in bio_brotli_write()
603 ctx->encode.avail_out = ctx->encode.bufsize; in bio_brotli_write()
634 ctx->encode.avail_out = ctx->encode.bufsize; in bio_brotli_write()
643 ctx->encode.count = ctx->encode.bufsize - ctx->encode.avail_out; in bio_brotli_write()
683 ctx->encode.avail_out = ctx->encode.bufsize; in bio_brotli_flush()
694 ctx->encode.count = ctx->encode.bufsize - ctx->encode.avail_out; in bio_brotli_flush()
726 ibs = ctx->decode.bufsize; in bio_brotli_ctrl()
727 obs = ctx->encode.bufsize; in bio_brotli_ctrl()
739 if (ibs > 0 && ibs != ctx->decode.bufsize) { in bio_brotli_ctrl()
747 ctx->decode.bufsize = ibs; in bio_brotli_ctrl()
750 if (obs > 0 && obs != ctx->encode.bufsize) { in bio_brotli_ctrl()
758 ctx->encode.bufsize = obs; in bio_brotli_ctrl()