Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress_block.c1516 size_t const lastLLSize = litBufferEnd - litPtr; local
1517 RETURN_ERROR_IF(lastLLSize > (size_t)(oend - op), dstSize_tooSmall, "");
1519 ZSTD_memmove(op, litPtr, lastLLSize);
1520 op += lastLLSize;
1526 { size_t const lastLLSize = litBufferEnd - litPtr; local
1527 RETURN_ERROR_IF(lastLLSize > (size_t)(oend-op), dstSize_tooSmall, "");
1529 ZSTD_memcpy(op, litPtr, lastLLSize);
1530 op += lastLLSize;
1615 { size_t const lastLLSize = litEnd - litPtr; local
1616 RETURN_ERROR_IF(lastLLSize > (size_t)(oend-op), dstSize_tooSmall, "");
[all …]
/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_decompress_block.c1091 { size_t const lastLLSize = litEnd - litPtr; in ZSTD_decompressSequences_body() local
1092 RETURN_ERROR_IF(lastLLSize > (size_t)(oend-op), dstSize_tooSmall, ""); in ZSTD_decompressSequences_body()
1094 memcpy(op, litPtr, lastLLSize); in ZSTD_decompressSequences_body()
1095 op += lastLLSize; in ZSTD_decompressSequences_body()
1215 { size_t const lastLLSize = litEnd - litPtr; in ZSTD_decompressSequencesLong_body() local
1216 RETURN_ERROR_IF(lastLLSize > (size_t)(oend-op), dstSize_tooSmall, ""); in ZSTD_decompressSequencesLong_body()
1218 memcpy(op, litPtr, lastLLSize); in ZSTD_decompressSequencesLong_body()
1219 op += lastLLSize; in ZSTD_decompressSequencesLong_body()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_ldm.c678 size_t lastLLSize; in ZSTD_ldm_blockCompress() local
680 lastLLSize = blockCompressor(ms, seqStore, rep, src, srcSize); in ZSTD_ldm_blockCompress()
682 return lastLLSize; in ZSTD_ldm_blockCompress()
H A Dzstd_compress.c2799 const BYTE* anchor, size_t lastLLSize) in ZSTD_storeLastLiterals() argument
2801 ZSTD_memcpy(seqStorePtr->lit, anchor, lastLLSize); in ZSTD_storeLastLiterals()
2802 seqStorePtr->lit += lastLLSize; in ZSTD_storeLastLiterals()
2850 size_t lastLLSize; in ZSTD_buildSeqStore() local
2858 lastLLSize = in ZSTD_buildSeqStore()
2875 lastLLSize = in ZSTD_buildSeqStore()
2887lastLLSize = blockCompressor(ms, &zc->seqStore, zc->blockState.nextCBlock->rep, src, srcSize); in ZSTD_buildSeqStore()
2889 { const BYTE* const lastLiterals = (const BYTE*)src + srcSize - lastLLSize; in ZSTD_buildSeqStore()
2890 ZSTD_storeLastLiterals(&zc->seqStore, lastLiterals, lastLLSize); in ZSTD_buildSeqStore()
2902 size_t lastLLSize; in ZSTD_copyBlockSequences() local
[all …]
/freebsd/sys/contrib/zstd/lib/legacy/
H A Dzstd_v01.c1906 size_t lastLLSize = litEnd - litPtr; in ZSTD_decompressSequences() local
1907 if (op+lastLLSize > oend) return ERROR(dstSize_tooSmall); in ZSTD_decompressSequences()
1908 if (lastLLSize > 0) { in ZSTD_decompressSequences()
1909 if (op != litPtr) memmove(op, litPtr, lastLLSize); in ZSTD_decompressSequences()
1910 op += lastLLSize; in ZSTD_decompressSequences()
H A Dzstd_v03.c2872 size_t lastLLSize = litEnd - litPtr; in ZSTD_decompressSequences() local
2874 if (op+lastLLSize > oend) return ERROR(dstSize_tooSmall); in ZSTD_decompressSequences()
2875 if (lastLLSize > 0) { in ZSTD_decompressSequences()
2876 if (op != litPtr) memmove(op, litPtr, lastLLSize); in ZSTD_decompressSequences()
2877 op += lastLLSize; in ZSTD_decompressSequences()
H A Dzstd_v02.c3231 size_t lastLLSize = litEnd - litPtr; in ZSTD_decompressSequences() local
3233 if (op+lastLLSize > oend) return ERROR(dstSize_tooSmall); in ZSTD_decompressSequences()
3234 if (lastLLSize > 0) { in ZSTD_decompressSequences()
3235 if (op != litPtr) memmove(op, litPtr, lastLLSize); in ZSTD_decompressSequences()
3236 op += lastLLSize; in ZSTD_decompressSequences()
H A Dzstd_v04.c3010 size_t lastLLSize = litEnd - litPtr; in ZSTD_decompressSequences() local
3012 if (op+lastLLSize > oend) return ERROR(dstSize_tooSmall); in ZSTD_decompressSequences()
3013 if (lastLLSize > 0) { in ZSTD_decompressSequences()
3014 if (op != litPtr) memcpy(op, litPtr, lastLLSize); in ZSTD_decompressSequences()
3015 op += lastLLSize; in ZSTD_decompressSequences()
H A Dzstd_v05.c3362 size_t lastLLSize = litEnd - litPtr; in ZSTDv05_decompressSequences() local
3364 if (op+lastLLSize > oend) return ERROR(dstSize_tooSmall); in ZSTDv05_decompressSequences()
3365 if (lastLLSize > 0) { in ZSTDv05_decompressSequences()
3366 memcpy(op, litPtr, lastLLSize); in ZSTDv05_decompressSequences()
3367 op += lastLLSize; in ZSTDv05_decompressSequences()
H A Dzstd_v06.c3501 { size_t const lastLLSize = litEnd - litPtr; in ZSTDv06_decompressSequences() local
3503 if (op+lastLLSize > oend) return ERROR(dstSize_tooSmall); in ZSTDv06_decompressSequences()
3504 if (lastLLSize > 0) { in ZSTDv06_decompressSequences()
3505 memcpy(op, litPtr, lastLLSize); in ZSTDv06_decompressSequences()
3506 op += lastLLSize; in ZSTDv06_decompressSequences()
H A Dzstd_v07.c3716 { size_t const lastLLSize = litEnd - litPtr; in ZSTDv07_decompressSequences() local
3718 if (lastLLSize > (size_t)(oend-op)) return ERROR(dstSize_tooSmall); in ZSTDv07_decompressSequences()
3719 if (lastLLSize > 0) { in ZSTDv07_decompressSequences()
3720 memcpy(op, litPtr, lastLLSize); in ZSTDv07_decompressSequences()
3721 op += lastLLSize; in ZSTDv07_decompressSequences()
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress.c2227 const BYTE* anchor, size_t lastLLSize) in ZSTD_storeLastLiterals() argument
2229 memcpy(seqStorePtr->lit, anchor, lastLLSize); in ZSTD_storeLastLiterals()
2230 seqStorePtr->lit += lastLLSize; in ZSTD_storeLastLiterals()
2274 size_t lastLLSize; in ZSTD_buildSeqStore() local
2282 lastLLSize = in ZSTD_buildSeqStore()
2298 lastLLSize = in ZSTD_buildSeqStore()
2306lastLLSize = blockCompressor(ms, &zc->seqStore, zc->blockState.nextCBlock->rep, src, srcSize); in ZSTD_buildSeqStore()
2308 { const BYTE* const lastLiterals = (const BYTE*)src + srcSize - lastLLSize; in ZSTD_buildSeqStore()
2309 ZSTD_storeLastLiterals(&zc->seqStore, lastLiterals, lastLLSize); in ZSTD_buildSeqStore()