/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_double_fast.c | 86 const BYTE* const dictStart = dictMode == ZSTD_dictMatchState ? in ZSTD_compressBlock_doubleFast_generic() local 97 const U32 dictAndPrefixLength = (U32)((ip - prefixLowest) + (dictEnd - dictStart)); in ZSTD_compressBlock_doubleFast_generic() 178 if (dictMatchL > dictStart && MEM_read64(dictMatchL) == MEM_read64(ip)) { in ZSTD_compressBlock_doubleFast_generic() 181 …while (((ip>anchor) & (dictMatchL>dictStart)) && (ip[-1] == dictMatchL[-1])) { ip--; dictMatchL--;… in ZSTD_compressBlock_doubleFast_generic() 196 if (match > dictStart && MEM_read32(match) == MEM_read32(ip)) { in ZSTD_compressBlock_doubleFast_generic() 228 if (dictMatchL3 > dictStart && MEM_read64(dictMatchL3) == MEM_read64(ip+1)) { in ZSTD_compressBlock_doubleFast_generic() 232 …while (((ip>anchor) & (dictMatchL3>dictStart)) && (ip[-1] == dictMatchL3[-1])) { ip--; dictMatchL3… in ZSTD_compressBlock_doubleFast_generic() 240 …while (((ip>anchor) & (match>dictStart)) && (ip[-1] == match[-1])) { ip--; match--; mLength++; } /… in ZSTD_compressBlock_doubleFast_generic() 382 const BYTE* const dictStart = dictBase + dictStartIndex; in ZSTD_compressBlock_doubleFast_extDict_generic() local 421 … const BYTE* const lowMatchPtr = matchLongIndex < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_doubleFast_extDict_generic() [all …]
|
H A D | zstd_fast.c | 232 const BYTE* const dictStart = dictBase + dictStartIndex; in ZSTD_compressBlock_fast_dictMatchState_generic() local 235 const U32 dictAndPrefixLength = (U32)(ip - prefixStart + dictEnd - dictStart); in ZSTD_compressBlock_fast_dictMatchState_generic() 289 while (((ip>anchor) & (dictMatch>dictStart)) in ZSTD_compressBlock_fast_dictMatchState_generic() 392 const BYTE* const dictStart = dictBase + dictStartIndex; in ZSTD_compressBlock_fast_extDict_generic() local 437 … const BYTE* const lowMatchPtr = matchIndex < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_fast_extDict_generic()
|
H A D | zstd_ldm.c | 273 BYTE const* const dictStart = extDict ? dictBase + lowestIndex : NULL; in ZSTD_ldm_generateSequences_internal() local 330 cur->offset < dictLimit ? dictStart : lowPrefixPtr; in ZSTD_ldm_generateSequences_internal()
|
H A D | zstd_lazy.c | 945 const BYTE* const dictStart = dictBase + ms->window.lowLimit; in ZSTD_compressBlock_lazy_extDict_generic() local 1070 const BYTE* const mStart = (matchIndex < dictLimit) ? dictStart : prefixStart; in ZSTD_compressBlock_lazy_extDict_generic()
|
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_double_fast.c | 286 const BYTE* const dictStart = dictBase + dictStartIndex; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() local 291 const U32 dictAndPrefixLength = (U32)((ip - prefixLowest) + (dictEnd - dictStart)); in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 349 if (dictMatchL > dictStart && MEM_read64(dictMatchL) == MEM_read64(ip)) { in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 352 …while (((ip>anchor) & (dictMatchL>dictStart)) && (ip[-1] == dictMatchL[-1])) { ip--; dictMatchL--;… in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 367 if (match > dictStart && MEM_read32(match) == MEM_read32(ip)) { in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 399 if (dictMatchL3 > dictStart && MEM_read64(dictMatchL3) == MEM_read64(ip+1)) { in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 403 …while (((ip>anchor) & (dictMatchL3>dictStart)) && (ip[-1] == dictMatchL3[-1])) { ip--; dictMatchL3… in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 411 …while (((ip>anchor) & (match>dictStart)) && (ip[-1] == match[-1])) { ip--; match--; mLength++; } /… in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 553 const BYTE* const dictStart = dictBase + dictStartIndex; in ZSTD_compressBlock_doubleFast_extDict_generic() local 592 … const BYTE* const lowMatchPtr = matchLongIndex < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_doubleFast_extDict_generic() [all …]
|
H A D | zstd_fast.c | 397 const BYTE* const dictStart = dictBase + dictStartIndex; in ZSTD_compressBlock_fast_dictMatchState_generic() local 400 const U32 dictAndPrefixLength = (U32)(ip - prefixStart + dictEnd - dictStart); in ZSTD_compressBlock_fast_dictMatchState_generic() 456 while (((ip>anchor) & (dictMatch>dictStart)) in ZSTD_compressBlock_fast_dictMatchState_generic() 565 const BYTE* const dictStart = dictBase + dictStartIndex; in ZSTD_compressBlock_fast_extDict_generic() local 612 … const BYTE* const lowMatchPtr = matchIndex < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_fast_extDict_generic()
|
H A D | zstd_ldm.c | 335 BYTE const* const dictStart = extDict ? dictBase + lowestIndex : NULL; in ZSTD_ldm_generateSequences_internal() local 416 cur->offset < dictLimit ? dictStart : lowPrefixPtr; in ZSTD_ldm_generateSequences_internal() 423 split, anchor, pMatch, lowMatchPtr, dictStart, dictEnd); in ZSTD_ldm_generateSequences_internal()
|
H A D | zstd_lazy.c | 1882 const BYTE* const dictStart = dictBase + ms->window.lowLimit; in ZSTD_compressBlock_lazy_extDict_generic() local 2009 const BYTE* const mStart = (matchIndex < dictLimit) ? dictStart : prefixStart; in ZSTD_compressBlock_lazy_extDict_generic()
|
/freebsd/sys/contrib/zstd/lib/decompress/ |
H A D | zstd_decompress_block.c | 1682 const BYTE* const dictStart = (const BYTE*) (dctx->virtualStart); local 1735 …eqNb - ADVANCED_SEQS) & STORED_SEQS_MASK], &litPtr, litBufferEnd, prefixStart, dictStart, dictEnd); 1738 …nce(dctx, op, oend, sequences[(seqNb - ADVANCED_SEQS) & STORED_SEQS_MASK], prefixStart, dictStart); 1750 …qNb - ADVANCED_SEQS) & STORED_SEQS_MASK], &litPtr, litBufferEnd, prefixStart, dictStart, dictEnd) : 1751 …eqNb - ADVANCED_SEQS) & STORED_SEQS_MASK], &litPtr, litBufferEnd, prefixStart, dictStart, dictEnd); 1754 …nce(dctx, op, oend, sequences[(seqNb - ADVANCED_SEQS) & STORED_SEQS_MASK], prefixStart, dictStart); 1783 …e = ZSTD_execSequence(op, oend, *sequence, &litPtr, litBufferEnd, prefixStart, dictStart, dictEnd); 1786 …STD_assertValidSequence(dctx, op, oend, sequences[seqNb&STORED_SEQS_MASK], prefixStart, dictStart); 1795 …tLength - WILDCOPY_OVERLENGTH, *sequence, &litPtr, litBufferEnd, prefixStart, dictStart, dictEnd) : 1796 … ZSTD_execSequence(op, oend, *sequence, &litPtr, litBufferEnd, prefixStart, dictStart, dictEnd); [all …]
|
H A D | zstd_decompress.c | 1487 const char* const dictStart = (const char*)ZSTD_DDict_dictContent(ddict); in ZSTD_decompressBegin_usingDDict() local 1489 const void* const dictEnd = dictStart + dictSize; in ZSTD_decompressBegin_usingDDict()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | lz4.c | 540 const BYTE* const dictStart, /* only if dict==usingExtDict */ in LZ4_decompress_generic() argument 553 const BYTE* const dictEnd = (dictStart == NULL) ? NULL : dictStart + dictSize; in LZ4_decompress_generic()
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/ |
H A D | zstd_decompress_block.c | 1148 const BYTE* const dictStart = (const BYTE*) (dctx->virtualStart); in ZSTD_decompressSequencesLong_body() local 1185 …ences[(seqNb-ADVANCED_SEQS) & STORED_SEQS_MASK], &litPtr, litEnd, prefixStart, dictStart, dictEnd); in ZSTD_decompressSequencesLong_body() 1188 …uence(dctx, op, oend, sequences[(seqNb-ADVANCED_SEQS) & STORED_SEQS_MASK], prefixStart, dictStart); in ZSTD_decompressSequencesLong_body() 1201 …nce(op, oend, sequences[seqNb&STORED_SEQS_MASK], &litPtr, litEnd, prefixStart, dictStart, dictEnd); in ZSTD_decompressSequencesLong_body() 1204 …STD_assertValidSequence(dctx, op, oend, sequences[seqNb&STORED_SEQS_MASK], prefixStart, dictStart); in ZSTD_decompressSequencesLong_body()
|
H A D | zstd_decompress.c | 1199 const char* const dictStart = (const char*)ZSTD_DDict_dictContent(ddict); in ZSTD_decompressBegin_usingDDict() local 1201 const void* const dictEnd = dictStart + dictSize; in ZSTD_decompressBegin_usingDDict()
|