Home
last modified time | relevance | path

Searched full:price (Results 1 – 25 of 253) sorted by relevance

1234567891011

/external/lz4/lib/
Dlz4opt.h47 int price; member
54 /* price in bits */
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
[all …]
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/
DLZMAEncoderNormal.java176 // Calculate the price of encoding the current byte as a literal. in getNextSymbol()
192 if (shortRepPrice < opts[1].price) in getNextSymbol()
207 // those price calculation functions. (The price function above 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()
[all …]
DOptimum.java20 * Cumulative price of arriving to this byte.
22 int price; field in Optimum
33 * Resets the price.
36 price = INFINITY_PRICE; in reset()
43 price = newPrice; in set1()
53 price = newPrice; in set2()
65 price = newPrice; in set3()
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()
417 // the price of direct bits. in getMatchAndLenPrice()
419 price += distSlotPrices[distState][distSlot] in getMatchAndLenPrice()
[all …]
/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/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()
290 public int Price; field in Encoder.Optimal
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()
[all …]
/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/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()
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()
[all …]
/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/python/cpython2/Lib/test/
Dtest_MimeWriter.py22 price():INTEGER,
37 price = seller.price()
38 print 'Seller wants $', price, '... '
39 if price > self._maxprice:
126 price():INTEGER,
164 price = seller.price()
165 print 'Seller wants $', price, '... '
166 if price > self._maxprice:
/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/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/snakeyaml/src/test/resources/compactnotation/
Dexample11.yaml2 top: Item(id003, price=25.0, name=parrot)
3 bottom: Item(id004, price=3.5, name=sweet)
/external/snakeyaml/src/test/resources/specification/
Dexample2_27.yaml19 price : 450.00
23 price : 2392.00
Dexample2_27_dumped.yaml16 - {description: Basketball, price: 450.0, quantity: 4, sku: BL394D}
17 - {description: Super Hoop, price: 2392.0, quantity: 1, sku: BL4438H}
/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/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()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DProduct.java22 public Float price; field in Product
/external/zlib/src/contrib/masmx64/
Dreadme.txt31 http://www.microsoft.com/whdc/devtools/ddk/default.mspx for low price)
/external/proguard/docs/
Dtestimonials.html104 Its friendly license, attractive price tag, compelling performance, and
115 And, of course, the price is stunning:
/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/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/bison/doc/
Dgpl-3.0.texi29 price. Our General Public Licenses are designed to make sure that you
214 You may charge any price or no price for each copy that you convey,
283 for software interchange, for a price no more than your reasonable

1234567891011