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

/freebsd-current/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_
1813 size_t const lastLLSize = litBufferEnd - litPtr; local
1822 { size_t const lastLLSize = litBufferEnd - litPtr; local
[all...]
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_decompress_block.c1091 { size_t const lastLLSize = litEnd - litPtr; local
1092 RETURN_ERROR_IF(lastLLSize > (size_t)(oend-op), dstSize_tooSmall, "");
1094 memcpy(op, litPtr, lastLLSize);
1095 op += lastLLSize;
1215 { size_t const lastLLSize = litEnd - litPtr; local
1216 RETURN_ERROR_IF(lastLLSize > (size_t)(oend-op), dstSize_tooSmall, "");
1218 memcpy(op, litPtr, lastLLSize);
1219 op += lastLLSize;
/freebsd-current/sys/contrib/zstd/lib/compress/
H A Dzstd_ldm.c678 size_t lastLLSize; local
680 lastLLSize = blockCompressor(ms, seqStore, rep, src, srcSize);
682 return lastLLSize;
H A Dzstd_compress.c2799 const BYTE* anchor, size_t lastLLSize)
2801 ZSTD_memcpy(seqStorePtr->lit, anchor, lastLLSize);
2802 seqStorePtr->lit += lastLLSize;
2850 size_t lastLLSize; local
2858 lastLLSize =
2875 lastLLSize =
2887 lastLLSize = blockCompressor(ms, &zc->seqStore, zc->blockState.nextCBlock->rep, src, srcSize);
2889 { const BYTE* const lastLiterals = (const BYTE*)src + srcSize - lastLLSize;
2890 ZSTD_storeLastLiterals(&zc->seqStore, lastLiterals, lastLLSize);
2902 size_t lastLLSize; local
2798 ZSTD_storeLastLiterals(seqStore_t* seqStorePtr, const BYTE* anchor, size_t lastLLSize) argument
5970 U32 lastLLSize = (U32)(iend - ip); local
[all...]
/freebsd-current/sys/contrib/zstd/lib/legacy/
H A Dzstd_v01.c1906 size_t lastLLSize = litEnd - litPtr; local
1907 if (op+lastLLSize > oend) return ERROR(dstSize_tooSmall);
1908 if (lastLLSize > 0) {
1909 if (op != litPtr) memmove(op, litPtr, lastLLSize);
1910 op += lastLLSize;
H A Dzstd_v03.c2872 size_t lastLLSize = litEnd - litPtr; local
2874 if (op+lastLLSize > oend) return ERROR(dstSize_tooSmall);
2875 if (lastLLSize > 0) {
2876 if (op != litPtr) memmove(op, litPtr, lastLLSize);
2877 op += lastLLSize;
H A Dzstd_v06.c3501 { size_t const lastLLSize = litEnd - litPtr; local
3503 if (op+lastLLSize > oend) return ERROR(dstSize_tooSmall);
3504 if (lastLLSize > 0) {
3505 memcpy(op, litPtr, lastLLSize);
3506 op += lastLLSize;
H A Dzstd_v05.c3362 size_t lastLLSize = litEnd - litPtr; local
3364 if (op+lastLLSize > oend) return ERROR(dstSize_tooSmall);
3365 if (lastLLSize > 0) {
3366 memcpy(op, litPtr, lastLLSize);
3367 op += lastLLSize;
H A Dzstd_v04.c3010 size_t lastLLSize = litEnd - litPtr; local
3012 if (op+lastLLSize > oend) return ERROR(dstSize_tooSmall);
3013 if (lastLLSize > 0) {
3014 if (op != litPtr) memcpy(op, litPtr, lastLLSize);
3015 op += lastLLSize;
H A Dzstd_v07.c3716 { size_t const lastLLSize = litEnd - litPtr; local
3718 if (lastLLSize > (size_t)(oend-op)) return ERROR(dstSize_tooSmall);
3719 if (lastLLSize > 0) {
3720 memcpy(op, litPtr, lastLLSize);
3721 op += lastLLSize;
H A Dzstd_v02.c3231 size_t lastLLSize = litEnd - litPtr; local
3233 if (op+lastLLSize > oend) return ERROR(dstSize_tooSmall);
3234 if (lastLLSize > 0) {
3235 if (op != litPtr) memmove(op, litPtr, lastLLSize);
3236 op += lastLLSize;
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress.c2227 const BYTE* anchor, size_t lastLLSize)
2229 memcpy(seqStorePtr->lit, anchor, lastLLSize);
2230 seqStorePtr->lit += lastLLSize;
2274 size_t lastLLSize; local
2282 lastLLSize =
2298 lastLLSize =
2306 lastLLSize = blockCompressor(ms, &zc->seqStore, zc->blockState.nextCBlock->rep, src, srcSize);
2308 { const BYTE* const lastLiterals = (const BYTE*)src + srcSize - lastLLSize;
2309 ZSTD_storeLastLiterals(&zc->seqStore, lastLiterals, lastLLSize);
2226 ZSTD_storeLastLiterals(seqStore_t* seqStorePtr, const BYTE* anchor, size_t lastLLSize) argument

Completed in 425 milliseconds