Searched refs:WEIGHT (Results 1 – 11 of 11) sorted by relevance
| /dragonfly/games/battlestar/ |
| HD | command1.c | 215 if (WEIGHT > 5) in news() 216 WEIGHT -= 5; in news() 218 WEIGHT = 0; in news() 235 WEIGHT = 0; in news() 238 if (carrying > WEIGHT || encumber > CUMBER) in news()
|
| HD | cypher.c | 324 if (WEIGHT == 0) { in cypher() 336 carrying * 100 / WEIGHT); in cypher() 359 printf("%d kilogram%s\n", WEIGHT, in cypher() 360 (WEIGHT == 1 ? "." : "s.")); in cypher() 426 printf("WEIGHT (was %d) = ", WEIGHT); in cypher() 429 sscanf(buffer, "%d", &WEIGHT); in cypher()
|
| HD | save.c | 47 fread(&WEIGHT, sizeof WEIGHT, 1, fp); in restore() 101 fwrite(&WEIGHT, sizeof WEIGHT, 1, fp); in save()
|
| HD | globals.c | 35 int WEIGHT = MAXWEIGHT; variable
|
| HD | init.c | 125 WEIGHT = 9; /* that'll get him! */ in checkout()
|
| HD | command7.c | 69 hurt = rnd(50) % (WEIGHT - carrying) - in fight()
|
| HD | extern.h | 305 extern int WEIGHT;
|
| HD | command3.c | 192 WEIGHT = MAXWEIGHT; in drink()
|
| HD | command5.c | 134 WEIGHT = MAXWEIGHT; in love()
|
| HD | command4.c | 52 heavy = (carrying + objwt[value]) <= WEIGHT; in take()
|
| /dragonfly/contrib/zstd/lib/compress/ |
| HD | zstd_opt.c | 30 # 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() 231 …assert(WEIGHT(optPtr->litFreq[literals[u]], optLevel) <= optPtr->litSumBasePrice); /* literal co… in ZSTD_rawLiteralsCost() 232 price -= WEIGHT(optPtr->litFreq[literals[u]], optLevel); in ZSTD_rawLiteralsCost() 242 if (optPtr->priceType == zop_predef) return WEIGHT(litLength, optLevel); in ZSTD_litLengthPrice() [all …]
|