Home
last modified time | relevance | path

Searched refs:mainDist (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/common/lzma/
H A DLzmaEnc.c1511 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()
[all …]