Lines Matching refs:mainDist
1504 UInt32 numAvail, mainLen, mainDist, numPairs, repIndex, repLen, i;
1553 mainDist = 0; /* for GCC */
1556 mainDist = matches[numPairs - 1];
1559 if (!ChangePair(matches[numPairs - 3], mainDist))
1563 mainDist = matches[numPairs - 1];
1565 if (mainLen == 2 && mainDist >= 0x80)
1571 (repLen + 2 >= mainLen && mainDist >= (1 << 9)) ||
1572 (repLen + 3 >= mainLen && mainDist >= (1 << 15))))
1586 if ((p->longestMatchLength >= mainLen && newDistance < mainDist) ||
1587 (p->longestMatchLength == mainLen + 1 && !ChangePair(mainDist, newDistance)) ||
1589 (p->longestMatchLength + 1 >= mainLen && mainLen >= 3 && ChangePair(newDistance, mainDist)))
1605 *backRes = mainDist + LZMA_NUM_REPS;