Lines Matching defs:repIndex
863 static UInt32 GetPureRepPrice(CLzmaEnc *p, UInt32 repIndex, UInt32 state, UInt32 posState)
866 if (repIndex == 0)
874 if (repIndex == 1)
879 price += GET_PRICE(p->isRepG2[state], repIndex - 2);
885 static UInt32 GetRepPrice(CLzmaEnc *p, UInt32 repIndex, UInt32 len, UInt32 state, UInt32 posState)
888 GetPureRepPrice(p, repIndex, state, posState);
1309 UInt32 repIndex;
1310 for (repIndex = 0; repIndex < LZMA_NUM_REPS; repIndex++)
1315 const Byte *data2 = data - (reps[repIndex] + 1);
1322 price = repMatchPrice + GetPureRepPrice(p, repIndex, state, posState);
1331 opt->backPrev = repIndex;
1338 if (repIndex == 0)
1382 opt->backPrev2 = repIndex;
1491 UInt32 numAvail, mainLen, mainDist, numPairs, repIndex, repLen, i;
1511 repLen = repIndex = 0;
1527 repIndex = i;
1561 *backRes = repIndex;