Home
last modified time | relevance | path

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

/linux/lib/zstd/decompress/
A Dzstd_decompress.c670 if (ZSTD_blockHeaderSize + cBlockSize > remainingSize) in ZSTD_findFrameSizeInfo()
673 ip += ZSTD_blockHeaderSize + cBlockSize; in ZSTD_findFrameSizeInfo()
674 remainingSize -= ZSTD_blockHeaderSize + cBlockSize; in ZSTD_findFrameSizeInfo()
800 remainingSrcSize < ZSTD_FRAMEHEADERSIZE_MIN(dctx->format)+ZSTD_blockHeaderSize, in ZSTD_decompressFrame()
807 RETURN_ERROR_IF(remainingSrcSize < frameHeaderSize+ZSTD_blockHeaderSize, in ZSTD_decompressFrame()
820 ip += ZSTD_blockHeaderSize; in ZSTD_decompressFrame()
821 remainingSrcSize -= ZSTD_blockHeaderSize; in ZSTD_decompressFrame()
1079 dctx->expected = ZSTD_blockHeaderSize; in ZSTD_decompressContinue()
1105 dctx->expected = ZSTD_blockHeaderSize; /* jump to next header */ in ZSTD_decompressContinue()
1165 dctx->expected = ZSTD_blockHeaderSize; in ZSTD_decompressContinue()
[all …]
A Dzstd_decompress_block.c59 RETURN_ERROR_IF(srcSize < ZSTD_blockHeaderSize, srcSize_wrong, ""); in ZSTD_getcBlockSize()
/linux/lib/zstd/compress/
A Dzstd_compress.c2398 if (srcSize < MIN_CBLOCK_SIZE+ZSTD_blockHeaderSize+1) { in ZSTD_buildSeqStore()
2829 op+ZSTD_blockHeaderSize, dstCapacity-ZSTD_blockHeaderSize, in ZSTD_compress_frameChunk()
2841 cSize += ZSTD_blockHeaderSize; in ZSTD_compress_frameChunk()
2941 return ZSTD_blockHeaderSize; in ZSTD_writeLastEmptyBlock()
3434 op += ZSTD_blockHeaderSize; in ZSTD_writeEpilogue()
3435 dstCapacity -= ZSTD_blockHeaderSize; in ZSTD_writeEpilogue()
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()
[all …]
A Dzstd_compress_internal.h438 RETURN_ERROR_IF(srcSize + ZSTD_blockHeaderSize > dstCapacity, in ZSTD_noCompressBlock()
441 ZSTD_memcpy((BYTE*)dst + ZSTD_blockHeaderSize, src, srcSize); in ZSTD_noCompressBlock()
442 return ZSTD_blockHeaderSize + srcSize; in ZSTD_noCompressBlock()
A Dzstd_compress_superblock.c553 BYTE* op = ostart + ZSTD_blockHeaderSize; in ZSTD_compressSubBlock()
575 { size_t cSize = (op-ostart)-ZSTD_blockHeaderSize; in ZSTD_compressSubBlock()
683 return cSizeEstimate + ZSTD_blockHeaderSize; in ZSTD_estimateSubBlockSize()
/linux/lib/zstd/common/
A Dzstd_internal.h154 static UNUSED_ATTR const size_t ZSTD_blockHeaderSize = ZSTD_BLOCKHEADERSIZE; variable

Completed in 38 milliseconds