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