Home
last modified time | relevance | path

Searched refs:dictStartIndex (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_double_fast.c83 const U32 dictStartIndex = dictMode == ZSTD_dictMatchState ? in ZSTD_compressBlock_doubleFast_generic() local
88 dictBase + dictStartIndex : NULL; in ZSTD_compressBlock_doubleFast_generic()
378 const U32 dictStartIndex = lowLimit; in ZSTD_compressBlock_doubleFast_extDict_generic() local
383 const BYTE* const dictStart = dictBase + dictStartIndex; in ZSTD_compressBlock_doubleFast_extDict_generic()
390 if (prefixStartIndex == dictStartIndex) in ZSTD_compressBlock_doubleFast_extDict_generic()
413 & (offset_1 < current+1 - dictStartIndex)) /* note: we are searching at current+1 */ in ZSTD_compressBlock_doubleFast_extDict_generic()
420 if ((matchLongIndex > dictStartIndex) && (MEM_read64(matchLong) == MEM_read64(ip))) { in ZSTD_compressBlock_doubleFast_extDict_generic()
431 } else if ((matchIndex > dictStartIndex) && (MEM_read32(match) == MEM_read32(ip))) { in ZSTD_compressBlock_doubleFast_extDict_generic()
438 if ( (matchIndex3 > dictStartIndex) && (MEM_read64(match3) == MEM_read64(ip+1)) ) { in ZSTD_compressBlock_doubleFast_extDict_generic()
481 & (offset_2 < current2 - dictStartIndex)) in ZSTD_compressBlock_doubleFast_extDict_generic()
H A Dzstd_fast.c231 const U32 dictStartIndex = dms->window.dictLimit; in ZSTD_compressBlock_fast_dictMatchState_generic() local
233 const BYTE* const dictStart = dictBase + dictStartIndex; in ZSTD_compressBlock_fast_dictMatchState_generic()
281 if (dictMatchIndex <= dictStartIndex || in ZSTD_compressBlock_fast_dictMatchState_generic()
392 const U32 dictStartIndex = lowLimit; in ZSTD_compressBlock_fast_extDict_generic() local
393 const BYTE* const dictStart = dictBase + dictStartIndex; in ZSTD_compressBlock_fast_extDict_generic()
405 if (prefixStartIndex == dictStartIndex) in ZSTD_compressBlock_fast_extDict_generic()
422 & (offset_1 < current+1 - dictStartIndex) ) /* note: we are searching at current+1 */ in ZSTD_compressBlock_fast_extDict_generic()
431 if ( (matchIndex < dictStartIndex) || in ZSTD_compressBlock_fast_extDict_generic()
457 …U32)((prefixStartIndex-1) - repIndex2) >= 3) & (offset_2 < current - dictStartIndex)) /* intentio… in ZSTD_compressBlock_fast_extDict_generic()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_fast.c395 const U32 dictStartIndex = dms->window.dictLimit; in ZSTD_compressBlock_fast_dictMatchState_generic() local
397 const BYTE* const dictStart = dictBase + dictStartIndex; in ZSTD_compressBlock_fast_dictMatchState_generic()
447 if (dictMatchIndex <= dictStartIndex || in ZSTD_compressBlock_fast_dictMatchState_generic()
564 const U32 dictStartIndex = lowLimit; in ZSTD_compressBlock_fast_extDict_generic() local
565 const BYTE* const dictStart = dictBase + dictStartIndex; in ZSTD_compressBlock_fast_extDict_generic()
579 if (prefixStartIndex == dictStartIndex) in ZSTD_compressBlock_fast_extDict_generic()
596 & (offset_1 <= curr+1 - dictStartIndex) ) /* note: we are searching at curr+1 */ in ZSTD_compressBlock_fast_extDict_generic()
605 if ( (matchIndex < dictStartIndex) || in ZSTD_compressBlock_fast_extDict_generic()
631 …((U32)((prefixStartIndex-1) - repIndex2) >= 3) & (offset_2 <= curr - dictStartIndex)) /* intentio… in ZSTD_compressBlock_fast_extDict_generic()
H A Dzstd_double_fast.c284 const U32 dictStartIndex = dms->window.dictLimit; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() local
286 const BYTE* const dictStart = dictBase + dictStartIndex; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
548 const U32 dictStartIndex = lowLimit; in ZSTD_compressBlock_doubleFast_extDict_generic() local
553 const BYTE* const dictStart = dictBase + dictStartIndex; in ZSTD_compressBlock_doubleFast_extDict_generic()
560 if (prefixStartIndex == dictStartIndex) in ZSTD_compressBlock_doubleFast_extDict_generic()
583 & (offset_1 <= curr+1 - dictStartIndex)) /* note: we are searching at curr+1 */ in ZSTD_compressBlock_doubleFast_extDict_generic()
590 if ((matchLongIndex > dictStartIndex) && (MEM_read64(matchLong) == MEM_read64(ip))) { in ZSTD_compressBlock_doubleFast_extDict_generic()
601 } else if ((matchIndex > dictStartIndex) && (MEM_read32(match) == MEM_read32(ip))) { in ZSTD_compressBlock_doubleFast_extDict_generic()
608 if ( (matchIndex3 > dictStartIndex) && (MEM_read64(match3) == MEM_read64(ip+1)) ) { in ZSTD_compressBlock_doubleFast_extDict_generic()
651 & (offset_2 <= current2 - dictStartIndex)) in ZSTD_compressBlock_doubleFast_extDict_generic()