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