Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_lazy.c88 U32 const windowLow = (curr - windowValid > maxDistance) ? curr - maxDistance : windowValid; in ZSTD_insertDUBT1() local
92 curr, dictLimit, windowLow); in ZSTD_insertDUBT1()
96 for (; nbCompares && (matchIndex > windowLow); --nbCompares) { in ZSTD_insertDUBT1()
245 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, curr, cParams->windowLog); in ZSTD_DUBT_findBestMatch() local
251 U32 const unsortLimit = MAX(btLow, windowLow); in ZSTD_DUBT_findBestMatch()
312 for (; nbCompares && (matchIndex > windowLow); --nbCompares) { in ZSTD_DUBT_findBestMatch()
1513 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, curr, ms->cParams.windowLog); in ZSTD_compressBlock_lazy_generic() local
1514 U32 const maxRep = curr - windowLow; in ZSTD_compressBlock_lazy_generic()
1911 { const U32 windowLow = ZSTD_getLowestMatchIndex(ms, curr+1, windowLog); in ZSTD_compressBlock_lazy_extDict_generic() local
1916 & (offset_1 <= curr+1 - windowLow) ) /* not in ZSTD_compressBlock_lazy_extDict_generic()
1943 const U32 windowLow = ZSTD_getLowestMatchIndex(ms, curr, windowLog); ZSTD_compressBlock_lazy_extDict_generic() local
1975 const U32 windowLow = ZSTD_getLowestMatchIndex(ms, curr, windowLog); ZSTD_compressBlock_lazy_extDict_generic() local
2022 const U32 windowLow = ZSTD_getLowestMatchIndex(ms, repCurrent, windowLog); ZSTD_compressBlock_lazy_extDict_generic() local
[all...]
H A Dzstd_opt.c437 /* windowLow is based on target because in ZSTD_insertBt1()
440 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, target, cParams->windowLog); in ZSTD_insertBt1() local
457 assert(windowLow > 0); in ZSTD_insertBt1()
458 for (; nbCompares && (matchIndex >= windowLow); --nbCompares) { in ZSTD_insertBt1()
584 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, curr, cParams->windowLog); in ZSTD_insertBtAndGetAllMatches() local
585 U32 const matchLow = windowLow ? windowLow : 1; in ZSTD_insertBtAndGetAllMatches()
600 U32 const dmsIndexDelta = dictMode == ZSTD_dictMatchState ? windowLow - dmsHighLimit : 0; in ZSTD_insertBtAndGetAllMatches()
622 if ((repIndex >= windowLow) & (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(ip - repOffset, minMatch))) { in ZSTD_insertBtAndGetAllMatches()
629 assert(curr >= windowLow); in ZSTD_insertBtAndGetAllMatches()
[all...]
H A Dzstd_fast.c142 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, curr, cParams->windowLog); in ZSTD_compressBlock_fast_noDict_generic() local
143 U32 const maxRep = curr - windowLow; in ZSTD_compressBlock_fast_noDict_generic()
H A Dzstd_double_fast.c101 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, current, cParams->windowLog); in ZSTD_compressBlock_doubleFast_noDict_generic() local
102 U32 const maxRep = current - windowLow; in ZSTD_compressBlock_doubleFast_noDict_generic()
/kernel/linux/linux-5.10/lib/zstd/
H A Dzstd_opt.h253 const U32 windowLow = zc->lowLimit; in ZSTD_insertBtAndGetAllMatches() local
265 if (matchIndex3 > windowLow && (curr - matchIndex3 < (1 << 18))) { in ZSTD_insertBtAndGetAllMatches()
295 while (nbCompares-- && (matchIndex > windowLow)) { in ZSTD_insertBtAndGetAllMatches()
H A Dcompress.c1582 U32 const windowLow = zc->lowLimit; in ZSTD_insertBt1() local
1588 while (nbCompares-- && (matchIndex > windowLow)) { in ZSTD_insertBt1()
1661 const U32 windowLow = zc->lowLimit; in ZSTD_insertBtAndFindBestMatch() local
1670 while (nbCompares-- && (matchIndex > windowLow)) { in ZSTD_insertBtAndFindBestMatch()

Completed in 18 milliseconds