Searched refs:amount (Results 1 - 24 of 24) sorted by relevance

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dwield.c687 chwepon(otmp, amount)
689 register int amount;
691 const char *color = hcolor((amount < 0) ? NH_BLACK : NH_BLUE);
699 (amount >= 0) ? "twitch" : "itch");
701 exercise(A_DEX, (boolean) (amount >= 0));
707 if(uwep->otyp == WORM_TOOTH && amount >= 0) {
716 if(uwep->otyp == CRYSKNIFE && amount < 0) {
724 if (amount < 0 && uwep->oartifact && restrict_name(uwep, ONAME(uwep))) {
730 if(((uwep->spe > 5 && amount >= 0) || (uwep->spe < -5 && amount <
[all...]
H A Dshk.c90 Returns the amount actually paid, so we can know
94 money2mon(mon, amount)
96 long amount;
100 if (amount <= 0) {
101 impossible("%s payment in money2mon!", amount ? "negative" : "zero");
104 if (!ygold || ygold->quan < amount) {
109 if (ygold->quan > amount)
110 ygold = splitobj(ygold, amount);
116 return amount;
126 money2u(mon, amount)
[all...]
H A Dmkobj.c180 /* 2.5 x level's usual amount; weight adjusted below */
539 otmp->age = MAX_OIL_IN_FLASK; /* amount of oil */
870 mkgold(amount, x, y)
871 long amount;
876 if (amount <= 0L)
877 amount = (long)(1 + rnd(level_difficulty()+2) * rnd(30));
879 gold->quan += amount;
882 gold->quan = amount;
H A Dmakemon.c477 mkmonmoney(mtmp, amount)
479 long amount;
482 gold->quan = amount;
H A Dinvent.c615 currency(amount)
616 long amount;
618 if (amount == 1L) return "zorkmid";
1049 flags.botl = 1; /* May have changed the amount of money */
1619 * * Then obj == null and we are printing a total amount.
H A Dsp_lev.c1166 if (g->amount == -1)
1167 g->amount = rnd(200);
1168 (void) mkgold((long) g->amount, x, y);
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dwield.c687 chwepon(otmp, amount)
689 register int amount;
691 const char *color = hcolor((amount < 0) ? NH_BLACK : NH_BLUE);
699 (amount >= 0) ? "twitch" : "itch");
701 exercise(A_DEX, (boolean) (amount >= 0));
707 if(uwep->otyp == WORM_TOOTH && amount >= 0) {
716 if(uwep->otyp == CRYSKNIFE && amount < 0) {
724 if (amount < 0 && uwep->oartifact && restrict_name(uwep, ONAME(uwep))) {
730 if(((uwep->spe > 5 && amount >= 0) || (uwep->spe < -5 && amount <
[all...]
H A Dshk.c90 Returns the amount actually paid, so we can know
94 money2mon(mon, amount)
96 long amount;
100 if (amount <= 0) {
101 impossible("%s payment in money2mon!", amount ? "negative" : "zero");
104 if (!ygold || ygold->quan < amount) {
109 if (ygold->quan > amount)
110 ygold = splitobj(ygold, amount);
116 return amount;
126 money2u(mon, amount)
[all...]
H A Dmkobj.c180 /* 2.5 x level's usual amount; weight adjusted below */
539 otmp->age = MAX_OIL_IN_FLASK; /* amount of oil */
870 mkgold(amount, x, y)
871 long amount;
876 if (amount <= 0L)
877 amount = (long)(1 + rnd(level_difficulty()+2) * rnd(30));
879 gold->quan += amount;
882 gold->quan = amount;
H A Dmakemon.c477 mkmonmoney(mtmp, amount)
479 long amount;
482 gold->quan = amount;
H A Dinvent.c615 currency(amount)
616 long amount;
618 if (amount == 1L) return "zorkmid";
1049 flags.botl = 1; /* May have changed the amount of money */
1619 * * Then obj == null and we are printing a total amount.
H A Dsp_lev.c1166 if (g->amount == -1)
1167 g->amount = rnd(200);
1168 (void) mkgold((long) g->amount, x, y);
/seL4-refos-master/kernel/src/kernel/
H A Dsporadic.c213 /* schedule the used amount */
215 /* used amount is to small - merge with last and delay */
336 ticks_t amount = refill_head(sc)->rAmount; local
337 ticks_t tail = NODE_STATE_ON_CORE(ksCurTime, sc->scCore) + amount;
358 ticks_t amount = refill_head(sc)->rAmount; local
360 refill_head(sc)->rAmount += amount;
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dsp_lev.h116 int amount; member in struct:__anon712
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dsp_lev.h116 int amount; member in struct:__anon34
/seL4-refos-master/kernel/manual/parts/
H A Dthreads.tex132 amount of time consumed ($T - T_{s}$) and subtract that from the current replenishment being used.
137 of the time it is eligible for use (\emph{rTime}) and the amount that replenishment is for
149 Sporadic threads behave differently depending on the amount of replenishments available, which
560 message containing the scheduling context data word, as well as the amount of
H A Dcspace.tex61 that it will have, and this determines the amount of memory that it
67 amount of untyped memory (see \autoref{sec:object_sizes}). The caller
H A Dobjects.tex349 order to create new objects, and all objects consume a fixed amount of memory once
351 the specific amount of physical memory available to applications,
H A Dipc.tex99 \obj{Endpoint}s allow a small amount
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/doc/
H A DGuidebook.tex376 amount available.
1183 inside a shop. You will either be offered an amount of gold and asked
1202 The {\tt \$} command, which reports the amount of gold you are carrying
1350 to your load. The amount that you can carry depends on your strength and
1445 The chance that an attack will successfully hit a monster, and the amount
1563 the amount of damage done when you do hit; at basic level, there is no
1565 chance to hit and amount of damage done; at expert level, the bonus is
1892 of monsters in the dungeon that may be influenced by the amount of gold
2534 Controls the amount of screen updating for the map window when engaged
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/doc/
H A DGuidebook.tex376 amount available.
1183 inside a shop. You will either be offered an amount of gold and asked
1202 The {\tt \$} command, which reports the amount of gold you are carrying
1350 to your load. The amount that you can carry depends on your strength and
1445 The chance that an attack will successfully hit a monster, and the amount
1563 the amount of damage done when you do hit; at basic level, there is no
1565 chance to hit and amount of damage done; at expert level, the bonus is
1892 of monsters in the dungeon that may be influenced by the amount of gold
2534 Controls the amount of screen updating for the map window when engaged
/seL4-refos-master/projects/refos/design/
H A Dintro.tex71 \refOS is designed under the assumption that synchronous call and reply interprocess communication messages may contain capabilities. \refOS also assumes that there is some way to store a minimal amount of immutable information in such capabilities and that receiving processes may read the immutable information from the capabilities that they receive via interprocess communication.
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/sys/share/
H A Dlev_yacc.c836 "gold_detail : GOLD_ID ':' amount ',' coordinate",
875 "amount : INTEGER",
876 "amount : RANDOM_TYPE",
2179 tmpgold[ngold]->amount = yyvsp[-2].i;
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/sys/share/
H A Dlev_yacc.c836 "gold_detail : GOLD_ID ':' amount ',' coordinate",
875 "amount : INTEGER",
876 "amount : RANDOM_TYPE",
2179 tmpgold[ngold]->amount = yyvsp[-2].i;

Completed in 420 milliseconds