Lines Matching refs:repIndex
886 static UInt32 GetPureRepPrice(CLzmaEnc *p, UInt32 repIndex, UInt32 state, UInt32 posState)
889 if (repIndex == 0)
897 if (repIndex == 1)
902 price += GET_PRICE(p->isRepG2[state], repIndex - 2);
908 static UInt32 GetRepPrice(CLzmaEnc *p, UInt32 repIndex, UInt32 len, UInt32 state, UInt32 posState)
911 GetPureRepPrice(p, repIndex, state, posState);
1332 UInt32 repIndex;
1333 for (repIndex = 0; repIndex < LZMA_NUM_REPS; repIndex++)
1338 const Byte *data2 = data - (reps[repIndex] + 1);
1345 price = repMatchPrice + GetPureRepPrice(p, repIndex, state, posState);
1354 opt->backPrev = repIndex;
1361 if (repIndex == 0)
1405 opt->backPrev2 = repIndex;
1514 UInt32 numAvail, mainLen, mainDist, numPairs, repIndex, repLen, i;
1534 repLen = repIndex = 0;
1550 repIndex = i;
1584 *backRes = repIndex;