• Home
  • Raw
  • Download

Lines Matching refs:mainLen

992   UInt32 numAvail, mainLen, numPairs, repMaxIndex, i, posState, len;  in GetOptimum()  local
1008 mainLen = ReadMatchDistances(p, &numPairs); in GetOptimum()
1011 mainLen = p->longestMatchLength; in GetOptimum()
1052 if (mainLen >= p->numFastBytes) in GetOptimum()
1055 MovePos(p, mainLen - 1); in GetOptimum()
1056 return mainLen; in GetOptimum()
1061 if (mainLen < 2 && curByte != matchByte && repLens[repMaxIndex] < 2) in GetOptimum()
1093 lenEnd = ((mainLen >= repLens[repMaxIndex]) ? mainLen : repLens[repMaxIndex]); in GetOptimum()
1135 if (len <= mainLen) in GetOptimum()
1556 UInt32 numAvail, mainLen, mainDist, numPairs, repIndex, repLen, i; in GetOptimumFast() local
1561 mainLen = ReadMatchDistances(p, &numPairs); in GetOptimumFast()
1564 mainLen = p->longestMatchLength; in GetOptimumFast()
1598 if (mainLen >= p->numFastBytes) in GetOptimumFast()
1601 MovePos(p, mainLen - 1); in GetOptimumFast()
1602 return mainLen; in GetOptimumFast()
1606 if (mainLen >= 2) in GetOptimumFast()
1609 while (numPairs > 2 && mainLen == matches[numPairs - 4] + 1) in GetOptimumFast()
1614 mainLen = matches[numPairs - 2]; in GetOptimumFast()
1617 if (mainLen == 2 && mainDist >= 0x80) in GetOptimumFast()
1618 mainLen = 1; in GetOptimumFast()
1622 (repLen + 1 >= mainLen) || in GetOptimumFast()
1623 (repLen + 2 >= mainLen && mainDist >= (1 << 9)) || in GetOptimumFast()
1624 (repLen + 3 >= mainLen && mainDist >= (1 << 15)))) in GetOptimumFast()
1631 if (mainLen < 2 || numAvail <= 2) in GetOptimumFast()
1638 if ((p->longestMatchLength >= mainLen && newDistance < mainDist) || in GetOptimumFast()
1639 (p->longestMatchLength == mainLen + 1 && !ChangePair(mainDist, newDistance)) || in GetOptimumFast()
1640 (p->longestMatchLength > mainLen + 1) || in GetOptimumFast()
1641 (p->longestMatchLength + 1 >= mainLen && mainLen >= 3 && ChangePair(newDistance, mainDist))) in GetOptimumFast()
1652 limit = mainLen - 1; in GetOptimumFast()
1658 MovePos(p, mainLen - 2); in GetOptimumFast()
1659 return mainLen; in GetOptimumFast()