Home
last modified time | relevance | path

Searched refs:repIndex (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_lazy.c1546 const U32 repIndex = (U32)(ip - base) + 1 - offset_1; in ZSTD_compressBlock_lazy_generic() local
1548 && repIndex < prefixLowestIndex) ? in ZSTD_compressBlock_lazy_generic()
1549 dictBase + (repIndex - dictIndexDelta) : in ZSTD_compressBlock_lazy_generic()
1550 base + repIndex; in ZSTD_compressBlock_lazy_generic()
1551 if (((U32)((prefixLowestIndex-1) - repIndex) >= 3 /* intentional underflow */) in ZSTD_compressBlock_lazy_generic()
1553 const BYTE* repMatchEnd = repIndex < prefixLowestIndex ? dictEnd : iend; in ZSTD_compressBlock_lazy_generic()
1590 const U32 repIndex = (U32)(ip - base) - offset_1; in ZSTD_compressBlock_lazy_generic() local
1591 const BYTE* repMatch = repIndex < prefixLowestIndex ? in ZSTD_compressBlock_lazy_generic()
1592 dictBase + (repIndex - dictIndexDelta) : in ZSTD_compressBlock_lazy_generic()
1593 base + repIndex; in ZSTD_compressBlock_lazy_generic()
1626 const U32 repIndex = (U32)(ip - base) - offset_1; ZSTD_compressBlock_lazy_generic() local
1681 U32 const repIndex = current2 - offset_2; ZSTD_compressBlock_lazy_generic() local
1912 const U32 repIndex = (U32)(curr+1 - offset_1); ZSTD_compressBlock_lazy_extDict_generic() local
1944 const U32 repIndex = (U32)(curr - offset_1); ZSTD_compressBlock_lazy_extDict_generic() local
1976 const U32 repIndex = (U32)(curr - offset_1); ZSTD_compressBlock_lazy_extDict_generic() local
2023 const U32 repIndex = repCurrent - offset_2; ZSTD_compressBlock_lazy_extDict_generic() local
[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't overlapping dict + prefix */ 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()
[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) > in ZSTD_compressBlock_doubleFast_extDict_generic()
[all...]
H A Dzstd_opt.c615 U32 const repIndex = curr - repOffset; in ZSTD_insertBtAndGetAllMatches() local
618 if (repOffset-1 /* intentional overflow, discards 0 and -1 */ < curr-dictLimit) { /* equivalent to `curr > repIndex >= dictLimit` */ in ZSTD_insertBtAndGetAllMatches()
622 if ((repIndex >= windowLow) & (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(ip - repOffset, minMatch))) { in ZSTD_insertBtAndGetAllMatches()
625 } else { /* repIndex < dictLimit || repIndex >= curr */ in ZSTD_insertBtAndGetAllMatches()
627 dmsBase + repIndex - dmsIndexDelta : in ZSTD_insertBtAndGetAllMatches()
628 dictBase + repIndex; in ZSTD_insertBtAndGetAllMatches()
631 && ( ((repOffset-1) /*intentional overflow*/ < curr - windowLow) /* equivalent to `curr > repIndex >= windowLow` */ in ZSTD_insertBtAndGetAllMatches()
632 & (((U32)((dictLimit-1) - repIndex) >= 3) ) /* intentional overflow : do not test positions overlapping 2 memory segments */) in ZSTD_insertBtAndGetAllMatches()
637 && ( ((repOffset-1) /*intentional overflow*/ < curr - (dmsLowLimit + dmsIndexDelta)) /* equivalent to `curr > repIndex > in ZSTD_insertBtAndGetAllMatches()
[all...]
/kernel/linux/linux-5.10/lib/zstd/
H A Dcompress.c1142 const U32 repIndex = curr + 1 - offset_1; /* offset_1 expected <= curr +1 */ in ZSTD_compressBlock_fast_extDict_generic() local
1143 const BYTE *repBase = repIndex < dictLimit ? dictBase : base; in ZSTD_compressBlock_fast_extDict_generic()
1144 const BYTE *repMatch = repBase + repIndex; in ZSTD_compressBlock_fast_extDict_generic()
1148 if ((((U32)((dictLimit - 1) - repIndex) >= 3) /* intentional underflow */ & (repIndex > lowestIndex)) && in ZSTD_compressBlock_fast_extDict_generic()
1150 const BYTE *repMatchEnd = repIndex < dictLimit ? dictEnd : iend; in ZSTD_compressBlock_fast_extDict_generic()
1429 const U32 repIndex = curr + 1 - offset_1; /* offset_1 expected <= curr +1 */ in ZSTD_compressBlock_doubleFast_extDict_generic() local
1430 const BYTE *repBase = repIndex < dictLimit ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()
1431 const BYTE *repMatch = repBase + repIndex; in ZSTD_compressBlock_doubleFast_extDict_generic()
1435 if ((((U32)((dictLimit - 1) - repIndex) > in ZSTD_compressBlock_doubleFast_extDict_generic()
2095 const U32 repIndex = (U32)(curr + 1 - offset_1); ZSTD_compressBlock_lazy_extDict_generic() local
2129 const U32 repIndex = (U32)(curr - offset_1); ZSTD_compressBlock_lazy_extDict_generic() local
2164 const U32 repIndex = (U32)(curr - offset_1); ZSTD_compressBlock_lazy_extDict_generic() local
2219 const U32 repIndex = (U32)((ip - base) - offset_2); ZSTD_compressBlock_lazy_extDict_generic() local
[all...]
H A Dzstd_opt.h750 const U32 repIndex = (U32)(curr - repCur); in ZSTD_compressBlock_opt_extDict_generic() local
751 const BYTE *const repBase = repIndex < dictLimit ? dictBase : base; in ZSTD_compressBlock_opt_extDict_generic()
752 const BYTE *const repMatch = repBase + repIndex; in ZSTD_compressBlock_opt_extDict_generic()
754 (((U32)((dictLimit - 1) - repIndex) >= 3) & (repIndex > lowestIndex)) /* intentional overflow */ in ZSTD_compressBlock_opt_extDict_generic()
757 const BYTE *const repEnd = repIndex < dictLimit ? dictEnd : iend; in ZSTD_compressBlock_opt_extDict_generic()
863 const U32 repIndex = (U32)(curr + cur - repCur); in ZSTD_compressBlock_opt_extDict_generic() local
864 const BYTE *const repBase = repIndex < dictLimit ? dictBase : base; in ZSTD_compressBlock_opt_extDict_generic()
865 const BYTE *const repMatch = repBase + repIndex; in ZSTD_compressBlock_opt_extDict_generic()
867 (((U32)((dictLimit - 1) - repIndex) > in ZSTD_compressBlock_opt_extDict_generic()
[all...]

Completed in 15 milliseconds