Home
last modified time | relevance | path

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

/linux/lib/zstd/compress/
H A Dzstd_lazy.c99 U32 const windowLow = (curr - windowValid > maxDistance) ? curr - maxDistance : windowValid; in ZSTD_insertDUBT1() local
103 curr, dictLimit, windowLow); in ZSTD_insertDUBT1()
107 for (; nbCompares && (matchIndex > windowLow); --nbCompares) { in ZSTD_insertDUBT1()
258 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, curr, cParams->windowLog); in ZSTD_DUBT_findBestMatch() local
264 U32 const unsortLimit = MAX(btLow, windowLow); in ZSTD_DUBT_findBestMatch()
325 for (; nbCompares && (matchIndex > windowLow); --nbCompares) { in ZSTD_DUBT_findBestMatch()
1555 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, curr, ms->cParams.windowLog); in ZSTD_compressBlock_lazy_generic() local
1556 U32 const maxRep = curr - windowLow; in ZSTD_compressBlock_lazy_generic()
1986 { const U32 windowLow = ZSTD_getLowestMatchIndex(ms, curr+1, windowLog); in ZSTD_compressBlock_lazy_extDict_generic() local
1991 & (offset_1 <= curr+1 - windowLow) ) /* note: we are searching at curr+1 */ in ZSTD_compressBlock_lazy_extDict_generic()
[all …]
H A Dzstd_opt.c472 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, target, cParams->windowLog); in ZSTD_insertBt1() local
489 assert(windowLow > 0); in ZSTD_insertBt1()
490 for (; nbCompares && (matchIndex >= windowLow); --nbCompares) { in ZSTD_insertBt1()
620 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, curr, cParams->windowLog); in ZSTD_insertBtAndGetAllMatches() local
621 U32 const matchLow = windowLow ? windowLow : 1; in ZSTD_insertBtAndGetAllMatches()
636 … U32 const dmsIndexDelta = dictMode == ZSTD_dictMatchState ? windowLow - dmsHighLimit : 0; in ZSTD_insertBtAndGetAllMatches()
658 …if ((repIndex >= windowLow) & (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(ip - repOffset… in ZSTD_insertBtAndGetAllMatches()
665 assert(curr >= windowLow); in ZSTD_insertBtAndGetAllMatches()
667 …&& ( ((repOffset-1) /*intentional overflow*/ < curr - windowLow) /* equivalent to `curr > repInde… in ZSTD_insertBtAndGetAllMatches()
H A Dzstd_fast.c239 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, curr, cParams->windowLog); in ZSTD_compressBlock_fast_noDict_generic() local
240 U32 const maxRep = curr - windowLow; in ZSTD_compressBlock_fast_noDict_generic()
H A Dzstd_double_fast.c161 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, current, cParams->windowLog); in ZSTD_compressBlock_doubleFast_noDict_generic() local
162 U32 const maxRep = current - windowLow; in ZSTD_compressBlock_doubleFast_noDict_generic()