Lines Matching refs:matches
305 UInt32 matches[LZMA_MATCH_LEN_MAX * 2 + 2 + 1]; member
840 numPairs = p->matchFinder.GetMatches(p->matchFinderObj, p->matches); in ReadMatchDistances()
847 printf("%2d %6d | ", p->matches[i], p->matches[i + 1]); in ReadMatchDistances()
852 lenRes = p->matches[numPairs - 2]; in ReadMatchDistances()
856 UInt32 distance = p->matches[numPairs - 1] + 1; in ReadMatchDistances()
954 UInt32 *matches; in GetOptimum() local
1011 matches = p->matches; in GetOptimum()
1014 *backRes = matches[numPairs - 1] + LZMA_NUM_REPS; in GetOptimum()
1098 while (len > matches[offs]) in GetOptimum()
1103 UInt32 distance = matches[offs + 1]; in GetOptimum()
1123 if (len == matches[offs]) in GetOptimum()
1413 for (numPairs = 0; newLen > matches[numPairs]; numPairs += 2); in GetOptimum()
1414 matches[numPairs] = newLen; in GetOptimum()
1426 while (startLen > matches[offs]) in GetOptimum()
1428 curBack = matches[offs + 1]; in GetOptimum()
1449 if (/*_maxMode && */lenTest == matches[offs]) in GetOptimum()
1498 curBack = matches[offs + 1]; in GetOptimum()
1513 const UInt32 *matches; in GetOptimumFast() local
1552 matches = p->matches; in GetOptimumFast()
1555 *backRes = matches[numPairs - 1] + LZMA_NUM_REPS; in GetOptimumFast()
1563 mainDist = matches[numPairs - 1]; in GetOptimumFast()
1564 while (numPairs > 2 && mainLen == matches[numPairs - 4] + 1) in GetOptimumFast()
1566 if (!ChangePair(matches[numPairs - 3], mainDist)) in GetOptimumFast()
1569 mainLen = matches[numPairs - 2]; in GetOptimumFast()
1570 mainDist = matches[numPairs - 1]; in GetOptimumFast()
1592 UInt32 newDistance = matches[p->numPairs - 1]; in GetOptimumFast()