Lines Matching refs:repIndex
883 static UInt32 GetPureRepPrice(CLzmaEnc *p, UInt32 repIndex, UInt32 state, UInt32 posState) in GetPureRepPrice() argument
886 if (repIndex == 0) in GetPureRepPrice()
894 if (repIndex == 1) in GetPureRepPrice()
899 price += GET_PRICE(p->isRepG2[state], repIndex - 2); in GetPureRepPrice()
905 static UInt32 GetRepPrice(CLzmaEnc *p, UInt32 repIndex, UInt32 len, UInt32 state, UInt32 posState) in GetRepPrice() argument
908 GetPureRepPrice(p, repIndex, state, posState); in GetRepPrice()
1329 UInt32 repIndex; in GetOptimum() local
1330 for (repIndex = 0; repIndex < LZMA_NUM_REPS; repIndex++) in GetOptimum()
1335 const Byte *data2 = data - (reps[repIndex] + 1); in GetOptimum()
1342 price = repMatchPrice + GetPureRepPrice(p, repIndex, state, posState); in GetOptimum()
1351 opt->backPrev = repIndex; in GetOptimum()
1358 if (repIndex == 0) in GetOptimum()
1402 opt->backPrev2 = repIndex; in GetOptimum()
1511 UInt32 numAvail, mainLen, mainDist, numPairs, repIndex, repLen, i; in GetOptimumFast() local
1531 repLen = repIndex = 0; in GetOptimumFast()
1547 repIndex = i; in GetOptimumFast()
1581 *backRes = repIndex; in GetOptimumFast()