• Home
  • Raw
  • Download

Lines Matching refs:price

110 				int price = 0;  in GetPrice()  local
119price += SevenZip.Compression.RangeCoder.Encoder.GetPrice(m_Encoders[((1 + matchBit) << 8) + conte… in GetPrice()
131 price += SevenZip.Compression.RangeCoder.Encoder.GetPrice(m_Encoders[context], bit); in GetPrice()
134 return price; in GetPrice()
463 int price; in GetPureRepPrice() local
466 price = SevenZip.Compression.RangeCoder.Encoder.GetPrice0(_isRepG0[state]); in GetPureRepPrice()
467price += SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isRep0Long[(state << Base.kNumPosState… in GetPureRepPrice()
471 price = SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isRepG0[state]); in GetPureRepPrice()
473 price += SevenZip.Compression.RangeCoder.Encoder.GetPrice0(_isRepG1[state]); in GetPureRepPrice()
476 price += SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isRepG1[state]); in GetPureRepPrice()
477 price += SevenZip.Compression.RangeCoder.Encoder.GetPrice(_isRepG2[state], repIndex - 2); in GetPureRepPrice()
480 return price; in GetPureRepPrice()
485 int price = _repMatchLenEncoder.GetPrice(len - Base.kMatchMinLen, posState); in GetRepPrice() local
486 return price + GetPureRepPrice(repIndex, state, posState); in GetRepPrice()
491 int price; in GetPosLenPrice() local
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()
650 int price = repMatchPrice + GetPureRepPrice(i, _state, posState); in GetOptimum() local
653 int curAndLenPrice = price + _repMatchLenEncoder.GetPrice(repLen - 2, posState); in GetOptimum()