Lines Matching refs:cBlockSize

666             size_t const cBlockSize = ZSTD_getcBlockSize(ip, remainingSize, &blockProperties);  in ZSTD_findFrameSizeInfo()  local
667 if (ZSTD_isError(cBlockSize)) in ZSTD_findFrameSizeInfo()
668 return ZSTD_errorFrameSizeInfo(cBlockSize); in ZSTD_findFrameSizeInfo()
670 if (ZSTD_blockHeaderSize + cBlockSize > remainingSize) in ZSTD_findFrameSizeInfo()
673 ip += ZSTD_blockHeaderSize + cBlockSize; in ZSTD_findFrameSizeInfo()
674 remainingSize -= ZSTD_blockHeaderSize + cBlockSize; in ZSTD_findFrameSizeInfo()
817 size_t const cBlockSize = ZSTD_getcBlockSize(ip, remainingSrcSize, &blockProperties); in ZSTD_decompressFrame() local
818 if (ZSTD_isError(cBlockSize)) return cBlockSize; in ZSTD_decompressFrame()
822 RETURN_ERROR_IF(cBlockSize > remainingSrcSize, srcSize_wrong, ""); in ZSTD_decompressFrame()
827 …decodedSize = ZSTD_decompressBlock_internal(dctx, op, (size_t)(oend-op), ip, cBlockSize, /* frame … in ZSTD_decompressFrame()
830 decodedSize = ZSTD_copyRawBlock(op, (size_t)(oend-op), ip, cBlockSize); in ZSTD_decompressFrame()
846 ip += cBlockSize; in ZSTD_decompressFrame()
847 remainingSrcSize -= cBlockSize; in ZSTD_decompressFrame()
1085 size_t const cBlockSize = ZSTD_getcBlockSize(src, ZSTD_blockHeaderSize, &bp); in ZSTD_decompressContinue() local
1086 if (ZSTD_isError(cBlockSize)) return cBlockSize; in ZSTD_decompressContinue()
1087 …RETURN_ERROR_IF(cBlockSize > dctx->fParams.blockSizeMax, corruption_detected, "Block Size Exceeds … in ZSTD_decompressContinue()
1088 dctx->expected = cBlockSize; in ZSTD_decompressContinue()
1091 if (cBlockSize) { in ZSTD_decompressContinue()