Home
last modified time | relevance | path

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

/linux-6.15/lib/zstd/decompress/
H A Dzstd_decompress.c221 + dctx->inBuffSize + dctx->outBuffSize; in ZSTD_sizeof_DCtx()
256 dctx->inBuffSize = 0; in ZSTD_initDCtx_internal()
1919 size_t const inBuffSize = blockSize; /* no block can be larger */ in ZSTD_estimateDStreamSize() local
1921 return ZSTD_estimateDCtxSize() + inBuffSize + outBuffSize; in ZSTD_estimateDStreamSize()
1941 …return (zds->inBuffSize + zds->outBuffSize) >= (neededInBuffSize + neededOutBuffSize) * ZSTD_WORKS… in ZSTD_DCtx_isOverflow()
2137 …{ int const tooSmall = (zds->inBuffSize < neededInBuffSize) || (zds->outBuffSize < neededOutBuff… in ZSTD_decompressStream()
2143 (U32)zds->inBuffSize, (U32)neededInBuffSize); in ZSTD_decompressStream()
2154 zds->inBuffSize = 0; in ZSTD_decompressStream()
2159 zds->inBuffSize = neededInBuffSize; in ZSTD_decompressStream()
2160 zds->outBuff = zds->inBuff + zds->inBuffSize; in ZSTD_decompressStream()
[all …]
H A Dzstd_decompress_internal.h176 size_t inBuffSize; member
/linux-6.15/lib/zstd/compress/
H A Dzstd_compress.c1753 size_t const inBuffSize = (params->inBufferMode == ZSTD_bm_buffered) in ZSTD_estimateCStreamSize_usingCCtxParams() local
1762 &cParams, &params->ldmParams, 1, useRowMatchFinder, inBuffSize, outBuffSize, in ZSTD_estimateCStreamSize_usingCCtxParams()
2177 zc->inBuffSize = buffInSize; in ZSTD_resetCCtx_internal()
6013 assert(zcs->inBuffSize > 0); in ZSTD_compressStream_generic()
6104 if (zcs->inBuffTarget > zcs->inBuffSize) in ZSTD_compressStream_generic()
6107 (unsigned)zcs->inBuffTarget, (unsigned)zcs->inBuffSize); in ZSTD_compressStream_generic()
6109 assert(zcs->inBuffTarget <= zcs->inBuffSize); in ZSTD_compressStream_generic()
H A Dzstd_compress_internal.h507 size_t inBuffSize; member