Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/decompress/
Dzstd_decompress.c1808 static int ZSTD_DCtx_isOverflow(ZSTD_DStream* zds, size_t const neededInBuffSize, size_t const need… in ZSTD_DCtx_isOverflow() argument
1810 …return (zds->inBuffSize + zds->outBuffSize) >= (neededInBuffSize + neededOutBuffSize) * ZSTD_WORKS… in ZSTD_DCtx_isOverflow()
1813 static void ZSTD_DCtx_updateOversizedDuration(ZSTD_DStream* zds, size_t const neededInBuffSize, siz… in ZSTD_DCtx_updateOversizedDuration() argument
1815 if (ZSTD_DCtx_isOverflow(zds, neededInBuffSize, neededOutBuffSize)) in ZSTD_DCtx_updateOversizedDuration()
1990 … { size_t const neededInBuffSize = MAX(zds->fParams.blockSizeMax, 4 /* frame checksum */); in ZSTD_decompressStream() local
1995 ZSTD_DCtx_updateOversizedDuration(zds, neededInBuffSize, neededOutBuffSize); in ZSTD_decompressStream()
1997 …{ int const tooSmall = (zds->inBuffSize < neededInBuffSize) || (zds->outBuffSize < neededOutBuff… in ZSTD_decompressStream()
2001 size_t const bufferSize = neededInBuffSize + neededOutBuffSize; in ZSTD_decompressStream()
2003 (U32)zds->inBuffSize, (U32)neededInBuffSize); in ZSTD_decompressStream()
2019 zds->inBuffSize = neededInBuffSize; in ZSTD_decompressStream()