Lines Matching refs:lastBlock

2949 static void writeBlockHeader(void* op, size_t cSize, size_t blockSize, U32 lastBlock) {  in writeBlockHeader()  argument
2951 lastBlock + (((U32)bt_rle)<<1) + (U32)(blockSize << 3) : in writeBlockHeader()
2952 lastBlock + (((U32)bt_compressed)<<1) + (U32)(cSize << 3); in writeBlockHeader()
2954 …UGLOG(3, "writeBlockHeader: cSize: %zu blockSize: %zu lastBlock: %u", cSize, blockSize, lastBlock); in writeBlockHeader()
3411 U32 lastBlock, U32 isPartition) in ZSTD_compressSeqStore_singleBlock() argument
3452 cSize = ZSTD_noCompressBlock(op, dstCapacity, ip, srcSize, lastBlock); in ZSTD_compressSeqStore_singleBlock()
3457 cSize = ZSTD_rleCompressBlock(op, dstCapacity, *ip, srcSize, lastBlock); in ZSTD_compressSeqStore_singleBlock()
3463 writeBlockHeader(op, cSeqsSize, srcSize, lastBlock); in ZSTD_compressSeqStore_singleBlock()
3554 const void* src, size_t blockSize, U32 lastBlock, U32 nbSeq) in ZSTD_compressBlock_splitBlock_internal() argument
3595 lastBlock, 0 /* isPartition */); in ZSTD_compressBlock_splitBlock_internal()
3614 lastBlockEntireSrc = lastBlock; in ZSTD_compressBlock_splitBlock_internal()
3644 const void* src, size_t srcSize, U32 lastBlock) in ZSTD_compressBlock_splitBlock() argument
3658 cSize = ZSTD_noCompressBlock(op, dstCapacity, ip, srcSize, lastBlock); in ZSTD_compressBlock_splitBlock()
3666 …cSize = ZSTD_compressBlock_splitBlock_internal(zc, dst, dstCapacity, src, srcSize, lastBlock, nbSe… in ZSTD_compressBlock_splitBlock()
3738 const size_t bss, U32 lastBlock) in ZSTD_compressBlock_targetCBlockSize_body() argument
3750 return ZSTD_rleCompressBlock(dst, dstCapacity, *(BYTE const*)src, srcSize, lastBlock); in ZSTD_compressBlock_targetCBlockSize_body()
3771 … size_t const cSize = ZSTD_compressSuperBlock(zc, dst, dstCapacity, src, srcSize, lastBlock); in ZSTD_compressBlock_targetCBlockSize_body()
3787 return ZSTD_noCompressBlock(dst, dstCapacity, src, srcSize, lastBlock); in ZSTD_compressBlock_targetCBlockSize_body()
3793 U32 lastBlock) in ZSTD_compressBlock_targetCBlockSize() argument
3801 …ize = ZSTD_compressBlock_targetCBlockSize_body(zc, dst, dstCapacity, src, srcSize, bss, lastBlock); in ZSTD_compressBlock_targetCBlockSize()
3861 U32 const lastBlock = lastFrameChunk & (blockSize >= remaining); in ZSTD_compress_frameChunk() local
3878 … cSize = ZSTD_compressBlock_targetCBlockSize(cctx, op, dstCapacity, ip, blockSize, lastBlock); in ZSTD_compress_frameChunk()
3883 … cSize = ZSTD_compressBlock_splitBlock(cctx, op, dstCapacity, ip, blockSize, lastBlock); in ZSTD_compress_frameChunk()
3893 cSize = ZSTD_noCompressBlock(op, dstCapacity, ip, blockSize, lastBlock); in ZSTD_compress_frameChunk()
3897 lastBlock + (((U32)bt_rle)<<1) + (U32)(blockSize << 3) : in ZSTD_compress_frameChunk()
3898 lastBlock + (((U32)bt_compressed)<<1) + (U32)(cSize << 3); in ZSTD_compress_frameChunk()
5294 unsigned const lastBlock = (flushMode == ZSTD_e_end) && (ip==iend); in ZSTD_compressStream_generic() local
5295 cSize = lastBlock ? in ZSTD_compressStream_generic()
5300 …FORWARD_IF_ERROR(cSize, "%s", lastBlock ? "ZSTD_compressEnd failed" : "ZSTD_compressContinue faile… in ZSTD_compressStream_generic()
5301 zcs->frameEnded = lastBlock; in ZSTD_compressStream_generic()
5308 if (!lastBlock) in ZSTD_compressStream_generic()
5312 unsigned const lastBlock = (ip + iSize == iend); in ZSTD_compressStream_generic() local
5314 cSize = lastBlock ? in ZSTD_compressStream_generic()
5320 …FORWARD_IF_ERROR(cSize, "%s", lastBlock ? "ZSTD_compressEnd failed" : "ZSTD_compressContinue faile… in ZSTD_compressStream_generic()
5321 zcs->frameEnded = lastBlock; in ZSTD_compressStream_generic()
5322 if (lastBlock) in ZSTD_compressStream_generic()
5810 U32 lastBlock; in ZSTD_compressSequences_internal() local
5834 lastBlock = remaining <= cctx->blockSize; in ZSTD_compressSequences_internal()
5835 blockSize = lastBlock ? (U32)remaining : (U32)cctx->blockSize; in ZSTD_compressSequences_internal()
5845 cBlockSize = ZSTD_noCompressBlock(op, dstCapacity, ip, blockSize, lastBlock); in ZSTD_compressSequences_internal()
5878 cBlockSize = ZSTD_noCompressBlock(op, dstCapacity, ip, blockSize, lastBlock); in ZSTD_compressSequences_internal()
5882 cBlockSize = ZSTD_rleCompressBlock(op, dstCapacity, *ip, blockSize, lastBlock); in ZSTD_compressSequences_internal()
5893 cBlockHeader = lastBlock + (((U32)bt_compressed)<<1) + (U32)(compressedSeqsSize << 3); in ZSTD_compressSequences_internal()
5902 if (lastBlock) { in ZSTD_compressSequences_internal()