Lines Matching refs:remainingSrcSize
794 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()
869 *srcSizePtr = remainingSrcSize; in ZSTD_decompressFrame()