Home
last modified time | relevance | path

Searched refs:lastLLSize (Results 1 – 3 of 3) sorted by relevance

/linux/lib/zstd/decompress/
H A Dzstd_decompress_block.c1590 size_t const lastLLSize = (size_t)(litBufferEnd - litPtr); in ZSTD_decompressSequences_bodySplitLitBuffer() local
1591 DEBUGLOG(6, "copy last literals from segment : %u", (U32)lastLLSize); in ZSTD_decompressSequences_bodySplitLitBuffer()
1592 RETURN_ERROR_IF(lastLLSize > (size_t)(oend - op), dstSize_tooSmall, ""); in ZSTD_decompressSequences_bodySplitLitBuffer()
1594 ZSTD_memmove(op, litPtr, lastLLSize); in ZSTD_decompressSequences_bodySplitLitBuffer()
1595 op += lastLLSize; in ZSTD_decompressSequences_bodySplitLitBuffer()
1602 { size_t const lastLLSize = (size_t)(litBufferEnd - litPtr); in ZSTD_decompressSequences_bodySplitLitBuffer() local
1603 DEBUGLOG(6, "copy last literals from internal buffer : %u", (U32)lastLLSize); in ZSTD_decompressSequences_bodySplitLitBuffer()
1604 RETURN_ERROR_IF(lastLLSize > (size_t)(oend-op), dstSize_tooSmall, ""); in ZSTD_decompressSequences_bodySplitLitBuffer()
1606 ZSTD_memcpy(op, litPtr, lastLLSize); in ZSTD_decompressSequences_bodySplitLitBuffer()
1607 op += lastLLSize; in ZSTD_decompressSequences_bodySplitLitBuffer()
[all …]
/linux/lib/zstd/compress/
H A Dzstd_ldm.c700 size_t lastLLSize; in ZSTD_ldm_blockCompress() local
702 lastLLSize = blockCompressor(ms, seqStore, rep, src, srcSize); in ZSTD_ldm_blockCompress()
704 return lastLLSize; in ZSTD_ldm_blockCompress()
H A Dzstd_compress.c3069 const BYTE* anchor, size_t lastLLSize) in ZSTD_storeLastLiterals() argument
3071 ZSTD_memcpy(seqStorePtr->lit, anchor, lastLLSize); in ZSTD_storeLastLiterals()
3072 seqStorePtr->lit += lastLLSize; in ZSTD_storeLastLiterals()
3216 size_t lastLLSize; in ZSTD_buildSeqStore() local
3233 lastLLSize = in ZSTD_buildSeqStore()
3258 lastLLSize = in ZSTD_buildSeqStore()
3326lastLLSize = blockCompressor(ms, &zc->seqStore, zc->blockState.nextCBlock->rep, src, srcSize); in ZSTD_buildSeqStore()
3334lastLLSize = blockCompressor(ms, &zc->seqStore, zc->blockState.nextCBlock->rep, src, srcSize); in ZSTD_buildSeqStore()
3336 { const BYTE* const lastLiterals = (const BYTE*)src + srcSize - lastLLSize; in ZSTD_buildSeqStore()
3337 ZSTD_storeLastLiterals(&zc->seqStore, lastLiterals, lastLLSize); in ZSTD_buildSeqStore()
[all …]