Home
last modified time | relevance | path

Searched refs:dictStart (Results 1 – 13 of 13) sorted by relevance

/freebsd-head/sys/contrib/openzfs/module/zstd/lib/compress/
HDzstd_double_fast.c87 const BYTE* const dictStart = dictMode == ZSTD_dictMatchState ? in ZSTD_compressBlock_doubleFast_generic() local
98 const U32 dictAndPrefixLength = (U32)((ip - prefixLowest) + (dictEnd - dictStart)); in ZSTD_compressBlock_doubleFast_generic()
179 if (dictMatchL > dictStart && MEM_read64(dictMatchL) == MEM_read64(ip)) { in ZSTD_compressBlock_doubleFast_generic()
182 …while (((ip>anchor) & (dictMatchL>dictStart)) && (ip[-1] == dictMatchL[-1])) { ip--; dictMatchL--;… in ZSTD_compressBlock_doubleFast_generic()
197 if (match > dictStart && MEM_read32(match) == MEM_read32(ip)) { in ZSTD_compressBlock_doubleFast_generic()
229 if (dictMatchL3 > dictStart && MEM_read64(dictMatchL3) == MEM_read64(ip+1)) { in ZSTD_compressBlock_doubleFast_generic()
233 …while (((ip>anchor) & (dictMatchL3>dictStart)) && (ip[-1] == dictMatchL3[-1])) { ip--; dictMatchL3… in ZSTD_compressBlock_doubleFast_generic()
241 …while (((ip>anchor) & (match>dictStart)) && (ip[-1] == match[-1])) { ip--; match--; mLength++; } /… in ZSTD_compressBlock_doubleFast_generic()
383 const BYTE* const dictStart = dictBase + dictStartIndex; in ZSTD_compressBlock_doubleFast_extDict_generic() local
422 … const BYTE* const lowMatchPtr = matchLongIndex < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_doubleFast_extDict_generic()
[all …]
HDzstd_fast.c233 const BYTE* const dictStart = dictBase + dictStartIndex; in ZSTD_compressBlock_fast_dictMatchState_generic() local
236 const U32 dictAndPrefixLength = (U32)(ip - prefixStart + dictEnd - dictStart); in ZSTD_compressBlock_fast_dictMatchState_generic()
290 while (((ip>anchor) & (dictMatch>dictStart)) in ZSTD_compressBlock_fast_dictMatchState_generic()
393 const BYTE* const dictStart = dictBase + dictStartIndex; in ZSTD_compressBlock_fast_extDict_generic() local
438 … const BYTE* const lowMatchPtr = matchIndex < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_fast_extDict_generic()
HDzstd_ldm.c274 BYTE const* const dictStart = extDict ? dictBase + lowestIndex : NULL; in ZSTD_ldm_generateSequences_internal() local
331 cur->offset < dictLimit ? dictStart : lowPrefixPtr; in ZSTD_ldm_generateSequences_internal()
HDzstd_lazy.c946 const BYTE* const dictStart = dictBase + ms->window.lowLimit; in ZSTD_compressBlock_lazy_extDict_generic() local
1071 const BYTE* const mStart = (matchIndex < dictLimit) ? dictStart : prefixStart; in ZSTD_compressBlock_lazy_extDict_generic()
/freebsd-head/sys/contrib/zstd/lib/compress/
HDzstd_double_fast.c286 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 …]
HDzstd_fast.c397 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()
HDzstd_ldm.c335 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()
HDzstd_lazy.c1882 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-head/sys/contrib/zstd/lib/decompress/
HDzstd_decompress_block.c1682 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 …]
HDzstd_decompress.c1487 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-head/sys/contrib/openzfs/module/zfs/
HDlz4.c541 const BYTE* const dictStart, /* only if dict==usingExtDict */ in LZ4_decompress_generic() argument
554 const BYTE* const dictEnd = (dictStart == NULL) ? NULL : dictStart + dictSize; in LZ4_decompress_generic()
/freebsd-head/sys/contrib/openzfs/module/zstd/lib/decompress/
HDzstd_decompress_block.c1149 const BYTE* const dictStart = (const BYTE*) (dctx->virtualStart); in ZSTD_decompressSequencesLong_body() local
1186 …ences[(seqNb-ADVANCED_SEQS) & STORED_SEQS_MASK], &litPtr, litEnd, prefixStart, dictStart, dictEnd); in ZSTD_decompressSequencesLong_body()
1189 …uence(dctx, op, oend, sequences[(seqNb-ADVANCED_SEQS) & STORED_SEQS_MASK], prefixStart, dictStart); in ZSTD_decompressSequencesLong_body()
1202 …nce(op, oend, sequences[seqNb&STORED_SEQS_MASK], &litPtr, litEnd, prefixStart, dictStart, dictEnd); in ZSTD_decompressSequencesLong_body()
1205 …STD_assertValidSequence(dctx, op, oend, sequences[seqNb&STORED_SEQS_MASK], prefixStart, dictStart); in ZSTD_decompressSequencesLong_body()
HDzstd_decompress.c1200 const char* const dictStart = (const char*)ZSTD_DDict_dictContent(ddict); in ZSTD_decompressBegin_usingDDict() local
1202 const void* const dictEnd = dictStart + dictSize; in ZSTD_decompressBegin_usingDDict()