Home
last modified time | relevance | path

Searched refs:repIndex (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_lazy.c697 const U32 repIndex = (U32)(ip - base) + 1 - offset_1; in ZSTD_compressBlock_lazy_generic() local
699 && repIndex < prefixLowestIndex) ? in ZSTD_compressBlock_lazy_generic()
700 dictBase + (repIndex - dictIndexDelta) : in ZSTD_compressBlock_lazy_generic()
701 base + repIndex; in ZSTD_compressBlock_lazy_generic()
702 if (((U32)((prefixLowestIndex-1) - repIndex) >= 3 /* intentional underflow */) in ZSTD_compressBlock_lazy_generic()
704 const BYTE* repMatchEnd = repIndex < prefixLowestIndex ? dictEnd : iend; in ZSTD_compressBlock_lazy_generic()
740 const U32 repIndex = (U32)(ip - base) - offset_1; in ZSTD_compressBlock_lazy_generic() local
741 const BYTE* repMatch = repIndex < prefixLowestIndex ? in ZSTD_compressBlock_lazy_generic()
742 dictBase + (repIndex - dictIndexDelta) : in ZSTD_compressBlock_lazy_generic()
743 base + repIndex; in ZSTD_compressBlock_lazy_generic()
[all …]
H A Dzstd_fast.c264 const U32 repIndex = current + 1 - offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic() local
265 const BYTE* repMatch = (repIndex < prefixStartIndex) ? in ZSTD_compressBlock_fast_dictMatchState_generic()
266 dictBase + (repIndex - dictIndexDelta) : in ZSTD_compressBlock_fast_dictMatchState_generic()
267 base + repIndex; in ZSTD_compressBlock_fast_dictMatchState_generic()
270 …if ( ((U32)((prefixStartIndex-1) - repIndex) >= 3) /* intentional underflow : ensure repIndex isn'… in ZSTD_compressBlock_fast_dictMatchState_generic()
272 const BYTE* const repMatchEnd = repIndex < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_fast_dictMatchState_generic()
414 const U32 repIndex = current + 1 - offset_1; in ZSTD_compressBlock_fast_extDict_generic() local
415 const BYTE* const repBase = repIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_fast_extDict_generic()
416 const BYTE* const repMatch = repBase + repIndex; in ZSTD_compressBlock_fast_extDict_generic()
420 if ( ( ((U32)((prefixStartIndex-1) - repIndex) >= 3) /* intentional underflow */ in ZSTD_compressBlock_fast_extDict_generic()
[all …]
H A Dzstd_double_fast.c137 const U32 repIndex = current + 1 - offset_1; in ZSTD_compressBlock_doubleFast_generic() local
139 && repIndex < prefixLowestIndex) ? in ZSTD_compressBlock_doubleFast_generic()
140 dictBase + (repIndex - dictIndexDelta) : in ZSTD_compressBlock_doubleFast_generic()
141 base + repIndex; in ZSTD_compressBlock_doubleFast_generic()
146 && ((U32)((prefixLowestIndex-1) - repIndex) >= 3 /* intentional underflow */) in ZSTD_compressBlock_doubleFast_generic()
148 const BYTE* repMatchEnd = repIndex < prefixLowestIndex ? dictEnd : iend; in ZSTD_compressBlock_doubleFast_generic()
405 const U32 repIndex = current + 1 - offset_1; /* offset_1 expected <= current +1 */ in ZSTD_compressBlock_doubleFast_extDict_generic() local
406 const BYTE* const repBase = repIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()
407 const BYTE* const repMatch = repBase + repIndex; in ZSTD_compressBlock_doubleFast_extDict_generic()
411 …if ((((U32)((prefixStartIndex-1) - repIndex) >= 3) /* intentional underflow : ensure repIndex does… in ZSTD_compressBlock_doubleFast_extDict_generic()
[all …]
H A Dzstd_opt.c568 U32 const repIndex = current - repOffset; in ZSTD_insertBtAndGetAllMatches() local
575 …if ((repIndex >= windowLow) & (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(ip - repOffset… in ZSTD_insertBtAndGetAllMatches()
580 dmsBase + repIndex - dmsIndexDelta : in ZSTD_insertBtAndGetAllMatches()
581 dictBase + repIndex; in ZSTD_insertBtAndGetAllMatches()
585 …& (((U32)((dictLimit-1) - repIndex) >= 3) ) /* intentional overflow : do not test positions overla… in ZSTD_insertBtAndGetAllMatches()
591 …& ((U32)((dictLimit-1) - repIndex) >= 3) ) /* intentional overflow : do not test positions overlap… in ZSTD_insertBtAndGetAllMatches()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_lazy.c1548 const U32 repIndex = (U32)(ip - base) + 1 - offset_1; in ZSTD_compressBlock_lazy_generic() local
1550 && repIndex < prefixLowestIndex) ? in ZSTD_compressBlock_lazy_generic()
1551 dictBase + (repIndex - dictIndexDelta) : in ZSTD_compressBlock_lazy_generic()
1552 base + repIndex; in ZSTD_compressBlock_lazy_generic()
1553 if (((U32)((prefixLowestIndex-1) - repIndex) >= 3 /* intentional underflow */) in ZSTD_compressBlock_lazy_generic()
1555 const BYTE* repMatchEnd = repIndex < prefixLowestIndex ? dictEnd : iend; in ZSTD_compressBlock_lazy_generic()
1592 const U32 repIndex = (U32)(ip - base) - offset_1; in ZSTD_compressBlock_lazy_generic() local
1593 const BYTE* repMatch = repIndex < prefixLowestIndex ? in ZSTD_compressBlock_lazy_generic()
1594 dictBase + (repIndex - dictIndexDelta) : in ZSTD_compressBlock_lazy_generic()
1595 base + repIndex; in ZSTD_compressBlock_lazy_generic()
[all …]
H A Dzstd_fast.c431 const U32 repIndex = curr + 1 - offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic() local
432 const BYTE* repMatch = (repIndex < prefixStartIndex) ? in ZSTD_compressBlock_fast_dictMatchState_generic()
433 dictBase + (repIndex - dictIndexDelta) : in ZSTD_compressBlock_fast_dictMatchState_generic()
434 base + repIndex; in ZSTD_compressBlock_fast_dictMatchState_generic()
437 …if ( ((U32)((prefixStartIndex-1) - repIndex) >= 3) /* intentional underflow : ensure repIndex isn'… in ZSTD_compressBlock_fast_dictMatchState_generic()
439 const BYTE* const repMatchEnd = repIndex < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_fast_dictMatchState_generic()
589 const U32 repIndex = curr + 1 - offset_1; in ZSTD_compressBlock_fast_extDict_generic() local
590 const BYTE* const repBase = repIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_fast_extDict_generic()
591 const BYTE* const repMatch = repBase + repIndex; in ZSTD_compressBlock_fast_extDict_generic()
595 if ( ( ((U32)((prefixStartIndex-1) - repIndex) >= 3) /* intentional underflow */ in ZSTD_compressBlock_fast_extDict_generic()
[all …]
H A Dzstd_double_fast.c319 const U32 repIndex = curr + 1 - offset_1; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() local
320 const BYTE* repMatch = (repIndex < prefixLowestIndex) ? in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
321 dictBase + (repIndex - dictIndexDelta) : in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
322 base + repIndex; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
326 if (((U32)((prefixLowestIndex-1) - repIndex) >= 3 /* intentional underflow */) in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
328 const BYTE* repMatchEnd = repIndex < prefixLowestIndex ? dictEnd : iend; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
576 const U32 repIndex = curr + 1 - offset_1; /* offset_1 expected <= curr +1 */ in ZSTD_compressBlock_doubleFast_extDict_generic() local
577 const BYTE* const repBase = repIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()
578 const BYTE* const repMatch = repBase + repIndex; in ZSTD_compressBlock_doubleFast_extDict_generic()
582 …if ((((U32)((prefixStartIndex-1) - repIndex) >= 3) /* intentional underflow : ensure repIndex does… in ZSTD_compressBlock_doubleFast_extDict_generic()
[all …]
H A Dzstd_opt.c615 U32 const repIndex = curr - repOffset; in ZSTD_insertBtAndGetAllMatches() local
622 …if ((repIndex >= windowLow) & (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(ip - repOffset… in ZSTD_insertBtAndGetAllMatches()
627 dmsBase + repIndex - dmsIndexDelta : in ZSTD_insertBtAndGetAllMatches()
628 dictBase + repIndex; in ZSTD_insertBtAndGetAllMatches()
632 …& (((U32)((dictLimit-1) - repIndex) >= 3) ) /* intentional overflow : do not test positions overla… in ZSTD_insertBtAndGetAllMatches()
638 …& ((U32)((dictLimit-1) - repIndex) >= 3) ) /* intentional overflow : do not test positions overlap… in ZSTD_insertBtAndGetAllMatches()