Searched refs:lenLimit (Results 1 – 7 of 7) sorted by relevance
/external/lzma/Java/SevenZip/Compression/LZ/ |
D | BinTree.java | 120 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/C/ |
D | LzFind.c | 292 UInt32 lenLimit = p->streamPos - p->pos; in MatchFinder_SetLimits() local 293 if (lenLimit > p->matchMaxLen) in MatchFinder_SetLimits() 294 lenLimit = p->matchMaxLen; in MatchFinder_SetLimits() 295 p->lenLimit = lenLimit; in MatchFinder_SetLimits() 389 static UInt32 * Hc_GetMatchesSpec(unsigned lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, … in Hc_GetMatchesSpec() argument 422 const Byte *lim = cur + lenLimit; in Hc_GetMatchesSpec() 465 UInt32 * GetMatchesSpec1(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son, in GetMatchesSpec1() argument 487 if (++len != lenLimit && pb[len] == cur[len]) in GetMatchesSpec1() 488 while (++len != lenLimit) in GetMatchesSpec1() 496 if (len == lenLimit) in GetMatchesSpec1() [all …]
|
D | LzFindMt.c | 245 static UInt32 *GetMatchesSpecN(UInt32 lenLimit, UInt32 pos, const Byte *cur, CLzRef *son, in GetMatchesSpecN() argument 288 if (++len != lenLimit && pb[len] == cur[len]) in GetMatchesSpecN() 289 while (++len != lenLimit) in GetMatchesSpecN() 297 if (len == lenLimit) in GetMatchesSpecN() 373 UInt32 lenLimit = p->matchMaxLen; in BtGetMatches() local 376 if (lenLimit >= p->hashNumAvail) in BtGetMatches() 377 lenLimit = p->hashNumAvail; in BtGetMatches() 379 UInt32 size2 = p->hashNumAvail - lenLimit + 1; in BtGetMatches() 391 UInt32 num = (UInt32)(GetMatchesSpec1(lenLimit, pos - p->hashBuf[p->hashBufPos++], in BtGetMatches() 403 …curPos = (UInt32)(GetMatchesSpecN(lenLimit, pos, p->buffer, p->son, cyclicBufferPos, p->cyclicBuff… in BtGetMatches()
|
D | LzFind.h | 19 UInt32 lenLimit; member 81 UInt32 * GetMatchesSpec1(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *buffer, CLzRef *…
|
/external/lzma/CS/7zip/Compress/LZ/ |
D | LzBinTree.cs | 120 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/xz-java/src/org/tukaani/xz/lz/ |
D | LZEncoder.java | 336 public int getMatchLen(int dist, int lenLimit) { 340 while (len < lenLimit && buf[readPos + len] == buf[backPos + len]) 355 public int getMatchLen(int forward, int dist, int lenLimit) { 360 while (len < lenLimit && buf[curPos + len] == buf[backPos + len]) 377 int lenLimit = Math.min(getAvail(), matchLenMax); 380 if (getMatchLen(matches.dist[i], lenLimit) != matches.len[i])
|
/external/xz-java/src/org/tukaani/xz/lzma/ |
D | LZMAEncoderNormal.java | 405 int lenLimit = Math.min(niceLen, avail - 1); 406 int len = lz.getMatchLen(1, opts[optCur].reps[0], lenLimit); 432 int lenLimit = Math.min(avail, niceLen); 435 int len = lz.getMatchLen(opts[optCur].reps[rep], lenLimit);
|