Home
last modified time | relevance | path

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

/linux-5.19.10/lib/zstd/compress/
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()
926 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, curr, ms->cParams.windowLog); in ZSTD_compressBlock_lazy_generic() local
927 U32 const maxRep = curr - windowLow; in ZSTD_compressBlock_lazy_generic()
1250 { const U32 windowLow = ZSTD_getLowestMatchIndex(ms, curr+1, windowLog); in ZSTD_compressBlock_lazy_extDict_generic() local
1254 … if (((U32)((dictLimit-1) - repIndex) >= 3) & (repIndex > windowLow)) /* intentional overflow */ in ZSTD_compressBlock_lazy_extDict_generic()
[all …]
Dzstd_opt.c406 U32 const windowLow = ms->window.lowLimit; in ZSTD_insertBt1() local
422 assert(windowLow > 0); in ZSTD_insertBt1()
423 for (; nbCompares && (matchIndex >= windowLow); --nbCompares) { in ZSTD_insertBt1()
549 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, curr, cParams->windowLog); in ZSTD_insertBtAndGetAllMatches() local
550 U32 const matchLow = windowLow ? windowLow : 1; in ZSTD_insertBtAndGetAllMatches()
565 … U32 const dmsIndexDelta = dictMode == ZSTD_dictMatchState ? windowLow - dmsHighLimit : 0; in ZSTD_insertBtAndGetAllMatches()
587 …if ((repIndex >= windowLow) & (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(ip - repOffset… in ZSTD_insertBtAndGetAllMatches()
594 assert(curr >= windowLow); in ZSTD_insertBtAndGetAllMatches()
596 …&& ( ((repOffset-1) /*intentional overflow*/ < curr - windowLow) /* equivalent to `curr > repInde… in ZSTD_insertBtAndGetAllMatches()
Dzstd_fast.c76 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, curr, cParams->windowLog); in ZSTD_compressBlock_fast_generic() local
77 U32 const maxRep = curr - windowLow; in ZSTD_compressBlock_fast_generic()
Dzstd_double_fast.c112 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, curr, cParams->windowLog); in ZSTD_compressBlock_doubleFast_generic() local
113 U32 const maxRep = curr - windowLow; in ZSTD_compressBlock_doubleFast_generic()