Home
last modified time | relevance | path

Searched refs:WEIGHT (Results 1 – 3 of 3) sorted by relevance

/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dzstd_opt.c30 # define WEIGHT(stat) ((void)opt, ZSTD_bitWeight(stat))
34 # define WEIGHT(stat,opt) ((void)opt, ZSTD_fracWeight(stat)) macro
38 # define WEIGHT(stat,opt) (opt ? ZSTD_fracWeight(stat) : ZSTD_bitWeight(stat)) macro
75 optPtr->litSumBasePrice = WEIGHT(optPtr->litSum, optLevel); in ZSTD_setBasePrices()
76 optPtr->litLengthSumBasePrice = WEIGHT(optPtr->litLengthSum, optLevel); in ZSTD_setBasePrices()
77 optPtr->matchLengthSumBasePrice = WEIGHT(optPtr->matchLengthSum, optLevel); in ZSTD_setBasePrices()
78 optPtr->offCodeSumBasePrice = WEIGHT(optPtr->offCodeSum, optLevel); in ZSTD_setBasePrices()
232 price -= WEIGHT(optPtr->litFreq[literals[u]], optLevel); in ZSTD_rawLiteralsCost()
242 if (optPtr->priceType == zop_predef) return WEIGHT(litLength, optLevel); in ZSTD_litLengthPrice()
248 - WEIGHT(optPtr->litLengthFreq[llCode], optLevel); in ZSTD_litLengthPrice()
[all …]
/f-stack/tools/route/
H A Droute.c1869 printf("%8lu%c ", rtm->rtm_rmx.rmx_weight, lock(WEIGHT));
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.c20176 # define WEIGHT(stat) ((void)opt, ZSTD_bitWeight(stat))
20180 # define WEIGHT(stat,opt) ((void)opt, ZSTD_fracWeight(stat)) macro
20184 # define WEIGHT(stat,opt) (opt ? ZSTD_fracWeight(stat) : ZSTD_bitWeight(stat)) macro
20221 optPtr->litSumBasePrice = WEIGHT(optPtr->litSum, optLevel); in ZSTD_setBasePrices()
20222 optPtr->litLengthSumBasePrice = WEIGHT(optPtr->litLengthSum, optLevel); in ZSTD_setBasePrices()
20223 optPtr->matchLengthSumBasePrice = WEIGHT(optPtr->matchLengthSum, optLevel); in ZSTD_setBasePrices()
20224 optPtr->offCodeSumBasePrice = WEIGHT(optPtr->offCodeSum, optLevel); in ZSTD_setBasePrices()
20378 price -= WEIGHT(optPtr->litFreq[literals[u]], optLevel); in ZSTD_rawLiteralsCost()
20388 if (optPtr->priceType == zop_predef) return WEIGHT(litLength, optLevel); in ZSTD_litLengthPrice()
20394 - WEIGHT(optPtr->litLengthFreq[llCode], optLevel); in ZSTD_litLengthPrice()
[all …]