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