Home
last modified time | relevance | path

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

/src/sys/contrib/zstd/lib/compress/
H A Dzstd_fast.c493 U32 const repIndex2 = current2 - offset_2; in ZSTD_compressBlock_fast_dictMatchState_generic() local
494 const BYTE* repMatch2 = repIndex2 < prefixStartIndex ? in ZSTD_compressBlock_fast_dictMatchState_generic()
495 dictBase - dictIndexDelta + repIndex2 : in ZSTD_compressBlock_fast_dictMatchState_generic()
496 base + repIndex2; in ZSTD_compressBlock_fast_dictMatchState_generic()
497 if ( ((U32)((prefixStartIndex-1) - (U32)repIndex2) >= 3 /* intentional overflow */) in ZSTD_compressBlock_fast_dictMatchState_generic()
499 const BYTE* const repEnd2 = repIndex2 < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_fast_dictMatchState_generic()
629 U32 const repIndex2 = current2 - offset_2; in ZSTD_compressBlock_fast_extDict_generic() local
630 …const BYTE* const repMatch2 = repIndex2 < prefixStartIndex ? dictBase + repIndex2 : base + repInde… in ZSTD_compressBlock_fast_extDict_generic()
631 …if ( (((U32)((prefixStartIndex-1) - repIndex2) >= 3) & (offset_2 <= curr - dictStartIndex)) /* in… in ZSTD_compressBlock_fast_extDict_generic()
633 const BYTE* const repEnd2 = repIndex2 < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_fast_extDict_generic()
H A Dzstd_double_fast.c442 U32 const repIndex2 = current2 - offset_2; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() local
443 const BYTE* repMatch2 = repIndex2 < prefixLowestIndex ? in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
444 dictBase + repIndex2 - dictIndexDelta : in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
445 base + repIndex2; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
446 if ( ((U32)((prefixLowestIndex-1) - (U32)repIndex2) >= 3 /* intentional overflow */) in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
448 const BYTE* const repEnd2 = repIndex2 < prefixLowestIndex ? dictEnd : iend; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
648 U32 const repIndex2 = current2 - offset_2; in ZSTD_compressBlock_doubleFast_extDict_generic() local
649 … const BYTE* repMatch2 = repIndex2 < prefixStartIndex ? dictBase + repIndex2 : base + repIndex2; in ZSTD_compressBlock_doubleFast_extDict_generic()
650 …if ( (((U32)((prefixStartIndex-1) - repIndex2) >= 3) /* intentional overflow : ensure repIndex2 … in ZSTD_compressBlock_doubleFast_extDict_generic()
653 const BYTE* const repEnd2 = repIndex2 < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_doubleFast_extDict_generic()
/src/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_fast.c648 U32 const repIndex2 = current2 - offset_2; in ZSTD_compressBlock_fast_dictMatchState_generic() local
649 const BYTE* repMatch2 = repIndex2 < prefixStartIndex ? in ZSTD_compressBlock_fast_dictMatchState_generic()
650 dictBase - dictIndexDelta + repIndex2 : in ZSTD_compressBlock_fast_dictMatchState_generic()
651 base + repIndex2; in ZSTD_compressBlock_fast_dictMatchState_generic()
652 if ( (ZSTD_index_overlap_check(prefixStartIndex, repIndex2)) in ZSTD_compressBlock_fast_dictMatchState_generic()
654 const BYTE* const repEnd2 = repIndex2 < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_fast_dictMatchState_generic()
944 U32 const repIndex2 = (U32)(ip0-base) - offset_2; in ZSTD_compressBlock_fast_extDict_generic() local
945 …const BYTE* const repMatch2 = repIndex2 < prefixStartIndex ? dictBase + repIndex2 : base + repInde… in ZSTD_compressBlock_fast_extDict_generic()
946 if ( ((ZSTD_index_overlap_check(prefixStartIndex, repIndex2)) & (offset_2 > 0)) in ZSTD_compressBlock_fast_extDict_generic()
948 const BYTE* const repEnd2 = repIndex2 < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_fast_extDict_generic()
H A Dzstd_double_fast.c521 U32 const repIndex2 = current2 - offset_2; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() local
522 const BYTE* repMatch2 = repIndex2 < prefixLowestIndex ? in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
523 dictBase + repIndex2 - dictIndexDelta : in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
524 base + repIndex2; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
525 if ( (ZSTD_index_overlap_check(prefixLowestIndex, repIndex2)) in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
527 const BYTE* const repEnd2 = repIndex2 < prefixLowestIndex ? dictEnd : iend; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
729 U32 const repIndex2 = current2 - offset_2; in ZSTD_compressBlock_doubleFast_extDict_generic() local
730 … const BYTE* repMatch2 = repIndex2 < prefixStartIndex ? dictBase + repIndex2 : base + repIndex2; in ZSTD_compressBlock_doubleFast_extDict_generic()
731 if ( ((ZSTD_index_overlap_check(prefixStartIndex, repIndex2)) in ZSTD_compressBlock_doubleFast_extDict_generic()
734 const BYTE* const repEnd2 = repIndex2 < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_doubleFast_extDict_generic()