Home
last modified time | relevance | path

Searched refs:inBuffSize (Results 1 – 9 of 9) sorted by relevance

/f-stack/freebsd/contrib/zstd/lib/decompress/
H A Dzstd_decompress.c83 + dctx->inBuffSize + dctx->outBuffSize; in ZSTD_sizeof_DCtx()
115 dctx->inBuffSize = 0; in ZSTD_initDCtx_internal()
1543 size_t const inBuffSize = blockSize; /* no block can be larger */ in ZSTD_estimateDStreamSize() local
1545 return ZSTD_estimateDCtxSize() + inBuffSize + outBuffSize; in ZSTD_estimateDStreamSize()
1565 …return (zds->inBuffSize + zds->outBuffSize) >= (neededInBuffSize + neededOutBuffSize) * ZSTD_WORKS… in ZSTD_DCtx_isOverflow()
1777 …{ int const tooSmall = (zds->inBuffSize < neededInBuffSize) || (zds->outBuffSize < neededOutBuff… in ZSTD_decompressStream()
1783 (U32)zds->inBuffSize, (U32)neededInBuffSize); in ZSTD_decompressStream()
1794 zds->inBuffSize = 0; in ZSTD_decompressStream()
1799 zds->inBuffSize = neededInBuffSize; in ZSTD_decompressStream()
1800 zds->outBuff = zds->inBuff + zds->inBuffSize; in ZSTD_decompressStream()
[all …]
H A Dzstd_decompress_internal.h143 size_t inBuffSize; member
/f-stack/freebsd/contrib/zstd/lib/legacy/
H A Dzstd_v04.c3361 size_t inBuffSize; member
3482 if (zbc->inBuffSize < neededInSize) { in ZBUFF_decompressContinue()
3484 zbc->inBuffSize = neededInSize; in ZBUFF_decompressContinue()
3537 …if (toLoad > zbc->inBuffSize - zbc->inPos) return ERROR(corruption_detected); /* should never ha… in ZBUFF_decompressContinue()
H A Dzstd_v06.c3957 size_t inBuffSize; member
4064 if (zbd->inBuffSize < blockSize) { in ZBUFFv06_decompressContinue()
4066 zbd->inBuffSize = blockSize; in ZBUFFv06_decompressContinue()
4105 …if (toLoad > zbd->inBuffSize - zbd->inPos) return ERROR(corruption_detected); /* should never ha… in ZBUFFv06_decompressContinue()
H A Dzstd_v05.c3841 size_t inBuffSize; member
3947 if (zbc->inBuffSize < neededInSize) { in ZBUFFv05_decompressContinue()
3949 zbc->inBuffSize = neededInSize; in ZBUFFv05_decompressContinue()
3998 …if (toLoad > zbc->inBuffSize - zbc->inPos) return ERROR(corruption_detected); /* should never ha… in ZBUFFv05_decompressContinue()
H A Dzstd_v07.c4322 size_t inBuffSize; member
4448 if (zbd->inBuffSize < blockSize) { in ZBUFFv07_decompressContinue()
4450 zbd->inBuffSize = blockSize; in ZBUFFv07_decompressContinue()
4491 …if (toLoad > zbd->inBuffSize - zbd->inPos) return ERROR(corruption_detected); /* should never ha… in ZBUFFv07_decompressContinue()
/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dzstd_compress.c1384 size_t const inBuffSize = (params->inBufferMode == ZSTD_bm_buffered) in ZSTD_estimateCStreamSize_usingCCtxParams() local
1392 &cParams, &params->ldmParams, 1, inBuffSize, outBuffSize, in ZSTD_estimateCStreamSize_usingCCtxParams()
1706 zc->inBuffSize = buffInSize; in ZSTD_resetCCtx_internal()
4142 assert(zcs->inBuffSize > 0); in ZSTD_compressStream_generic()
4218 if (zcs->inBuffTarget > zcs->inBuffSize) in ZSTD_compressStream_generic()
4221 (unsigned)zcs->inBuffTarget, (unsigned)zcs->inBuffSize); in ZSTD_compressStream_generic()
4223 assert(zcs->inBuffTarget <= zcs->inBuffSize); in ZSTD_compressStream_generic()
H A Dzstd_compress_internal.h300 size_t inBuffSize; member
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.c10176 size_t inBuffSize; member
14621 zc->inBuffSize = buffInSize; in ZSTD_resetCCtx_internal()
16903 assert(zcs->inBuffSize > 0); in ZSTD_compressStream_generic()
16969 if (zcs->inBuffTarget > zcs->inBuffSize) in ZSTD_compressStream_generic()
16974 assert(zcs->inBuffTarget <= zcs->inBuffSize); in ZSTD_compressStream_generic()
22765 size_t inBuffSize; member
24589 + dctx->inBuffSize + dctx->outBuffSize; in ZSTD_sizeof_DCtx()
24614 dctx->inBuffSize = 0; in ZSTD_initDCtx_internal()
26006 return ZSTD_estimateDCtxSize() + inBuffSize + outBuffSize; in ZSTD_estimateDStreamSize()
26255 zds->inBuffSize = 0; in ZSTD_decompressStream()
[all …]