Searched refs:repIndex (Results 1 – 9 of 9) sorted by relevance
1548 const U32 repIndex = (U32)(ip - base) + 1 - offset_1; in ZSTD_compressBlock_lazy_generic() local1550 && 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() local1593 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 …]
431 const U32 repIndex = curr + 1 - offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic() local432 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() local590 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 …]
319 const U32 repIndex = curr + 1 - offset_1; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() local320 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() local577 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 …]
615 U32 const repIndex = curr - repOffset; in ZSTD_insertBtAndGetAllMatches() local622 …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()
1589 const U32 repIndex = (U32)(ip - base) + 1 - offset_1; in ZSTD_compressBlock_lazy_generic() local1591 && repIndex < prefixLowestIndex) ? in ZSTD_compressBlock_lazy_generic()1592 dictBase + (repIndex - dictIndexDelta) : in ZSTD_compressBlock_lazy_generic()1593 base + repIndex; in ZSTD_compressBlock_lazy_generic()1594 if ((ZSTD_index_overlap_check(prefixLowestIndex, repIndex)) in ZSTD_compressBlock_lazy_generic()1596 const BYTE* repMatchEnd = repIndex < prefixLowestIndex ? dictEnd : iend; in ZSTD_compressBlock_lazy_generic()1642 const U32 repIndex = (U32)(ip - base) - offset_1; in ZSTD_compressBlock_lazy_generic() local1643 const BYTE* repMatch = repIndex < prefixLowestIndex ? in ZSTD_compressBlock_lazy_generic()1644 dictBase + (repIndex - dictIndexDelta) : in ZSTD_compressBlock_lazy_generic()1645 base + repIndex; in ZSTD_compressBlock_lazy_generic()[all …]
560 const U32 repIndex = curr + 1 - offset_1; in ZSTD_compressBlock_fast_dictMatchState_generic() local561 const BYTE* repMatch = (repIndex < prefixStartIndex) ? in ZSTD_compressBlock_fast_dictMatchState_generic()562 dictBase + (repIndex - dictIndexDelta) : in ZSTD_compressBlock_fast_dictMatchState_generic()563 base + repIndex; in ZSTD_compressBlock_fast_dictMatchState_generic()568 if ((ZSTD_index_overlap_check(prefixStartIndex, repIndex)) in ZSTD_compressBlock_fast_dictMatchState_generic()570 const BYTE* const repMatchEnd = repIndex < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_fast_dictMatchState_generic()795 U32 const repIndex = current2 - offset_1; in ZSTD_compressBlock_fast_extDict_generic() local796 const BYTE* const repBase = repIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_fast_extDict_generic()798 if ( ((U32)(prefixStartIndex - repIndex) >= 4) /* intentional underflow */ in ZSTD_compressBlock_fast_extDict_generic()800 rval = MEM_read32(repBase + repIndex); in ZSTD_compressBlock_fast_extDict_generic()[all …]
401 const U32 repIndex = curr + 1 - offset_1; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() local402 const BYTE* repMatch = (repIndex < prefixLowestIndex) ? in ZSTD_compressBlock_doubleFast_dictMatchState_generic()403 dictBase + (repIndex - dictIndexDelta) : in ZSTD_compressBlock_doubleFast_dictMatchState_generic()404 base + repIndex; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()408 if ((ZSTD_index_overlap_check(prefixLowestIndex, repIndex)) in ZSTD_compressBlock_doubleFast_dictMatchState_generic()410 const BYTE* repMatchEnd = repIndex < prefixLowestIndex ? dictEnd : iend; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()657 const U32 repIndex = curr + 1 - offset_1; /* offset_1 expected <= curr +1 */ in ZSTD_compressBlock_doubleFast_extDict_generic() local658 const BYTE* const repBase = repIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()659 const BYTE* const repMatch = repBase + repIndex; in ZSTD_compressBlock_doubleFast_extDict_generic()663 if (((ZSTD_index_overlap_check(prefixStartIndex, repIndex)) in ZSTD_compressBlock_doubleFast_extDict_generic()[all …]
651 U32 const repIndex = curr - repOffset; in ZSTD_insertBtAndGetAllMatches() local658 …if ((repIndex >= windowLow) & (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(ip - repOffset… in ZSTD_insertBtAndGetAllMatches()663 dmsBase + repIndex - dmsIndexDelta : in ZSTD_insertBtAndGetAllMatches()664 dictBase + repIndex; in ZSTD_insertBtAndGetAllMatches()668 & (ZSTD_index_overlap_check(dictLimit, repIndex)) ) in ZSTD_insertBtAndGetAllMatches()674 & (ZSTD_index_overlap_check(dictLimit, repIndex)) ) in ZSTD_insertBtAndGetAllMatches()
1430 MEM_STATIC int ZSTD_index_overlap_check(const U32 prefixLowestIndex, const U32 repIndex) { in ZSTD_index_overlap_check() argument1431 return ((U32)((prefixLowestIndex-1) - repIndex) >= 3); in ZSTD_index_overlap_check()