Home
last modified time | relevance | path

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

/openbmc/linux/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()
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()
760 matchEndIdx = matchIndex + (U32)matchLength; 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()