Home
last modified time | relevance | path

Searched refs:repLens (Results 1 – 4 of 4) sorted by relevance

/external/xz-java/src/org/tukaani/xz/lzma/
DLZMAEncoderNormal.java32 private final int[] repLens = new int[REPS]; field in LZMAEncoderNormal
130 repLens[rep] = lz.getMatchLen(reps[rep], avail); in getNextSymbol()
132 if (repLens[rep] < MATCH_LEN_MIN) { in getNextSymbol()
133 repLens[rep] = 0; in getNextSymbol()
137 if (repLens[rep] > repLens[repBest]) in getNextSymbol()
142 if (repLens[repBest] >= niceLen) { in getNextSymbol()
144 skip(repLens[repBest] - 1); in getNextSymbol()
145 return repLens[repBest]; in getNextSymbol()
171 && repLens[repBest] < MATCH_LEN_MIN) in getNextSymbol()
200 optEnd = Math.max(mainLen, repLens[repBest]); in getNextSymbol()
[all …]
/external/lzma/Java/SevenZip/Compression/LZMA/
DEncoder.java536 int[] repLens = new int[Base.kNumRepDistances]; field in Encoder
576 repLens[i] = _matchFinder.GetMatchLen(0 - 1, reps[i], Base.kMatchMaxLen); in GetOptimum()
577 if (repLens[i] > repLens[repMaxIndex]) in GetOptimum()
580 if (repLens[repMaxIndex] >= _numFastBytes) in GetOptimum()
583 int lenRes = repLens[repMaxIndex]; in GetOptimum()
598 if (lenMain < 2 && currentByte != matchByte && repLens[repMaxIndex] < 2) in GetOptimum()
625 int lenEnd = ((lenMain >= repLens[repMaxIndex]) ? lenMain : repLens[repMaxIndex]); in GetOptimum()
647 int repLen = repLens[i]; in GetOptimum()
668 len = ((repLens[0] >= 2) ? repLens[0] + 1 : 2); in GetOptimum()
/external/lzma/CS/7zip/Compress/LZMA/
DLzmaEncoder.cs536 UInt32[] repLens = new UInt32[Base.kNumRepDistances]; field in SevenZip.Compression.LZMA.Encoder
576 repLens[i] = _matchFinder.GetMatchLen(0 - 1, reps[i], Base.kMatchMaxLen); in GetOptimum()
577 if (repLens[i] > repLens[repMaxIndex]) in GetOptimum()
580 if (repLens[repMaxIndex] >= _numFastBytes) in GetOptimum()
583 UInt32 lenRes = repLens[repMaxIndex]; in GetOptimum()
598 if (lenMain < 2 && currentByte != matchByte && repLens[repMaxIndex] < 2) in GetOptimum()
625 UInt32 lenEnd = ((lenMain >= repLens[repMaxIndex]) ? lenMain : repLens[repMaxIndex]); in GetOptimum()
647 UInt32 repLen = repLens[i]; in GetOptimum()
668 len = ((repLens[0] >= 2) ? repLens[0] + 1 : 2); in GetOptimum()
/external/lzma/C/
DLzmaEnc.c1122 unsigned repLens[LZMA_NUM_REPS]; in GetOptimum() local
1162 repLens[i] = 0; in GetOptimum()
1167 repLens[i] = len; in GetOptimum()
1168 if (len > repLens[repMaxIndex]) in GetOptimum()
1172 if (repLens[repMaxIndex] >= p->numFastBytes) in GetOptimum()
1176 len = repLens[repMaxIndex]; in GetOptimum()
1193 last = repLens[repMaxIndex]; in GetOptimum()
1221 if (matchByte == curByte && repLens[0] == 0) in GetOptimum()
1247 unsigned repLen = repLens[i]; in GetOptimum()
1270 unsigned len = repLens[0] + 1; in GetOptimum()