Home
last modified time | relevance | path

Searched refs:repIndex (Results 1 – 1 of 1) sorted by relevance

/titanic_50/usr/src/common/lzma/
H A DLzmaEnc.c883 static UInt32 GetPureRepPrice(CLzmaEnc *p, UInt32 repIndex, UInt32 state, UInt32 posState) in GetPureRepPrice() argument
886 if (repIndex == 0) in GetPureRepPrice()
894 if (repIndex == 1) in GetPureRepPrice()
899 price += GET_PRICE(p->isRepG2[state], repIndex - 2); in GetPureRepPrice()
905 static UInt32 GetRepPrice(CLzmaEnc *p, UInt32 repIndex, UInt32 len, UInt32 state, UInt32 posState) in GetRepPrice() argument
908 GetPureRepPrice(p, repIndex, state, posState); in GetRepPrice()
1329 UInt32 repIndex; in GetOptimum() local
1330 for (repIndex = 0; repIndex < LZMA_NUM_REPS; repIndex++) in GetOptimum()
1335 const Byte *data2 = data - (reps[repIndex] + 1); in GetOptimum()
1342 price = repMatchPrice + GetPureRepPrice(p, repIndex, state, posState); in GetOptimum()
[all …]