Home
last modified time | relevance | path

Searched refs:iLimit (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/lib/zstd/compress/
Dzstd_lazy.c383 const BYTE* const ip, const BYTE* const iLimit, in ZSTD_BtFindBestMatch() argument
390 ZSTD_updateDUBT(ms, ip, iLimit, mls); in ZSTD_BtFindBestMatch()
391 return ZSTD_DUBT_findBestMatch(ms, ip, iLimit, offsetPtr, mls, dictMode); in ZSTD_BtFindBestMatch()
518 const BYTE* const ip, const BYTE* const iLimit, in ZSTD_dedicatedDictSearch_lazy_search() argument
558 currentMl = ZSTD_count_2segments(ip+4, match+4, iLimit, ddsEnd, prefixStart) + 4; in ZSTD_dedicatedDictSearch_lazy_search()
565 if (ip+currentMl == iLimit) { in ZSTD_dedicatedDictSearch_lazy_search()
595 currentMl = ZSTD_count_2segments(ip+4, match+4, iLimit, ddsEnd, prefixStart) + 4; in ZSTD_dedicatedDictSearch_lazy_search()
602 … if (ip+currentMl == iLimit) break; /* best possible, avoids read overflow on next attempt */ in ZSTD_dedicatedDictSearch_lazy_search()
650 const BYTE* const ip, const BYTE* const iLimit, in ZSTD_HcFindBestMatch() argument
695 currentMl = ZSTD_count(ip, match, iLimit); in ZSTD_HcFindBestMatch()
[all …]
Dzstd_opt.c560 const BYTE* const ip, const BYTE* const iLimit, const ZSTD_dictMode_e dictMode, in ZSTD_insertBtAndGetAllMatches() argument
623 repLen = (U32)ZSTD_count(ip+minMatch, ip+minMatch-repOffset, iLimit) + minMatch; in ZSTD_insertBtAndGetAllMatches()
634 …repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dictEnd, prefixStart) +… in ZSTD_insertBtAndGetAllMatches()
640 …repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dmsEnd, prefixStart) + … in ZSTD_insertBtAndGetAllMatches()
651 | (ip+repLen == iLimit) ) { /* best possible */ in ZSTD_insertBtAndGetAllMatches()
663 mlen = ZSTD_count(ip, match, iLimit); in ZSTD_insertBtAndGetAllMatches()
666 mlen = ZSTD_count_2segments(ip, match, iLimit, dictEnd, prefixStart); in ZSTD_insertBtAndGetAllMatches()
680 (ip+mlen == iLimit) ) { /* best possible length */ in ZSTD_insertBtAndGetAllMatches()
699 matchLength += ZSTD_count(ip+matchLength, match+matchLength, iLimit); in ZSTD_insertBtAndGetAllMatches()
703 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iLimit, dictEnd, prefixStar… in ZSTD_insertBtAndGetAllMatches()
[all …]
/linux-6.6.21/lib/lz4/
Dlz4hc_compress.c102 const BYTE * const iLimit, in LZ4HC_InsertAndFindBestMatch() argument
131 match + MINMATCH, iLimit) + MINMATCH; in LZ4HC_InsertAndFindBestMatch()
146 if (vLimit > iLimit) in LZ4HC_InsertAndFindBestMatch()
147 vLimit = iLimit; in LZ4HC_InsertAndFindBestMatch()
151 && (vLimit < iLimit)) in LZ4HC_InsertAndFindBestMatch()
154 iLimit); in LZ4HC_InsertAndFindBestMatch()