Home
last modified time | relevance | path

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

/src/sys/contrib/zstd/lib/compress/
H A Dzstd_compress.c5319 size_t hintInSize = cctx->inBuffTarget - cctx->inBuffPos; in ZSTD_nextInputSizeHint()
5379 size_t const toLoad = zcs->inBuffTarget - zcs->inBuffPos; in ZSTD_compressStream_generic()
5387 && (zcs->inBuffPos < zcs->inBuffTarget) ) { in ZSTD_compressStream_generic()
5420 zcs->inBuffTarget = zcs->inBuffPos + zcs->blockSize; in ZSTD_compressStream_generic()
5421 if (zcs->inBuffTarget > zcs->inBuffSize) in ZSTD_compressStream_generic()
5422 zcs->inBuffPos = 0, zcs->inBuffTarget = zcs->blockSize; in ZSTD_compressStream_generic()
5424 (unsigned)zcs->inBuffTarget, (unsigned)zcs->inBuffSize); in ZSTD_compressStream_generic()
5426 assert(zcs->inBuffTarget <= zcs->inBuffSize); in ZSTD_compressStream_generic()
5623 cctx->inBuffTarget = cctx->blockSize + (cctx->blockSize == pledgedSrcSize); in ZSTD_CCtx_init_compressStream2()
5625 cctx->inBuffTarget = 0; in ZSTD_CCtx_init_compressStream2()
H A Dzstd_compress_internal.h403 size_t inBuffTarget; member
/src/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress.c6095 { size_t hintInSize = cctx->inBuffTarget - cctx->inBuffPos; in ZSTD_nextInputSizeHint()
6165 size_t const toLoad = zcs->inBuffTarget - zcs->inBuffPos; in ZSTD_compressStream_generic()
6172 && (zcs->inBuffPos < zcs->inBuffTarget) ) { in ZSTD_compressStream_generic()
6218 zcs->inBuffTarget = zcs->inBuffPos + zcs->blockSizeMax; in ZSTD_compressStream_generic()
6219 if (zcs->inBuffTarget > zcs->inBuffSize) in ZSTD_compressStream_generic()
6220 zcs->inBuffPos = 0, zcs->inBuffTarget = zcs->blockSizeMax; in ZSTD_compressStream_generic()
6222 (unsigned)zcs->inBuffTarget, (unsigned)zcs->inBuffSize); in ZSTD_compressStream_generic()
6224 assert(zcs->inBuffTarget <= zcs->inBuffSize); in ZSTD_compressStream_generic()
6435 cctx->inBuffTarget = cctx->blockSizeMax + (cctx->blockSizeMax == pledgedSrcSize); in ZSTD_CCtx_init_compressStream2()
6437 cctx->inBuffTarget = 0; in ZSTD_CCtx_init_compressStream2()
H A Dzstd_compress_internal.h513 size_t inBuffTarget; member