Home
last modified time | relevance | path

Searched refs:ZSTD_blockHeaderSize (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/lib/zstd/decompress/
Dzstd_decompress.c716 if (ZSTD_blockHeaderSize + cBlockSize > remainingSize) in ZSTD_findFrameSizeInfo()
719 ip += ZSTD_blockHeaderSize + cBlockSize; in ZSTD_findFrameSizeInfo()
720 remainingSize -= ZSTD_blockHeaderSize + cBlockSize; in ZSTD_findFrameSizeInfo()
846 remainingSrcSize < ZSTD_FRAMEHEADERSIZE_MIN(dctx->format)+ZSTD_blockHeaderSize, in ZSTD_decompressFrame()
853 RETURN_ERROR_IF(remainingSrcSize < frameHeaderSize+ZSTD_blockHeaderSize, in ZSTD_decompressFrame()
867 ip += ZSTD_blockHeaderSize; in ZSTD_decompressFrame()
868 remainingSrcSize -= ZSTD_blockHeaderSize; in ZSTD_decompressFrame()
1144 dctx->expected = ZSTD_blockHeaderSize; in ZSTD_decompressContinue()
1150 size_t const cBlockSize = ZSTD_getcBlockSize(src, ZSTD_blockHeaderSize, &bp); in ZSTD_decompressContinue()
1170 dctx->expected = ZSTD_blockHeaderSize; /* jump to next header */ in ZSTD_decompressContinue()
[all …]
Dzstd_decompress_block.c59 RETURN_ERROR_IF(srcSize < ZSTD_blockHeaderSize, srcSize_wrong, ""); in ZSTD_getcBlockSize()
/linux-6.12.1/lib/zstd/compress/
Dzstd_compress_superblock.c273 BYTE* op = ostart + ZSTD_blockHeaderSize; in ZSTD_compressSubBlock()
295 { size_t cSize = (op-ostart)-ZSTD_blockHeaderSize; in ZSTD_compressSubBlock()
404 return cSizeEstimate + ZSTD_blockHeaderSize; in ZSTD_estimateSubBlockSize()
Dzstd_compress.c2730 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()
[all …]
Dzstd_compress_internal.h506 RETURN_ERROR_IF(srcSize + ZSTD_blockHeaderSize > dstCapacity, in ZSTD_noCompressBlock()
509 ZSTD_memcpy((BYTE*)dst + ZSTD_blockHeaderSize, src, srcSize); in ZSTD_noCompressBlock()
510 return ZSTD_blockHeaderSize + srcSize; in ZSTD_noCompressBlock()
/linux-6.12.1/lib/zstd/common/
Dzstd_internal.h80 static UNUSED_ATTR const size_t ZSTD_blockHeaderSize = ZSTD_BLOCKHEADERSIZE; variable