Home
last modified time | relevance | path

Searched refs:matchEndIdx (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/lib/zstd/compress/
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 p… 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 - matchIndex) in ZSTD_insertBtAndGetAllMatches()
[all …]
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()