Lines Matching refs:cBlockSize
712 size_t const cBlockSize = ZSTD_getcBlockSize(ip, remainingSize, &blockProperties); in ZSTD_findFrameSizeInfo() local
713 if (ZSTD_isError(cBlockSize)) in ZSTD_findFrameSizeInfo()
714 return ZSTD_errorFrameSizeInfo(cBlockSize); in ZSTD_findFrameSizeInfo()
716 if (ZSTD_blockHeaderSize + cBlockSize > remainingSize) in ZSTD_findFrameSizeInfo()
719 ip += ZSTD_blockHeaderSize + cBlockSize; in ZSTD_findFrameSizeInfo()
720 remainingSize -= ZSTD_blockHeaderSize + cBlockSize; in ZSTD_findFrameSizeInfo()
864 size_t const cBlockSize = ZSTD_getcBlockSize(ip, remainingSrcSize, &blockProperties); in ZSTD_decompressFrame() local
865 if (ZSTD_isError(cBlockSize)) return cBlockSize; in ZSTD_decompressFrame()
869 RETURN_ERROR_IF(cBlockSize > remainingSrcSize, srcSize_wrong, ""); in ZSTD_decompressFrame()
891 … = ZSTD_decompressBlock_internal(dctx, op, (size_t)(oBlockEnd-op), ip, cBlockSize, /* frame */ 1, … in ZSTD_decompressFrame()
895 decodedSize = ZSTD_copyRawBlock(op, (size_t)(oend-op), ip, cBlockSize); in ZSTD_decompressFrame()
911 ip += cBlockSize; in ZSTD_decompressFrame()
912 remainingSrcSize -= cBlockSize; in ZSTD_decompressFrame()
1150 size_t const cBlockSize = ZSTD_getcBlockSize(src, ZSTD_blockHeaderSize, &bp); in ZSTD_decompressContinue() local
1151 if (ZSTD_isError(cBlockSize)) return cBlockSize; in ZSTD_decompressContinue()
1152 …RETURN_ERROR_IF(cBlockSize > dctx->fParams.blockSizeMax, corruption_detected, "Block Size Exceeds … in ZSTD_decompressContinue()
1153 dctx->expected = cBlockSize; in ZSTD_decompressContinue()
1156 if (cBlockSize) { in ZSTD_decompressContinue()