Lines Matching refs:numPairs
308 unsigned numPairs; member
984 unsigned numPairs; in ReadMatchDistances() local
988 numPairs = p->matchFinder.GetMatches(p->matchFinderObj, p->matches); in ReadMatchDistances()
989 *numPairsRes = numPairs; in ReadMatchDistances()
992 printf("\n i = %u numPairs = %u ", g_STAT_OFFSET, numPairs / 2); in ReadMatchDistances()
996 for (i = 0; i < numPairs; i += 2) in ReadMatchDistances()
1001 if (numPairs == 0) in ReadMatchDistances()
1004 unsigned len = p->matches[(size_t)numPairs - 2]; in ReadMatchDistances()
1014 ptrdiff_t dif = (ptrdiff_t)-1 - p->matches[(size_t)numPairs - 1]; in ReadMatchDistances()
1127 unsigned numPairs, mainLen, repMaxIndex, i, posState; in GetOptimum() local
1135 mainLen = ReadMatchDistances(p, &numPairs); in GetOptimum()
1139 numPairs = p->numPairs; in GetOptimum()
1185 p->backRes = matches[(size_t)numPairs - 1] + LZMA_NUM_REPS; in GetOptimum()
1312 if (offs == numPairs) in GetOptimum()
1341 unsigned newLen, numPairs, prev, state, posState, startLen; in GetOptimum() local
1377 newLen = ReadMatchDistances(p, &numPairs); in GetOptimum()
1381 p->numPairs = numPairs; in GetOptimum()
1730 for (numPairs = 0; newLen > matches[numPairs]; numPairs += 2); in GetOptimum()
1731 matches[numPairs] = (UInt32)newLen; in GetOptimum()
1732 numPairs += 2; in GetOptimum()
1842 if (offs == numPairs) in GetOptimum()
1868 unsigned mainLen, numPairs, repIndex, repLen, i; in GetOptimumFast() local
1872 mainLen = ReadMatchDistances(p, &numPairs); in GetOptimumFast()
1876 numPairs = p->numPairs; in GetOptimumFast()
1912 p->backRes = p->matches[(size_t)numPairs - 1] + LZMA_NUM_REPS; in GetOptimumFast()
1921 mainDist = p->matches[(size_t)numPairs - 1]; in GetOptimumFast()
1922 while (numPairs > 2) in GetOptimumFast()
1925 if (mainLen != p->matches[(size_t)numPairs - 4] + 1) in GetOptimumFast()
1927 dist2 = p->matches[(size_t)numPairs - 3]; in GetOptimumFast()
1930 numPairs -= 2; in GetOptimumFast()
1952 unsigned len1 = ReadMatchDistances(p, &p->numPairs); in GetOptimumFast()
1957 UInt32 newDist = p->matches[(size_t)p->numPairs - 1]; in GetOptimumFast()
2280 unsigned numPairs; in LzmaEnc_CodeOneBlock() local
2284 ReadMatchDistances(p, &numPairs); in LzmaEnc_CodeOneBlock()