Lines Matching refs:repIndex
461 int GetPureRepPrice(int repIndex, int state, int posState) in GetPureRepPrice() argument
464 if (repIndex == 0) in GetPureRepPrice()
472 if (repIndex == 1) in GetPureRepPrice()
477 price += SevenZip.Compression.RangeCoder.Encoder.GetPrice(_isRepG2[state], repIndex - 2); in GetPureRepPrice()
483 int GetRepPrice(int repIndex, int len, int state, int posState) in GetRepPrice() argument
486 return price + GetPureRepPrice(repIndex, state, posState); in GetRepPrice()
881 for (int repIndex = 0; repIndex < Base.kNumRepDistances; repIndex++) in GetOptimum()
883 int lenTest = _matchFinder.GetMatchLen(0 - 1, reps[repIndex], numAvailableBytes); in GetOptimum()
891 int curAndLenPrice = repMatchPrice + GetRepPrice(repIndex, lenTest, state, posState); in GetOptimum()
897 optimum.BackPrev = repIndex; in GetOptimum()
904 if (repIndex == 0) in GetOptimum()
911 int lenTest2 = _matchFinder.GetMatchLen(lenTest, reps[repIndex], t); in GetOptimum()
918 repMatchPrice + GetRepPrice(repIndex, lenTest, state, posState) + in GetOptimum()
922 _matchFinder.GetIndexByte(lenTest - 1 - (reps[repIndex] + 1)), in GetOptimum()
944 optimum.BackPrev2 = repIndex; in GetOptimum()