Home
last modified time | relevance | path

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

/dragonfly/contrib/zstd/lib/compress/
H A Dzstd_opt.c395 U32 matchEndIdx = curr+8+1; in ZSTD_insertBt1() local
450 if (matchLength > matchEndIdx - matchIndex) in ZSTD_insertBt1()
451 matchEndIdx = matchIndex + (U32)matchLength; in ZSTD_insertBt1()
477 assert(matchEndIdx > curr + 8); in ZSTD_insertBt1()
478 return MAX(positions, matchEndIdx - (curr + 8)); in ZSTD_insertBt1()
664 assert(matchEndIdx > matchIndex); in ZSTD_insertBtAndGetAllMatches()
665 if (matchLength > matchEndIdx - matchIndex) in ZSTD_insertBtAndGetAllMatches()
666 matchEndIdx = matchIndex + (U32)matchLength; in ZSTD_insertBtAndGetAllMatches()
712 if (matchLength > matchEndIdx - matchIndex) in ZSTD_insertBtAndGetAllMatches()
713 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()
367 assert(matchEndIdx > curr+8); /* ensure nextToUpdate is increased */ in ZSTD_DUBT_findBestMatch()
368 ms->nextToUpdate = matchEndIdx - 8; /* skip repetitive patterns */ in ZSTD_DUBT_findBestMatch()