Lines Matching refs:mainDist
1511 UInt32 numAvail, mainLen, mainDist, numPairs, repIndex, repLen, i; in GetOptimumFast() local
1560 mainDist = 0; /* for GCC */ in GetOptimumFast()
1563 mainDist = matches[numPairs - 1]; in GetOptimumFast()
1566 if (!ChangePair(matches[numPairs - 3], mainDist)) in GetOptimumFast()
1570 mainDist = matches[numPairs - 1]; in GetOptimumFast()
1572 if (mainLen == 2 && mainDist >= 0x80) in GetOptimumFast()
1578 (repLen + 2 >= mainLen && mainDist >= (1 << 9)) || in GetOptimumFast()
1579 (repLen + 3 >= mainLen && mainDist >= (1 << 15)))) in GetOptimumFast()
1593 if ((p->longestMatchLength >= mainLen && newDistance < mainDist) || in GetOptimumFast()
1594 (p->longestMatchLength == mainLen + 1 && !ChangePair(mainDist, newDistance)) || in GetOptimumFast()
1596 (p->longestMatchLength + 1 >= mainLen && mainLen >= 3 && ChangePair(newDistance, mainDist))) in GetOptimumFast()
1612 *backRes = mainDist + LZMA_NUM_REPS; in GetOptimumFast()