Searched refs:mainDist (Results 1 – 3 of 3) sorted by relevance
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/ |
D | LZMAEncoderFast.java | 85 int mainDist = 0; in getNextSymbol() local 89 mainDist = matches.dist[matches.count - 1]; in getNextSymbol() 92 back = mainDist + REPS; in getNextSymbol() 99 if (!changePair(matches.dist[matches.count - 2], mainDist)) in getNextSymbol() 104 mainDist = matches.dist[matches.count - 1]; in getNextSymbol() 107 if (mainLen == MATCH_LEN_MIN && mainDist >= 0x80) in getNextSymbol() 113 || (bestRepLen + 2 >= mainLen && mainDist >= (1 << 9)) in getNextSymbol() 114 || (bestRepLen + 3 >= mainLen && mainDist >= (1 << 15))) { in getNextSymbol() 132 if ((newLen >= mainLen && newDist < mainDist) in getNextSymbol() 134 && !changePair(mainDist, newDist)) in getNextSymbol() [all …]
|
D | LZMAEncoderNormal.java | 149 int mainDist = 0; in getNextSymbol() local 152 mainDist = matches.dist[matches.count - 1]; in getNextSymbol() 156 back = mainDist + REPS; in getNextSymbol()
|
/external/lzma/C/ |
D | LzmaEnc.c | 1504 UInt32 numAvail, mainLen, mainDist, numPairs, repIndex, repLen, i; in GetOptimumFast() local 1553 mainDist = 0; /* for GCC */ in GetOptimumFast() 1556 mainDist = matches[numPairs - 1]; in GetOptimumFast() 1559 if (!ChangePair(matches[numPairs - 3], mainDist)) in GetOptimumFast() 1563 mainDist = matches[numPairs - 1]; in GetOptimumFast() 1565 if (mainLen == 2 && mainDist >= 0x80) in GetOptimumFast() 1571 (repLen + 2 >= mainLen && mainDist >= (1 << 9)) || in GetOptimumFast() 1572 (repLen + 3 >= mainLen && mainDist >= (1 << 15)))) in GetOptimumFast() 1586 if ((p->longestMatchLength >= mainLen && newDistance < mainDist) || in GetOptimumFast() 1587 (p->longestMatchLength == mainLen + 1 && !ChangePair(mainDist, newDistance)) || in GetOptimumFast() [all …]
|