Lines Matching refs:repIndex
1041 static UInt32 GetPrice_PureRep(const CLzmaEnc *p, unsigned repIndex, size_t state, size_t posState) in GetPrice_PureRep() argument
1045 if (repIndex == 0) in GetPrice_PureRep()
1054 if (repIndex == 1) in GetPrice_PureRep()
1059 price += GET_PRICE(p->isRepG2[state], repIndex - 2); in GetPrice_PureRep()
1617 unsigned repIndex = 0; // 17.old in GetOptimum() local
1619 for (; repIndex < LZMA_NUM_REPS; repIndex++) in GetOptimum()
1623 const Byte *data2 = data - reps[repIndex]; in GetOptimum()
1639 price = repMatchPrice + GetPrice_PureRep(p, repIndex, state, posState); in GetOptimum()
1648 opt->dist = (UInt32)repIndex; in GetOptimum()
1655 if (repIndex == 0) startLen = len + 1; // 17.old in GetOptimum()
1713 opt->dist = (UInt32)repIndex; in GetOptimum()
1868 unsigned mainLen, numPairs, repIndex, repLen, i; in GetOptimumFast() local
1887 repLen = repIndex = 0; in GetOptimumFast()
1905 repIndex = i; in GetOptimumFast()
1943 p->backRes = (UInt32)repIndex; in GetOptimumFast()