Home
last modified time | relevance | path

Searched refs:dtemp (Results 1 – 13 of 13) sorted by relevance

/dragonfly/games/phantasia/
HDfight.c700 double dtemp; /* for dtemporary calculations */ in throwspell() local
767 dtemp = floor(infloat()); in throwspell()
768 } while (dtemp < 0.0 || dtemp > Player.p_mana); in throwspell()
770 Player.p_mana -= dtemp; in throwspell()
776 … inflict = dtemp * ROLL(15.0, sqrt(Player.p_magiclvl / 3.0 + 1.0)); in throwspell()
1005 double dtemp; /* for temporary calculations */ in awardtreasure() local
1101 dtemp = ROLL(7.0, 30.0 + Circle / 10.0); in awardtreasure()
1102 printw("You've found a +%.0f shield!\n", dtemp); in awardtreasure()
1103 if (dtemp >= Player.p_shield) in awardtreasure()
1104 Player.p_shield = dtemp; in awardtreasure()
[all …]
HDgamesupport.c55 double dtemp; /* temporary variable */ in changestats() local
328 dtemp = infloat(); in changestats()
329 if (dtemp != 0.0) in changestats()
330 playerp->p_age = (long)dtemp; in changestats()
335 dtemp = infloat(); in changestats()
336 if (dtemp != 0.0) in changestats()
337 playerp->p_degenerated = (int)dtemp; in changestats()
436 dtemp = infloat(); in changestats()
437 if (dtemp != 0.0) in changestats()
438 *dptr = dtemp; in changestats()
[all …]
HDmisc.c960 double dtemp; /* for temporary calculations */ in adjuststats() local
974 dtemp = ((Player.p_gold + Player.p_gems / 2.0) - 1000.0) / Statptr->c_goldtote in adjuststats()
976 dtemp = MAX(0.0, dtemp); /* gold slows player down */ in adjuststats()
977 Player.p_speed = Player.p_quickness + Player.p_quksilver - dtemp; in adjuststats()
982 dtemp = 1.0 - Player.p_poison * Statptr->c_weakness / 800.0; in adjuststats()
983 dtemp = MAX(0.1, dtemp); in adjuststats()
985 dtemp = 1.0; in adjuststats()
986 Player.p_might = dtemp * Player.p_strength + Player.p_sword; in adjuststats()
1280 double dtemp; /* for temporary calculations */ in collecttaxes() local
1293 dtemp = floor(taxes / N_GEMVALUE + 1.0); in collecttaxes()
[all …]
HDinterplayer.c95 double dtemp; /* for temporary calculations */ in battleplayer() local
122 dtemp = (Player.p_level - Other.p_level) / MAX(Player.p_level, Other.p_level); in battleplayer()
123 if (dtemp < -0.5) in battleplayer()
227 dtemp = Other.p_1scratch - oldhits; in battleplayer()
228 … mvprintw(Lines++, 0, "%s hit you %.0f times!", Enemyname, dtemp); in battleplayer()
229 Shield -= dtemp; in battleplayer()
317 double dtemp; /* for temporary calculations */ in myturn() local
332 dtemp = ROLL(2.0, Player.p_might); in myturn()
334 mvprintw(Lines++, 0, "You hit %s %.0f times!", Enemyname, dtemp); in myturn()
336 Player.p_1scratch += dtemp; in myturn()
[all …]
HDmain.c89 double dtemp; /* for temporary calculations */ in main() local
222 && (dtemp = fabs(Player.p_x)) == fabs(Player.p_y) in main()
226 dtemp = sqrt(dtemp / 100.0); in main()
227 if (floor(dtemp) == dtemp) { in main()
/dragonfly/contrib/gcc-8.0/gcc/
HDvaltrack.c284 dead_debug_global_insert (struct dead_debug_global *global, rtx reg, rtx dtemp) in dead_debug_global_insert() argument
288 temp_entry.dtemp = dtemp; in dead_debug_global_insert()
326 if (!entry->dtemp) in dead_debug_global_replace_temp()
329 *DF_REF_REAL_LOC (use) = entry->dtemp; in dead_debug_global_replace_temp()
439 gcc_checking_assert (entry->dtemp); in dead_debug_promote_uses()
468 DEBUG_EXPR_TREE_DECL (entry->dtemp), in dead_debug_promote_uses()
475 entry->dtemp = NULL; in dead_debug_promote_uses()
642 dval = entry->dtemp; in dead_debug_insert_temp()
HDvaltrack.h34 rtx dtemp; member
HDcfgexpand.c2689 tree dtemp; in expand_call_stmt() local
2692 for (ix = 1; (*debug_args)->iterate (ix, &dtemp); ix += 2) in expand_call_stmt()
2694 gcc_assert (TREE_CODE (dtemp) == DEBUG_EXPR_DECL); in expand_call_stmt()
2695 expand_debug_expr (dtemp); in expand_call_stmt()
HDvar-tracking.c6514 tree dtemp = (**debug_args)[ix + 1]; in prepare_call_arguments() local
6515 machine_mode mode = DECL_MODE (dtemp); in prepare_call_arguments()
6517 item = gen_rtx_CONCAT (mode, item, DECL_RTL_KNOWN_SET (dtemp)); in prepare_call_arguments()
/dragonfly/contrib/awk/
HDtran.c425 double dtemp; in get_str_val() local
465 else if (modf(vp->fval, &dtemp) == 0) /* it's integral */ \ in get_str_val()
/dragonfly/sys/bus/u4b/
HDusb_generic.c2069 struct usb_device_descriptor *dtemp; in ugen_ioctl_post() local
2124 dtemp = usbd_get_device_descriptor(f->udev); in ugen_ioctl_post()
2125 if (!dtemp) { in ugen_ioctl_post()
2129 *u.ddesc = *dtemp; in ugen_ioctl_post()
/dragonfly/contrib/gcc-4.7/gcc/
HDcfgexpand.c2065 tree dtemp; in expand_call_stmt() local
2068 for (ix = 1; VEC_iterate (tree, *debug_args, ix, dtemp); ix += 2) in expand_call_stmt()
2070 gcc_assert (TREE_CODE (dtemp) == DEBUG_EXPR_DECL); in expand_call_stmt()
2071 expand_debug_expr (dtemp); in expand_call_stmt()
HDvar-tracking.c5916 tree dtemp = VEC_index (tree, *debug_args, ix + 1); in prepare_call_arguments() local
5917 enum machine_mode mode = DECL_MODE (dtemp); in prepare_call_arguments()
5919 item = gen_rtx_CONCAT (mode, item, DECL_RTL_KNOWN_SET (dtemp)); in prepare_call_arguments()