Lines Matching refs:ZSTD_blockHeaderSize
2730 if (srcSize < MIN_CBLOCK_SIZE+ZSTD_blockHeaderSize+1) { in ZSTD_buildSeqStore()
3252 return seqSize + literalsSize + ZSTD_blockHeaderSize; in ZSTD_estimateBlockSize()
3425 … RETURN_ERROR_IF(dstCapacity < ZSTD_blockHeaderSize, dstSize_tooSmall, "Block header doesn't fit"); in ZSTD_compressSeqStore_singleBlock()
3429 op + ZSTD_blockHeaderSize, dstCapacity - ZSTD_blockHeaderSize, in ZSTD_compressSeqStore_singleBlock()
3464 cSize = ZSTD_blockHeaderSize + cSeqsSize; in ZSTD_compressSeqStore_singleBlock()
3598 assert(cSizeSingleBlock <= ZSTD_BLOCKSIZE_MAX + ZSTD_blockHeaderSize); in ZSTD_compressBlock_splitBlock_internal()
3632 assert(cSizeChunk <= ZSTD_BLOCKSIZE_MAX + ZSTD_blockHeaderSize); in ZSTD_compressBlock_splitBlock_internal()
3775 if (cSize != 0 && cSize < maxCSize + ZSTD_blockHeaderSize) { in ZSTD_compressBlock_targetCBlockSize_body()
3863 RETURN_ERROR_IF(dstCapacity < ZSTD_blockHeaderSize + MIN_CBLOCK_SIZE, in ZSTD_compress_frameChunk()
3881 assert(cSize <= blockSize + ZSTD_blockHeaderSize); in ZSTD_compress_frameChunk()
3888 op+ZSTD_blockHeaderSize, dstCapacity-ZSTD_blockHeaderSize, in ZSTD_compress_frameChunk()
3900 cSize += ZSTD_blockHeaderSize; in ZSTD_compress_frameChunk()
3996 RETURN_ERROR_IF(dstCapacity < ZSTD_blockHeaderSize, dstSize_tooSmall, in ZSTD_writeLastEmptyBlock()
4000 return ZSTD_blockHeaderSize; in ZSTD_writeLastEmptyBlock()
4518 op += ZSTD_blockHeaderSize; in ZSTD_writeEpilogue()
4519 dstCapacity -= ZSTD_blockHeaderSize; in ZSTD_writeEpilogue()
5068 return ZSTD_compressBound(ZSTD_BLOCKSIZE_MAX) + ZSTD_blockHeaderSize + 4 /* 32-bits hash */ ; in ZSTD_CStreamOutSize()
5826 op += ZSTD_blockHeaderSize; in ZSTD_compressSequences_internal()
5827 dstCapacity -= ZSTD_blockHeaderSize; in ZSTD_compressSequences_internal()
5828 cSize += ZSTD_blockHeaderSize; in ZSTD_compressSequences_internal()
5844 if (blockSize < MIN_CBLOCK_SIZE+ZSTD_blockHeaderSize+1) { in ZSTD_compressSequences_internal()
5859 … op + ZSTD_blockHeaderSize /* Leave space for block header */, dstCapacity - ZSTD_blockHeaderSize, in ZSTD_compressSequences_internal()
5895 cBlockSize = ZSTD_blockHeaderSize + compressedSeqsSize; in ZSTD_compressSequences_internal()