Home
last modified time | relevance | path

Searched refs:lenLimit (Results 1 – 7 of 7) sorted by relevance

/external/lzma/C/
DLzFind.c287 UInt32 lenLimit = p->streamPos - p->pos; in MatchFinder_SetLimits() local
288 if (lenLimit > p->matchMaxLen) in MatchFinder_SetLimits()
289 lenLimit = p->matchMaxLen; in MatchFinder_SetLimits()
290 p->lenLimit = lenLimit; in MatchFinder_SetLimits()
357 static UInt32 * Hc_GetMatchesSpec(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CL… in Hc_GetMatchesSpec() argument
373 while (++len != lenLimit) in Hc_GetMatchesSpec()
380 if (len == lenLimit) in Hc_GetMatchesSpec()
388 UInt32 * GetMatchesSpec1(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son, in GetMatchesSpec1() argument
409 if (++len != lenLimit && pb[len] == cur[len]) in GetMatchesSpec1()
410 while (++len != lenLimit) in GetMatchesSpec1()
[all …]
DLzFindMt.c236 static Int32 NO_INLINE GetMatchesSpecN(UInt32 lenLimit, UInt32 pos, const Byte *cur, CLzRef *son, in GetMatchesSpecN() argument
264 if (++len != lenLimit && pb[len] == cur[len]) in GetMatchesSpecN()
265 while (++len != lenLimit) in GetMatchesSpecN()
272 if (len == lenLimit) in GetMatchesSpecN()
337 UInt32 lenLimit = p->matchMaxLen; in BtGetMatches() local
340 if (lenLimit >= p->hashNumAvail) in BtGetMatches()
341 lenLimit = p->hashNumAvail; in BtGetMatches()
343 UInt32 size2 = p->hashNumAvail - lenLimit + 1; in BtGetMatches()
355 UInt32 num = (UInt32)(GetMatchesSpec1(lenLimit, pos - p->hashBuf[p->hashBufPos++], in BtGetMatches()
367 …curPos = limit - GetMatchesSpecN(lenLimit, pos, p->buffer, p->son, cyclicBufferPos, p->cyclicBuffe… in BtGetMatches()
DLzFind.h19 UInt32 lenLimit; member
79 UInt32 * GetMatchesSpec1(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *buffer, CLzRef *…
/external/lzma/Java/SevenZip/Compression/LZ/
DBinTree.java120 int lenLimit; in GetMatches() local
122 lenLimit = _matchMaxLen; in GetMatches()
125 lenLimit = _streamPos - _pos; in GetMatches()
126 if (lenLimit < kMinMatchCheck) in GetMatches()
218 while(++len != lenLimit) in GetMatches()
225 if (len == lenLimit) in GetMatches()
256 int lenLimit; in Skip() local
258 lenLimit = _matchMaxLen; in Skip()
261 lenLimit = _streamPos - _pos; in Skip()
262 if (lenLimit < kMinMatchCheck) in Skip()
[all …]
/external/lzma/CS/7zip/Compress/LZ/
DLzBinTree.cs120 UInt32 lenLimit; in GetMatches()
122 lenLimit = _matchMaxLen; in GetMatches()
125 lenLimit = _streamPos - _pos; in GetMatches()
126 if (lenLimit < kMinMatchCheck) in GetMatches()
218 while(++len != lenLimit) in GetMatches()
225 if (len == lenLimit) in GetMatches()
256 UInt32 lenLimit; in Skip()
258 lenLimit = _matchMaxLen; in Skip()
261 lenLimit = _streamPos - _pos; in Skip()
262 if (lenLimit < kMinMatchCheck) in Skip()
[all …]
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lz/
DLZEncoder.java327 public int getMatchLen(int dist, int lenLimit) {
331 while (len < lenLimit && buf[readPos + len] == buf[backPos + len])
346 public int getMatchLen(int forward, int dist, int lenLimit) {
351 while (len < lenLimit && buf[curPos + len] == buf[backPos + len])
368 int lenLimit = Math.min(getAvail(), matchLenMax);
371 if (getMatchLen(matches.dist[i], lenLimit) != matches.len[i])
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/
DLZMAEncoderNormal.java403 int lenLimit = Math.min(niceLen, avail - 1);
404 int len = lz.getMatchLen(1, opts[optCur].reps[0], lenLimit);
430 int lenLimit = Math.min(avail, niceLen);
433 int len = lz.getMatchLen(opts[optCur].reps[rep], lenLimit);