Home
last modified time | relevance | path

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

/external/xz-java/src/org/tukaani/xz/lzma/
DLZMAEncoderFast.java86 int mainLen = 0; in getNextSymbol() local
90 mainLen = matches.len[matches.count - 1]; in getNextSymbol()
93 if (mainLen >= niceLen) { in getNextSymbol()
95 skip(mainLen - 1); in getNextSymbol()
96 return mainLen; in getNextSymbol()
100 && mainLen == matches.len[matches.count - 2] + 1) { in getNextSymbol()
105 mainLen = matches.len[matches.count - 1]; in getNextSymbol()
109 if (mainLen == MATCH_LEN_MIN && mainDist >= 0x80) in getNextSymbol()
110 mainLen = 1; in getNextSymbol()
114 if (bestRepLen + 1 >= mainLen in getNextSymbol()
[all …]
DLZMAEncoderNormal.java150 int mainLen = 0; in getNextSymbol() local
153 mainLen = matches.len[matches.count - 1]; in getNextSymbol()
157 if (mainLen >= niceLen) { in getNextSymbol()
159 skip(mainLen - 1); in getNextSymbol()
160 return mainLen; in getNextSymbol()
170 if (mainLen < MATCH_LEN_MIN && curByte != matchByte in getNextSymbol()
200 optEnd = Math.max(mainLen, repLens[repBest]); in getNextSymbol()
242 if (len <= mainLen) { in getNextSymbol()
/external/lzma/C/
DLzmaEnc.c1127 unsigned numPairs, mainLen, repMaxIndex, i, posState; in GetOptimum() local
1135 mainLen = ReadMatchDistances(p, &numPairs); in GetOptimum()
1138 mainLen = p->longestMatchLen; in GetOptimum()
1183 if (mainLen >= p->numFastBytes) in GetOptimum()
1186 MOVE_POS(p, mainLen - 1) in GetOptimum()
1187 return mainLen; in GetOptimum()
1194 if (last <= mainLen) in GetOptimum()
1195 last = mainLen; in GetOptimum()
1271 if (len <= mainLen) in GetOptimum()
1868 unsigned mainLen, numPairs, repIndex, repLen, i; in GetOptimumFast() local
[all …]