Searched refs:ZSTD_blockHeaderSize (Results 1 – 3 of 3) sorted by relevance
396 if (srcSize < ZSTD_blockHeaderSize) in ZSTD_getcBlockSize()1543 if (ZSTD_blockHeaderSize + cBlockSize > remainingSize) in ZSTD_findFrameCompressedSize()1546 ip += ZSTD_blockHeaderSize + cBlockSize; in ZSTD_findFrameCompressedSize()1547 remainingSize -= ZSTD_blockHeaderSize + cBlockSize; in ZSTD_findFrameCompressedSize()1575 if (remainingSize < ZSTD_frameHeaderSize_min + ZSTD_blockHeaderSize) in ZSTD_decompressFrame()1583 if (remainingSize < frameHeaderSize + ZSTD_blockHeaderSize) in ZSTD_decompressFrame()1598 ip += ZSTD_blockHeaderSize; in ZSTD_decompressFrame()1599 remainingSize -= ZSTD_blockHeaderSize; in ZSTD_decompressFrame()1775 dctx->expected = ZSTD_blockHeaderSize; in ZSTD_decompressContinue()1781 size_t const cBlockSize = ZSTD_getcBlockSize(src, ZSTD_blockHeaderSize, &bp); in ZSTD_decompressContinue()[all …]
86 static const size_t ZSTD_blockHeaderSize = ZSTD_BLOCKHEADERSIZE; variable
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()[all …]