Lines Matching full:price
110 uint price = 0; in GetPrice()
119 price += m_Encoders[((1 + matchBit) << 8) + context].GetPrice(bit); in GetPrice()
131 price += m_Encoders[context].GetPrice(bit); in GetPrice()
134 return price; in GetPrice()
290 public UInt32 Price; field in SevenZip.Compression.LZMA.Encoder.Optimal
463 UInt32 price; in GetPureRepPrice()
466 price = _isRepG0[state.Index].GetPrice0(); in GetPureRepPrice()
467 price += _isRep0Long[(state.Index << Base.kNumPosStatesBitsMax) + posState].GetPrice1(); in GetPureRepPrice()
471 price = _isRepG0[state.Index].GetPrice1(); in GetPureRepPrice()
473 price += _isRepG1[state.Index].GetPrice0(); in GetPureRepPrice()
476 price += _isRepG1[state.Index].GetPrice1(); in GetPureRepPrice()
477 price += _isRepG2[state.Index].GetPrice(repIndex - 2); in GetPureRepPrice()
480 return price; in GetPureRepPrice()
485 UInt32 price = _repMatchLenEncoder.GetPrice(len - Base.kMatchMinLen, posState); in GetRepPrice()
486 return price + GetPureRepPrice(repIndex, state, posState); in GetRepPrice()
491 UInt32 price; in GetPosLenPrice()
494 price = _distancesPrices[(lenToPosState * Base.kNumFullDistances) + pos]; in GetPosLenPrice()
496 price = _posSlotPrices[(lenToPosState << Base.kNumPosSlotBits) + GetPosSlot2(pos)] + in GetPosLenPrice()
498 return price + _lenEncoder.GetPrice(len - Base.kMatchMinLen, posState); in GetPosLenPrice()
608 … _optimum[1].Price = _isMatch[(_state.Index << Base.kNumPosStatesBitsMax) + posState].GetPrice0() + in GetOptimum()
618 if (shortRepPrice < _optimum[1].Price) in GetOptimum()
620 _optimum[1].Price = shortRepPrice; in GetOptimum()
642 _optimum[len--].Price = kIfinityPrice; in GetOptimum()
650 UInt32 price = repMatchPrice + GetPureRepPrice(i, _state, posState); in GetOptimum()
653 UInt32 curAndLenPrice = price + _repMatchLenEncoder.GetPrice(repLen - 2, posState); in GetOptimum()
655 if (curAndLenPrice < optimum.Price) in GetOptimum()
657 optimum.Price = curAndLenPrice; in GetOptimum()
679 if (curAndLenPrice < optimum.Price) in GetOptimum()
681 optimum.Price = curAndLenPrice; in GetOptimum()
800 UInt32 curPrice = _optimum[cur].Price; in GetOptimum()
815 if (curAnd1Price < nextOptimum.Price) in GetOptimum()
817 nextOptimum.Price = curAnd1Price; in GetOptimum()
830 if (shortRepPrice <= nextOptimum.Price) in GetOptimum()
832 nextOptimum.Price = shortRepPrice; in GetOptimum()
863 _optimum[++lenEnd].Price = kIfinityPrice; in GetOptimum()
867 if (curAndLenPrice < optimum.Price) in GetOptimum()
869 optimum.Price = curAndLenPrice; in GetOptimum()
890 _optimum[++lenEnd].Price = kIfinityPrice; in GetOptimum()
893 if (curAndLenPrice < optimum.Price) in GetOptimum()
895 optimum.Price = curAndLenPrice; in GetOptimum()
933 _optimum[++lenEnd].Price = kIfinityPrice; in GetOptimum()
936 if (curAndLenPrice < optimum.Price) in GetOptimum()
938 optimum.Price = curAndLenPrice; in GetOptimum()
962 _optimum[++lenEnd].Price = kIfinityPrice; in GetOptimum()
973 if (curAndLenPrice < optimum.Price) in GetOptimum()
975 optimum.Price = curAndLenPrice; in GetOptimum()
1006 _optimum[++lenEnd].Price = kIfinityPrice; in GetOptimum()
1009 if (curAndLenPrice < optimum.Price) in GetOptimum()
1011 optimum.Price = curAndLenPrice; in GetOptimum()