Home
last modified time | relevance | path

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

/external/zstd/lib/decompress/
Dzstd_decompress.c626 size_t remainingSrcSize = *srcSizePtr; in ZSTD_decompressFrame() local
632 remainingSrcSize < ZSTD_FRAMEHEADERSIZE_MIN(dctx->format)+ZSTD_blockHeaderSize, in ZSTD_decompressFrame()
639 RETURN_ERROR_IF(remainingSrcSize < frameHeaderSize+ZSTD_blockHeaderSize, in ZSTD_decompressFrame()
642 ip += frameHeaderSize; remainingSrcSize -= frameHeaderSize; in ZSTD_decompressFrame()
649 size_t const cBlockSize = ZSTD_getcBlockSize(ip, remainingSrcSize, &blockProperties); in ZSTD_decompressFrame()
653 remainingSrcSize -= ZSTD_blockHeaderSize; in ZSTD_decompressFrame()
654 RETURN_ERROR_IF(cBlockSize > remainingSrcSize, srcSize_wrong, ""); in ZSTD_decompressFrame()
679 remainingSrcSize -= cBlockSize; in ZSTD_decompressFrame()
688 RETURN_ERROR_IF(remainingSrcSize<4, checksum_wrong, ""); in ZSTD_decompressFrame()
696 remainingSrcSize -= 4; in ZSTD_decompressFrame()
[all …]