Home
last modified time | relevance | path

Searched refs:price (Results 1 – 25 of 187) sorted by relevance

12345678

/external/lz4/lib/
Dlz4opt.h47 int price; member
57 size_t price = 8*litlen; in LZ4HC_literalsPrice() local
58 if (litlen >= (size_t)RUN_MASK) price+=8*(1+(litlen-RUN_MASK)/255); in LZ4HC_literalsPrice()
59 return price; in LZ4HC_literalsPrice()
66 size_t price = 16 + 8; /* 16-bit offset + token */ in LZ4HC_sequencePrice() local
68 price += LZ4HC_literalsPrice(litlen); in LZ4HC_sequencePrice()
71 if (mlen >= (size_t)ML_MASK) price+=8*(1+(mlen-ML_MASK)/255); in LZ4HC_sequencePrice()
73 return price; in LZ4HC_sequencePrice()
195 #define SET_PRICE(pos, mlen, offset, litlen, price) \ argument
197 while (last_pos < pos) { opt[last_pos+1].price = 1<<30; last_pos++; } \
[all …]
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/
DLZMAEncoderNormal.java192 if (shortRepPrice < opts[1].price) in getNextSymbol()
230 int price = longRepPrice + repLenEncoder.getPrice(repLen, in getNextSymbol() local
232 if (price < opts[repLen].price) in getNextSymbol()
233 opts[repLen].set1(price, 0, rep); in getNextSymbol()
252 int price = getMatchAndLenPrice(normalMatchPrice, in getNextSymbol() local
254 if (price < opts[len].price) in getNextSymbol()
255 opts[len].set1(price, 0, dist + REPS); in getNextSymbol()
283 anyMatchPrice = opts[optCur].price in getNextSymbol()
380 int literalPrice = opts[optCur].price
383 if (literalPrice < opts[optCur + 1].price) {
[all …]
DLZMAEncoder.java380 int price = anyRepPrice; in getLongRepPrice() local
383 price += RangeEncoder.getBitPrice(isRep0[state.get()], 0) in getLongRepPrice()
387 price += RangeEncoder.getBitPrice(isRep0[state.get()], 1); in getLongRepPrice()
390 price += RangeEncoder.getBitPrice(isRep1[state.get()], 0); in getLongRepPrice()
392 price += RangeEncoder.getBitPrice(isRep1[state.get()], 1) in getLongRepPrice()
397 return price; in getLongRepPrice()
409 int price = normalMatchPrice in getMatchAndLenPrice() local
414 price += fullDistPrices[distState][dist]; in getMatchAndLenPrice()
419 price += distSlotPrices[distState][distSlot] in getMatchAndLenPrice()
423 return price; in getMatchAndLenPrice()
[all …]
DOptimum.java22 int price; field in Optimum
36 price = INFINITY_PRICE; in reset()
43 price = newPrice; in set1()
53 price = newPrice; in set2()
65 price = newPrice; in set3()
/external/lzma/Java/SevenZip/Compression/RangeCoder/
DBitTreeEncoder.java46 int price = 0; in GetPrice() local
52 price += Encoder.GetPrice(Models[m], bit); in GetPrice()
55 return price; in GetPrice()
60 int price = 0; in ReverseGetPrice() local
66 price += Encoder.GetPrice(Models[m], bit); in ReverseGetPrice()
69 return price; in ReverseGetPrice()
75 int price = 0; in ReverseGetPrice() local
81 price += Encoder.GetPrice(Models[startIndex + m], bit); in ReverseGetPrice()
84 return price; in ReverseGetPrice()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/extensions/compactnotation/
DItem.java20 private String price; field in Item
28 return price; in getPrice()
31 public void setPrice(String price) { in setPrice() argument
32 this.price = price; in setPrice()
/external/lzma/CS/7zip/Compress/RangeCoder/
DRangeCoderBitTree.cs48 UInt32 price = 0; in GetPrice()
54 price += Models[m].GetPrice(bit); in GetPrice()
57 return price; in GetPrice()
62 UInt32 price = 0; in ReverseGetPrice()
68 price += Models[m].GetPrice(bit); in ReverseGetPrice()
71 return price; in ReverseGetPrice()
77 UInt32 price = 0; in ReverseGetPrice()
83 price += Models[startIndex + m].GetPrice(bit); in ReverseGetPrice()
86 return price; in ReverseGetPrice()
/external/lzma/Java/Tukaani/src/org/tukaani/xz/rangecoder/
DRangeEncoder.java149 int price = 0; in getBitTreePrice() local
155 price += getBitPrice(probs[symbol], bit); in getBitTreePrice()
158 return price; in getBitTreePrice()
174 int price = 0; in getReverseBitTreePrice() local
181 price += getBitPrice(probs[index], bit); in getReverseBitTreePrice()
185 return price; in getReverseBitTreePrice()
/external/lzma/C/
DLzmaEnc.c181 UInt32 price; member
688 UInt32 price = 0; in LitEnc_GetPrice() local
692 price += GET_PRICEa(probs[symbol >> 8], (symbol >> 7) & 1); in LitEnc_GetPrice()
696 return price; in LitEnc_GetPrice()
701 UInt32 price = 0; in LitEnc_GetPriceMatched() local
707 price += GET_PRICEa(probs[offs + (matchByte & offs) + (symbol >> 8)], (symbol >> 7) & 1); in LitEnc_GetPriceMatched()
712 return price; in LitEnc_GetPriceMatched()
745 UInt32 price = 0; in RcTree_GetPrice() local
749 price += GET_PRICEa(probs[symbol >> 1], symbol & 1); in RcTree_GetPrice()
752 return price; in RcTree_GetPrice()
[all …]
/external/lzma/Java/SevenZip/Compression/LZMA/
DEncoder.java110 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()
[all …]
/external/snakeyaml/src/test/resources/pyyaml/
Dspec-02-27.data19 price : 450.00
23 price : 2392.00
/external/llvm/test/YAMLParser/
Dspec-02-27.test21 price : 450.00
25 price : 2392.00
/external/lzma/CS/7zip/Compress/LZMA/
DLzmaEncoder.cs110 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()
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()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DProduct.java22 public Float price; field in Product
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
DFactoryProviderTest.java241 assertEquals(50000d, grayPorshe.price); in testMethodsAndFieldsGetInjected()
248 private final double price; field in FactoryProviderTest.Porshe
253 public Porshe(@Assisted Color color, double price) { in Porshe() argument
255 this.price = price; in Porshe()
DFactoryProvider2Test.java206 assertEquals(50000d, grayPorsche.price); in testMethodsAndFieldsGetInjected()
213 private final double price; field in FactoryProvider2Test.Porsche
218 public Porsche(@Assisted Color color, double price) { in Porsche() argument
220 this.price = price; in Porsche()
/external/lzma/C/Util/SfxSetup/
DSfxSetup.c451 unsigned price = namePrice + extPrice * 64 + (nameStartPos == 0 ? 0 : (1 << 12)); in main() local
452 if (minPrice > price) in main()
454 minPrice = price; in main()
/external/zlib/src/contrib/masmx64/
Dreadme.txt31 http://www.microsoft.com/whdc/devtools/ddk/default.mspx for low price)
/external/llvm/unittests/Support/
DYAMLIOTest.cpp902 int price; member
916 io.mapRequired("price", s.price); in mapping()
955 map.price = 350; in TEST()
973 EXPECT_EQ(map2.price, 350); in TEST()
/external/python/cpython2/Doc/tutorial/
Dintroduction.rst117 >>> price = 100.50
118 >>> price * tax
120 >>> price + _
/external/python/cpython2/Doc/library/
Dsqlite3.rst37 (date text, trans text, symbol text, qty real, price real)''')
89 >>> for row in c.execute('SELECT * FROM stocks ORDER BY price'):
643 qty real, price real)''')
665 ['date', 'trans', 'symbol', 'qty', 'price']
/external/dnsmasq/
DCOPYING-v323 price. Our General Public Licenses are designed to make sure that you
205 You may charge any price or no price for each copy that you convey,
264 medium customarily used for software interchange, for a price no
/external/elfutils/
DCOPYING23 price. Our General Public Licenses are designed to make sure that you
205 You may charge any price or no price for each copy that you convey,
264 medium customarily used for software interchange, for a price no
/external/libnl/doc/
DCOPYING23 price. Our General Public Licenses are designed to make sure that you
205 You may charge any price or no price for each copy that you convey,
264 medium customarily used for software interchange, for a price no
/external/eigen/
DCOPYING.GPL23 price. Our General Public Licenses are designed to make sure that you
205 You may charge any price or no price for each copy that you convey,
264 medium customarily used for software interchange, for a price no

12345678