Lines Matching refs:size
48 static void *zstd_alloc(void *opaque, size_t size) in zstd_alloc() argument
50 return OPENSSL_zalloc(size); in zstd_alloc()
196 inbuf.size = ilen; in zstd_stateful_compress_block()
199 outbuf.size = olen; in zstd_stateful_compress_block()
225 } while (inbuf.pos < inbuf.size); in zstd_stateful_compress_block()
228 if (inbuf.pos < inbuf.size) in zstd_stateful_compress_block()
255 inbuf.size = ilen; in zstd_stateful_expand_block()
258 outbuf.size = olen; in zstd_stateful_expand_block()
272 } while (ret == 0 && inbuf.pos < inbuf.size); in zstd_stateful_expand_block()
275 if (inbuf.pos < inbuf.size) in zstd_stateful_expand_block()
597 ctx->decompress.inbuf.size = 0; in bio_zstd_read()
603 outBuf.size = (size_t)outl; in bio_zstd_read()
615 if (outBuf.pos == outBuf.size) in bio_zstd_read()
617 } while (ctx->decompress.inbuf.pos < ctx->decompress.inbuf.size); in bio_zstd_read()
630 ctx->decompress.inbuf.size = ret; in bio_zstd_read()
656 ctx->compress.outbuf.size = ctx->compress.bufsize; in bio_zstd_write()
662 inBuf.size = inl; in bio_zstd_write()
684 ctx->compress.outbuf.size = ctx->compress.bufsize; in bio_zstd_write()
714 ctx->compress.outbuf.size = ctx->compress.bufsize; in bio_zstd_flush()
730 ctx->compress.outbuf.size = ctx->compress.bufsize; in bio_zstd_flush()
815 if (ctx->compress.outbuf.pos < ctx->compress.outbuf.size) in bio_zstd_ctrl()
822 if (ctx->decompress.inbuf.pos < ctx->decompress.inbuf.size) in bio_zstd_ctrl()