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