Home
last modified time | relevance | path

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

/Linux-v6.6/lib/zstd/decompress/
Dzstd_decompress.c840 size_t remainingSrcSize = *srcSizePtr; in ZSTD_decompressFrame() local
846 remainingSrcSize < ZSTD_FRAMEHEADERSIZE_MIN(dctx->format)+ZSTD_blockHeaderSize, in ZSTD_decompressFrame()
853 RETURN_ERROR_IF(remainingSrcSize < frameHeaderSize+ZSTD_blockHeaderSize, in ZSTD_decompressFrame()
856 ip += frameHeaderSize; remainingSrcSize -= frameHeaderSize; in ZSTD_decompressFrame()
864 size_t const cBlockSize = ZSTD_getcBlockSize(ip, remainingSrcSize, &blockProperties); in ZSTD_decompressFrame()
868 remainingSrcSize -= ZSTD_blockHeaderSize; in ZSTD_decompressFrame()
869 RETURN_ERROR_IF(cBlockSize > remainingSrcSize, srcSize_wrong, ""); in ZSTD_decompressFrame()
912 remainingSrcSize -= cBlockSize; in ZSTD_decompressFrame()
921 RETURN_ERROR_IF(remainingSrcSize<4, checksum_wrong, ""); in ZSTD_decompressFrame()
929 remainingSrcSize -= 4; in ZSTD_decompressFrame()
[all …]