Home
last modified time | relevance | path

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

/third_party/lzma/Java/SevenZip/Compression/LZMA/
H A DEncoder.java461 int GetPureRepPrice(int repIndex, int state, int posState) in GetPureRepPrice() argument
464 if (repIndex == 0) in GetPureRepPrice()
472 if (repIndex == 1) in GetPureRepPrice()
477 price += SevenZip.Compression.RangeCoder.Encoder.GetPrice(_isRepG2[state], repIndex - 2); in GetPureRepPrice()
483 int GetRepPrice(int repIndex, int len, int state, int posState) in GetRepPrice() argument
486 return price + GetPureRepPrice(repIndex, state, posState); in GetRepPrice()
881 for (int repIndex = 0; repIndex < Base.kNumRepDistances; repIndex++) in GetOptimum()
883 int lenTest = _matchFinder.GetMatchLen(0 - 1, reps[repIndex], numAvailableByte in GetOptimum()
[all...]
/third_party/lzma/CS/7zip/Compress/LZMA/
H A DLzmaEncoder.cs461 UInt32 GetPureRepPrice(UInt32 repIndex, Base.State state, UInt32 posState) in GetPureRepPrice() argument
464 if (repIndex == 0) in GetPureRepPrice()
472 if (repIndex == 1) in GetPureRepPrice()
477 price += _isRepG2[state.Index].GetPrice(repIndex - 2); in GetPureRepPrice()
483 UInt32 GetRepPrice(UInt32 repIndex, UInt32 len, Base.State state, UInt32 posState) in GetRepPrice() argument
486 return price + GetPureRepPrice(repIndex, state, posState); in GetRepPrice()
881 for (UInt32 repIndex = 0; repIndex < Base.kNumRepDistances; repIndex++) in GetOptimum()
883 UInt32 lenTest = _matchFinder.GetMatchLen(0 - 1, reps[repIndex], numAvailableByte in GetOptimum()
[all...]
/third_party/lzma/C/
H A DLzmaEnc.c1142 static UInt32 GetPrice_PureRep(const CLzmaEnc *p, unsigned repIndex, size_t state, size_t posState) in GetPrice_PureRep() argument
1146 if (repIndex == 0) in GetPrice_PureRep()
1155 if (repIndex == 1) in GetPrice_PureRep()
1160 price += GET_PRICE(p->isRepG2[state], repIndex - 2); in GetPrice_PureRep()
1722 unsigned repIndex = 0; // 17.old in GetOptimum() local
1723 // unsigned repIndex = IsLitState(state) ? 0 : 1; // 18.notused in GetOptimum()
1724 for (; repIndex < LZMA_NUM_REPS; repIndex++) in GetOptimum()
1728 const Byte *data2 = data - reps[repIndex]; in GetOptimum()
1744 price = repMatchPrice + GetPrice_PureRep(p, repIndex, stat in GetOptimum()
1973 unsigned mainLen, numPairs, repIndex, repLen, i; GetOptimumFast() local
[all...]

Completed in 6 milliseconds