| /netbsd-src/external/bsd/ntp/dist/util/ |
| H A D | jitter.c | 38 double dtemp, gtod[NBUF]; in main() local 70 dtemp = gtod[j]; in main() 72 gtod[i] = dtemp; in main() 96 double dtemp; in get_systime() local 110 dtemp = ts.tv_nsec / 1e9; in get_systime() 120 dtemp = tv.tv_usec / 1e6; in get_systime() 127 dtemp += sys_residual; in get_systime() 128 if (dtemp >= 1) { in get_systime() 129 dtemp -= 1; in get_systime() 131 } else if (dtemp < -1) { in get_systime() [all …]
|
| /netbsd-src/games/phantasia/ |
| H A D | fight.c | 648 double dtemp; /* for dtemporary calculations */ in throwspell() local 720 dtemp = floor(infloat()); in throwspell() 722 while (dtemp < 0.0 || dtemp > Player.p_mana); in throwspell() 724 Player.p_mana -= dtemp; in throwspell() 731 inflict = dtemp * ROLL(15.0, sqrt(Player.p_magiclvl / 3.0 + 1.0)); in throwspell() 940 double dtemp; /* for temporary calculations */ in awardtreasure() local 1042 dtemp = ROLL(7.0, 30.0 + Circle / 10.0); in awardtreasure() 1043 printw("You've found a +%.0f shield!\n", dtemp); in awardtreasure() 1044 if (dtemp >= Player.p_shield) in awardtreasure() 1045 Player.p_shield = dtemp; in awardtreasure() [all …]
|
| H A D | gamesupport.c | 32 double dtemp; /* temporary variable */ in changestats() local 317 dtemp = infloat(); in changestats() 318 if (dtemp != 0.0) in changestats() 319 playerp->p_age = (long) dtemp; in changestats() 324 dtemp = infloat(); in changestats() 325 if (dtemp != 0.0) in changestats() 326 playerp->p_degenerated = (int) dtemp; in changestats() 425 dtemp = infloat(); in changestats() 426 if (dtemp != 0.0) in changestats() 427 *dptr = dtemp; in changestats() [all …]
|
| H A D | misc.c | 781 double dtemp; /* for temporary calculations */ in adjuststats() local 795 dtemp = ((Player.p_gold + Player.p_gems / 2.0) - 1000.0) / Statptr->c_goldtote in adjuststats() 797 dtemp = MAX(0.0, dtemp);/* gold slows player down */ in adjuststats() 798 Player.p_speed = Player.p_quickness + Player.p_quksilver - dtemp; in adjuststats() 804 dtemp = 1.0 - Player.p_poison * Statptr->c_weakness / 800.0; in adjuststats() 805 dtemp = MAX(0.1, dtemp); in adjuststats() 807 dtemp = 1.0; in adjuststats() 808 Player.p_might = dtemp * Player.p_strength + Player.p_sword; in adjuststats() 1025 double dtemp; /* for temporary calculations */ in collecttaxes() local 1039 dtemp = floor(taxes / N_GEMVALUE + 1.0); /* number of gems to in collecttaxes() [all …]
|
| H A D | interplayer.c | 67 double dtemp; /* for temporary calculations */ in battleplayer() local 96 dtemp = (Player.p_level - Other.p_level) / MAX(Player.p_level, Other.p_level); in battleplayer() 97 if (dtemp < -0.5) in battleplayer() 214 dtemp = Other.p_1scratch - oldhits; in battleplayer() 215 mvprintw(Lines++, 0, "%s hit you %.0f times!", Enemyname, dtemp); in battleplayer() 216 Shield -= dtemp; in battleplayer() 295 double dtemp; /* for temporary calculations */ in myturn() local 310 dtemp = ROLL(2.0, Player.p_might); in myturn() 312 mvprintw(Lines++, 0, "You hit %s %.0f times!", Enemyname, dtemp); in myturn() 314 Player.p_1scratch += dtemp; in myturn() [all …]
|
| H A D | main.c | 93 double dtemp; /* for temporary calculations */ in main() local 235 && (dtemp = fabs(Player.p_x)) == fabs(Player.p_y) in main() 240 dtemp = sqrt(dtemp / 100.0); in main() 241 if (floor(dtemp) == dtemp) in main()
|
| /netbsd-src/external/bsd/ntp/dist/ntpd/ |
| H A D | ntpsim.c | 557 double dtemp; local 567 dtemp = now + sys_residual; 568 if (dtemp < 0) { 570 dtemp = -dtemp; 572 adjtv.tv_sec = (long)dtemp; 573 dtemp -= adjtv.tv_sec; 574 ticks = (long)(dtemp / sys_tick + .5); 576 dtemp -= adjtv.tv_usec / 1e6; 577 sys_residual = dtemp;
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | valtrack.cc | 283 dead_debug_global_insert (struct dead_debug_global *global, rtx reg, rtx dtemp) in dead_debug_global_insert() argument 287 temp_entry.dtemp = dtemp; in dead_debug_global_insert() 325 if (!entry->dtemp) in dead_debug_global_replace_temp() 328 *DF_REF_REAL_LOC (use) = entry->dtemp; in dead_debug_global_replace_temp() 438 gcc_checking_assert (entry->dtemp); in dead_debug_promote_uses() 467 DEBUG_EXPR_TREE_DECL (entry->dtemp), in dead_debug_promote_uses() 474 entry->dtemp = NULL; in dead_debug_promote_uses() 643 dval = entry->dtemp; in dead_debug_insert_temp()
|
| H A D | valtrack.h | 34 rtx dtemp; member
|
| H A D | cfgexpand.cc | 2844 tree dtemp; in expand_call_stmt() local 2847 for (ix = 1; (*debug_args)->iterate (ix, &dtemp); ix += 2) in expand_call_stmt() 2849 gcc_assert (TREE_CODE (dtemp) == DEBUG_EXPR_DECL); in expand_call_stmt() 2850 expand_debug_expr (dtemp); in expand_call_stmt()
|
| H A D | var-tracking.cc | 6524 tree dtemp = (**debug_args)[ix + 1]; in prepare_call_arguments() local 6525 machine_mode mode = DECL_MODE (dtemp); in prepare_call_arguments() 6527 item = gen_rtx_CONCAT (mode, item, DECL_RTL_KNOWN_SET (dtemp)); in prepare_call_arguments()
|
| H A D | ChangeLog-2012 | 5910 * valtrack.c (dead_debug_global_find): Accept NULL dtemp. 5913 longer in place, or if dtemp was already substituted. 5917 (dead_debug_insert_temp): Stop if dtemp is NULL.
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | valtrack.c | 284 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() 644 dval = entry->dtemp; in dead_debug_insert_temp()
|
| H A D | valtrack.h | 34 rtx dtemp; member
|
| H A D | cfgexpand.c | 2690 tree dtemp; in expand_call_stmt() local 2693 for (ix = 1; (*debug_args)->iterate (ix, &dtemp); ix += 2) in expand_call_stmt() 2695 gcc_assert (TREE_CODE (dtemp) == DEBUG_EXPR_DECL); in expand_call_stmt() 2696 expand_debug_expr (dtemp); in expand_call_stmt()
|
| H A D | var-tracking.c | 6518 tree dtemp = (**debug_args)[ix + 1]; in prepare_call_arguments() local 6519 machine_mode mode = DECL_MODE (dtemp); in prepare_call_arguments() 6521 item = gen_rtx_CONCAT (mode, item, DECL_RTL_KNOWN_SET (dtemp)); in prepare_call_arguments()
|
| /netbsd-src/external/bsd/ntp/dist/ntpdate/ |
| H A D | ntpdate.c | 2090 double dtemp; in l_step_systime() local 2113 LFPTOD(ts, dtemp); in l_step_systime() 2114 n = step_systime(dtemp); in l_step_systime() 2131 LFPTOD(ts, dtemp); in l_step_systime() 2132 return step_systime(dtemp); in l_step_systime() 2140 LFPTOD(ts, dtemp); in l_step_systime() 2141 return step_systime(dtemp); in l_step_systime()
|
| /netbsd-src/external/bsd/ntp/dist/ |
| H A D | CommitLog-4.1.0 | 1132 Typo grabbing the dtemp value and in the sdisp calculation. 1147 SQUARE(). peer->jitter uses dtemp instead of SQUARE().
|