Lines Matching refs:ZSTD_blockHeaderSize
2398 if (srcSize < MIN_CBLOCK_SIZE+ZSTD_blockHeaderSize+1) { in ZSTD_buildSeqStore()
2721 if (cSize != 0 && cSize < maxCSize + ZSTD_blockHeaderSize) { in ZSTD_compressBlock_targetCBlockSize_body()
2809 RETURN_ERROR_IF(dstCapacity < ZSTD_blockHeaderSize + MIN_CBLOCK_SIZE, in ZSTD_compress_frameChunk()
2826 assert(cSize <= blockSize + ZSTD_blockHeaderSize); in ZSTD_compress_frameChunk()
2829 op+ZSTD_blockHeaderSize, dstCapacity-ZSTD_blockHeaderSize, in ZSTD_compress_frameChunk()
2841 cSize += ZSTD_blockHeaderSize; in ZSTD_compress_frameChunk()
2937 RETURN_ERROR_IF(dstCapacity < ZSTD_blockHeaderSize, dstSize_tooSmall, in ZSTD_writeLastEmptyBlock()
2941 return ZSTD_blockHeaderSize; in ZSTD_writeLastEmptyBlock()
3434 op += ZSTD_blockHeaderSize; in ZSTD_writeEpilogue()
3435 dstCapacity -= ZSTD_blockHeaderSize; in ZSTD_writeEpilogue()
3950 return ZSTD_compressBound(ZSTD_BLOCKSIZE_MAX) + ZSTD_blockHeaderSize + 4 /* 32-bits hash */ ; in ZSTD_CStreamOutSize()
4705 op += ZSTD_blockHeaderSize; in ZSTD_compressSequences_internal()
4706 dstCapacity -= ZSTD_blockHeaderSize; in ZSTD_compressSequences_internal()
4707 cSize += ZSTD_blockHeaderSize; in ZSTD_compressSequences_internal()
4723 if (blockSize < MIN_CBLOCK_SIZE+ZSTD_blockHeaderSize+1) { in ZSTD_compressSequences_internal()
4738 … op + ZSTD_blockHeaderSize /* Leave space for block header */, dstCapacity - ZSTD_blockHeaderSize, in ZSTD_compressSequences_internal()
4774 cBlockSize = ZSTD_blockHeaderSize + compressedSeqsSize; in ZSTD_compressSequences_internal()