Lines Matching refs:numPairs
289 UInt32 numPairs; member
829 UInt32 lenRes = 0, numPairs; in ReadMatchDistances() local
831 numPairs = p->matchFinder.GetMatches(p->matchFinderObj, p->matches); in ReadMatchDistances()
834 printf("\n i = %d numPairs = %d ", g_STAT_OFFSET, numPairs / 2); in ReadMatchDistances()
838 for (i = 0; i < numPairs; i += 2) in ReadMatchDistances()
843 if (numPairs > 0) in ReadMatchDistances()
845 lenRes = p->matches[numPairs - 2]; in ReadMatchDistances()
849 UInt32 distance = p->matches[numPairs - 1] + 1; in ReadMatchDistances()
860 *numDistancePairsRes = numPairs; in ReadMatchDistances()
944 UInt32 numAvail, mainLen, numPairs, repMaxIndex, i, posState, lenEnd, len, cur; in GetOptimum() local
961 mainLen = ReadMatchDistances(p, &numPairs); in GetOptimum()
965 numPairs = p->numPairs; in GetOptimum()
1007 *backRes = matches[numPairs - 1] + LZMA_NUM_REPS; in GetOptimum()
1119 if (offs == numPairs) in GetOptimum()
1139 UInt32 numAvailFull, newLen, numPairs, posPrev, state, posState, startLen; in GetOptimum() local
1151 newLen = ReadMatchDistances(p, &numPairs); in GetOptimum()
1154 p->numPairs = numPairs; in GetOptimum()
1406 for (numPairs = 0; newLen > matches[numPairs]; numPairs += 2); in GetOptimum()
1407 matches[numPairs] = newLen; in GetOptimum()
1408 numPairs += 2; in GetOptimum()
1489 if (offs == numPairs) in GetOptimum()
1504 UInt32 numAvail, mainLen, mainDist, numPairs, repIndex, repLen, i; in GetOptimumFast() local
1509 mainLen = ReadMatchDistances(p, &numPairs); in GetOptimumFast()
1513 numPairs = p->numPairs; in GetOptimumFast()
1548 *backRes = matches[numPairs - 1] + LZMA_NUM_REPS; in GetOptimumFast()
1556 mainDist = matches[numPairs - 1]; in GetOptimumFast()
1557 while (numPairs > 2 && mainLen == matches[numPairs - 4] + 1) in GetOptimumFast()
1559 if (!ChangePair(matches[numPairs - 3], mainDist)) in GetOptimumFast()
1561 numPairs -= 2; in GetOptimumFast()
1562 mainLen = matches[numPairs - 2]; in GetOptimumFast()
1563 mainDist = matches[numPairs - 1]; in GetOptimumFast()
1582 p->longestMatchLength = ReadMatchDistances(p, &p->numPairs); in GetOptimumFast()
1585 UInt32 newDistance = matches[p->numPairs - 1]; in GetOptimumFast()
1764 UInt32 numPairs; in LzmaEnc_CodeOneBlock() local
1768 ReadMatchDistances(p, &numPairs); in LzmaEnc_CodeOneBlock()