Lines Matching refs:repIndex
876 static UInt32 GetPureRepPrice(CLzmaEnc *p, UInt32 repIndex, UInt32 state, UInt32 posState) in GetPureRepPrice() argument
879 if (repIndex == 0) in GetPureRepPrice()
887 if (repIndex == 1) in GetPureRepPrice()
892 price += GET_PRICE(p->isRepG2[state], repIndex - 2); in GetPureRepPrice()
898 static UInt32 GetRepPrice(CLzmaEnc *p, UInt32 repIndex, UInt32 len, UInt32 state, UInt32 posState) in GetRepPrice() argument
901 GetPureRepPrice(p, repIndex, state, posState); in GetRepPrice()
1322 UInt32 repIndex; in GetOptimum() local
1323 for (repIndex = 0; repIndex < LZMA_NUM_REPS; repIndex++) in GetOptimum()
1328 const Byte *data2 = data - (reps[repIndex] + 1); in GetOptimum()
1335 price = repMatchPrice + GetPureRepPrice(p, repIndex, state, posState); in GetOptimum()
1344 opt->backPrev = repIndex; in GetOptimum()
1351 if (repIndex == 0) in GetOptimum()
1395 opt->backPrev2 = repIndex; in GetOptimum()
1504 UInt32 numAvail, mainLen, mainDist, numPairs, repIndex, repLen, i; in GetOptimumFast() local
1524 repLen = repIndex = 0; in GetOptimumFast()
1540 repIndex = i; in GetOptimumFast()
1574 *backRes = repIndex; in GetOptimumFast()