Lines Matching refs:ZSTD_blockHeaderSize
436 if (srcSize + ZSTD_blockHeaderSize > dstCapacity) in ZSTD_noCompressBlock()
438 memcpy((BYTE *)dst + ZSTD_blockHeaderSize, src, srcSize); in ZSTD_noCompressBlock()
440 return ZSTD_blockHeaderSize + srcSize; in ZSTD_noCompressBlock()
2339 if (srcSize < MIN_CBLOCK_SIZE + ZSTD_blockHeaderSize + 1) in ZSTD_compressBlock_internal()
2371 if (dstCapacity < ZSTD_blockHeaderSize + MIN_CBLOCK_SIZE) in ZSTD_compress_generic()
2403 …cSize = ZSTD_compressBlock_internal(cctx, op + ZSTD_blockHeaderSize, dstCapacity - ZSTD_blockHeade… in ZSTD_compress_generic()
2409 if (blockSize + ZSTD_blockHeaderSize > dstCapacity) in ZSTD_compress_generic()
2412 memcpy(op + ZSTD_blockHeaderSize, ip, blockSize); in ZSTD_compress_generic()
2413 cSize = ZSTD_blockHeaderSize + blockSize; in ZSTD_compress_generic()
2417 cSize += ZSTD_blockHeaderSize; in ZSTD_compress_generic()
2790 op += ZSTD_blockHeaderSize; in ZSTD_writeEpilogue()
2791 dstCapacity -= ZSTD_blockHeaderSize; in ZSTD_writeEpilogue()
3024 …e(void) { return ZSTD_compressBound(ZSTD_BLOCKSIZE_ABSOLUTEMAX) + ZSTD_blockHeaderSize + 4 /* 32-b… in ZSTD_CStreamOutSize()