Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/decompress/
Dzstd_decompress.c794 size_t remainingSrcSize = *srcSizePtr; in ZSTD_decompressFrame() local
800 remainingSrcSize < ZSTD_FRAMEHEADERSIZE_MIN(dctx->format)+ZSTD_blockHeaderSize, in ZSTD_decompressFrame()
807 RETURN_ERROR_IF(remainingSrcSize < frameHeaderSize+ZSTD_blockHeaderSize, in ZSTD_decompressFrame()
810 ip += frameHeaderSize; remainingSrcSize -= frameHeaderSize; in ZSTD_decompressFrame()
817 size_t const cBlockSize = ZSTD_getcBlockSize(ip, remainingSrcSize, &blockProperties); in ZSTD_decompressFrame()
821 remainingSrcSize -= ZSTD_blockHeaderSize; in ZSTD_decompressFrame()
822 RETURN_ERROR_IF(cBlockSize > remainingSrcSize, srcSize_wrong, ""); in ZSTD_decompressFrame()
847 remainingSrcSize -= cBlockSize; in ZSTD_decompressFrame()
856 RETURN_ERROR_IF(remainingSrcSize<4, checksum_wrong, ""); in ZSTD_decompressFrame()
864 remainingSrcSize -= 4; in ZSTD_decompressFrame()
[all …]