Home
last modified time | relevance | path

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

/external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/
DLZMAEncoderNormal.java31 private final int[] repLens = new int[REPS]; field in LZMAEncoderNormal
128 repLens[rep] = lz.getMatchLen(reps[rep], avail); in getNextSymbol()
130 if (repLens[rep] < MATCH_LEN_MIN) { in getNextSymbol()
131 repLens[rep] = 0; in getNextSymbol()
135 if (repLens[rep] > repLens[repBest]) in getNextSymbol()
140 if (repLens[repBest] >= niceLen) { in getNextSymbol()
142 skip(repLens[repBest] - 1); in getNextSymbol()
143 return repLens[repBest]; in getNextSymbol()
169 && repLens[repBest] < MATCH_LEN_MIN) in getNextSymbol()
198 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.c946 UInt32 reps[LZMA_NUM_REPS], repLens[LZMA_NUM_REPS]; in GetOptimum() local
987 repLens[i] = 0; in GetOptimum()
991 repLens[i] = lenTest; in GetOptimum()
992 if (lenTest > repLens[repMaxIndex]) in GetOptimum()
995 if (repLens[repMaxIndex] >= p->numFastBytes) in GetOptimum()
999 lenRes = repLens[repMaxIndex]; in GetOptimum()
1014 if (mainLen < 2 && curByte != matchByte && repLens[repMaxIndex] < 2) in GetOptimum()
1046 lenEnd = ((mainLen >= repLens[repMaxIndex]) ? mainLen : repLens[repMaxIndex]); in GetOptimum()
1065 UInt32 repLen = repLens[i]; in GetOptimum()
1087 len = ((repLens[0] >= 2) ? repLens[0] + 1 : 2); in GetOptimum()