Searched refs:mainLen (Results 1 – 3 of 3) sorted by relevance
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/ |
D | LZMAEncoderFast.java | 84 int mainLen = 0; in getNextSymbol() local 88 mainLen = matches.len[matches.count - 1]; in getNextSymbol() 91 if (mainLen >= niceLen) { in getNextSymbol() 93 skip(mainLen - 1); in getNextSymbol() 94 return mainLen; in getNextSymbol() 98 && mainLen == matches.len[matches.count - 2] + 1) { in getNextSymbol() 103 mainLen = matches.len[matches.count - 1]; in getNextSymbol() 107 if (mainLen == MATCH_LEN_MIN && mainDist >= 0x80) in getNextSymbol() 108 mainLen = 1; in getNextSymbol() 112 if (bestRepLen + 1 >= mainLen in getNextSymbol() [all …]
|
D | LZMAEncoderNormal.java | 148 int mainLen = 0; in getNextSymbol() local 151 mainLen = matches.len[matches.count - 1]; in getNextSymbol() 155 if (mainLen >= niceLen) { in getNextSymbol() 157 skip(mainLen - 1); in getNextSymbol() 158 return mainLen; in getNextSymbol() 168 if (mainLen < MATCH_LEN_MIN && curByte != matchByte in getNextSymbol() 198 optEnd = Math.max(mainLen, repLens[repBest]); in getNextSymbol() 240 if (len <= mainLen) { in getNextSymbol()
|
/external/lzma/C/ |
D | LzmaEnc.c | 992 UInt32 numAvail, mainLen, numPairs, repMaxIndex, i, posState, len; in GetOptimum() local 1008 mainLen = ReadMatchDistances(p, &numPairs); in GetOptimum() 1011 mainLen = p->longestMatchLength; in GetOptimum() 1052 if (mainLen >= p->numFastBytes) in GetOptimum() 1055 MovePos(p, mainLen - 1); in GetOptimum() 1056 return mainLen; in GetOptimum() 1061 if (mainLen < 2 && curByte != matchByte && repLens[repMaxIndex] < 2) in GetOptimum() 1093 lenEnd = ((mainLen >= repLens[repMaxIndex]) ? mainLen : repLens[repMaxIndex]); in GetOptimum() 1135 if (len <= mainLen) in GetOptimum() 1556 UInt32 numAvail, mainLen, mainDist, numPairs, repIndex, repLen, i; in GetOptimumFast() local [all …]
|