Home
last modified time | relevance | path

Searched refs:matchEndIdx (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_opt.c441 U32 matchEndIdx = curr+8+1; in ZSTD_insertBt1() local
497 if (matchLength > matchEndIdx - matchIndex) in ZSTD_insertBt1()
498 matchEndIdx = matchIndex + (U32)matchLength; in ZSTD_insertBt1()
524 assert(matchEndIdx > curr + 8); in ZSTD_insertBt1()
525 return MAX(positions, matchEndIdx - (curr + 8)); in ZSTD_insertBt1()
588 U32 matchEndIdx = curr+8+1; /* farthest referenced position of any match => detects repetitive patterns */ in ZSTD_insertBtAndGetAllMatches() local
711 assert(matchEndIdx > matchIndex); in ZSTD_insertBtAndGetAllMatches()
712 if (matchLength > matchEndIdx - matchIndex) in ZSTD_insertBtAndGetAllMatches()
713 matchEndIdx = matchIndex + (U32)matchLength; in ZSTD_insertBtAndGetAllMatches()
759 if (matchLength > matchEndIdx in ZSTD_insertBtAndGetAllMatches()
[all...]
H A Dzstd_lazy.c305 U32 matchEndIdx = curr + 8 + 1; in ZSTD_DUBT_findBestMatch() local
328 if (matchLength > matchEndIdx - matchIndex) in ZSTD_DUBT_findBestMatch()
329 matchEndIdx = matchIndex + (U32)matchLength; in ZSTD_DUBT_findBestMatch()
368 assert(matchEndIdx > curr+8); /* ensure nextToUpdate is increased */ in ZSTD_DUBT_findBestMatch()
369 ms->nextToUpdate = matchEndIdx - 8; /* skip repetitive patterns */ in ZSTD_DUBT_findBestMatch()
/kernel/linux/linux-5.10/lib/zstd/
H A Dzstd_opt.h256 U32 matchEndIdx = curr + 8; in ZSTD_insertBtAndGetAllMatches() local
313 if (matchLength > matchEndIdx - matchIndex) in ZSTD_insertBtAndGetAllMatches()
314 matchEndIdx = matchIndex + (U32)matchLength; in ZSTD_insertBtAndGetAllMatches()
351 zc->nextToUpdate = (matchEndIdx > curr + 8) ? matchEndIdx - 8 : curr + 1; in ZSTD_insertBtAndGetAllMatches()
H A Dcompress.c1583 U32 matchEndIdx = curr + 8; in ZSTD_insertBt1() local
1605 if (matchLength > matchEndIdx - matchIndex) in ZSTD_insertBt1()
1606 matchEndIdx = matchIndex + (U32)matchLength; in ZSTD_insertBt1()
1638 if (matchEndIdx > curr + 8) in ZSTD_insertBt1()
1639 return matchEndIdx - curr - 8; in ZSTD_insertBt1()
1664 U32 matchEndIdx = curr + 8; in ZSTD_insertBtAndFindBestMatch() local
1687 if (matchLength > matchEndIdx - matchIndex) in ZSTD_insertBtAndFindBestMatch()
1688 matchEndIdx = matchIndex + (U32)matchLength; in ZSTD_insertBtAndFindBestMatch()
1720 zc->nextToUpdate = (matchEndIdx > curr + 8) ? matchEndIdx in ZSTD_insertBtAndFindBestMatch()
[all...]

Completed in 15 milliseconds