Home
last modified time | relevance | path

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

/Linux-v5.10/lib/zstd/
Dzstd_opt.h235 …tAndGetAllMatches(ZSTD_CCtx *zc, const BYTE *const ip, const BYTE *const iLimit, U32 nbCompares, c… in ZSTD_insertBtAndGetAllMatches() argument
271 currMl = ZSTD_count(ip, match, iLimit); in ZSTD_insertBtAndGetAllMatches()
276 …currMl = ZSTD_count_2segments(ip + MINMATCH, match + MINMATCH, iLimit, dictEnd, prefixStart) + MIN… in ZSTD_insertBtAndGetAllMatches()
287 if (ip + currMl == iLimit) in ZSTD_insertBtAndGetAllMatches()
303 matchLength += ZSTD_count(ip + matchLength + 1, match + matchLength + 1, iLimit) + 1; in ZSTD_insertBtAndGetAllMatches()
307 …matchLength += ZSTD_count_2segments(ip + matchLength, match + matchLength, iLimit, dictEnd, prefix… in ZSTD_insertBtAndGetAllMatches()
321 if (ip + matchLength == iLimit) /* equal : no way to know if inf or sup */ in ZSTD_insertBtAndGetAllMatches()
356 static U32 ZSTD_BtGetAllMatches(ZSTD_CCtx *zc, const BYTE *const ip, const BYTE *const iLimit, cons… in ZSTD_BtGetAllMatches() argument
361 ZSTD_updateTree(zc, ip, iLimit, maxNbAttempts, mls); in ZSTD_BtGetAllMatches()
362 return ZSTD_insertBtAndGetAllMatches(zc, ip, iLimit, maxNbAttempts, mls, 0, matches, minMatchLen); in ZSTD_BtGetAllMatches()
[all …]
Dcompress.c1735 static size_t ZSTD_BtFindBestMatch(ZSTD_CCtx *zc, const BYTE *const ip, const BYTE *const iLimit, s… in ZSTD_BtFindBestMatch() argument
1739 ZSTD_updateTree(zc, ip, iLimit, maxNbAttempts, mls); in ZSTD_BtFindBestMatch()
1740 return ZSTD_insertBtAndFindBestMatch(zc, ip, iLimit, offsetPtr, maxNbAttempts, mls, 0); in ZSTD_BtFindBestMatch()
1744 …const BYTE *ip, const BYTE *const iLimit, size_t *offsetPtr, const U32 maxNbAttempts, const U32 ma… in ZSTD_BtFindBestMatch_selectMLS() argument
1748 case 4: return ZSTD_BtFindBestMatch(zc, ip, iLimit, offsetPtr, maxNbAttempts, 4); in ZSTD_BtFindBestMatch_selectMLS()
1749 case 5: return ZSTD_BtFindBestMatch(zc, ip, iLimit, offsetPtr, maxNbAttempts, 5); in ZSTD_BtFindBestMatch_selectMLS()
1751 case 6: return ZSTD_BtFindBestMatch(zc, ip, iLimit, offsetPtr, maxNbAttempts, 6); in ZSTD_BtFindBestMatch_selectMLS()
1766 …BestMatch_extDict(ZSTD_CCtx *zc, const BYTE *const ip, const BYTE *const iLimit, size_t *offsetPtr… in ZSTD_BtFindBestMatch_extDict() argument
1771 ZSTD_updateTree_extDict(zc, ip, iLimit, maxNbAttempts, mls); in ZSTD_BtFindBestMatch_extDict()
1772 return ZSTD_insertBtAndFindBestMatch(zc, ip, iLimit, offsetPtr, maxNbAttempts, mls, 1); in ZSTD_BtFindBestMatch_extDict()
[all …]
/Linux-v5.10/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()