Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/decompress/
Dzstd_decompress.c1742 static int ZSTD_DCtx_isOverflow(ZSTD_DStream* zds, size_t const neededInBuffSize, size_t const need… in ZSTD_DCtx_isOverflow() argument
1744 …return (zds->inBuffSize + zds->outBuffSize) >= (neededInBuffSize + neededOutBuffSize) * ZSTD_WORKS… in ZSTD_DCtx_isOverflow()
1747 static void ZSTD_DCtx_updateOversizedDuration(ZSTD_DStream* zds, size_t const neededInBuffSize, siz… in ZSTD_DCtx_updateOversizedDuration() argument
1749 if (ZSTD_DCtx_isOverflow(zds, neededInBuffSize, neededOutBuffSize)) in ZSTD_DCtx_updateOversizedDuration()
1925 … { size_t const neededInBuffSize = MAX(zds->fParams.blockSizeMax, 4 /* frame checksum */); in ZSTD_decompressStream() local
1930 ZSTD_DCtx_updateOversizedDuration(zds, neededInBuffSize, neededOutBuffSize); in ZSTD_decompressStream()
1932 …{ int const tooSmall = (zds->inBuffSize < neededInBuffSize) || (zds->outBuffSize < neededOutBuff… in ZSTD_decompressStream()
1936 size_t const bufferSize = neededInBuffSize + neededOutBuffSize; in ZSTD_decompressStream()
1938 (U32)zds->inBuffSize, (U32)neededInBuffSize); in ZSTD_decompressStream()
1954 zds->inBuffSize = neededInBuffSize; in ZSTD_decompressStream()