HomeSort by: relevance | last modified time | path
    Searched refs:dtemp (Results 1 - 25 of 30) sorted by relevancy

1 2

  /src/external/bsd/ntp/dist/util/
jitter.c 38 double dtemp, gtod[NBUF]; local
70 dtemp = gtod[j];
72 gtod[i] = dtemp;
96 double dtemp; local
110 dtemp = ts.tv_nsec / 1e9;
120 dtemp = tv.tv_usec / 1e6;
127 dtemp += sys_residual;
128 if (dtemp >= 1) {
129 dtemp -= 1;
131 } else if (dtemp < -1)
    [all...]
  /src/games/phantasia/
fight.c 648 double dtemp; /* for dtemporary calculations */ local
720 dtemp = floor(infloat());
722 while (dtemp < 0.0 || dtemp > Player.p_mana);
724 Player.p_mana -= dtemp;
731 inflict = dtemp * ROLL(15.0, sqrt(Player.p_magiclvl / 3.0 + 1.0));
940 double dtemp; /* for temporary calculations */ local
1042 dtemp = ROLL(7.0, 30.0 + Circle / 10.0);
1043 printw("You've found a +%.0f shield!\n", dtemp);
1044 if (dtemp >= Player.p_shield
    [all...]
gamesupport.c 32 double dtemp; /* temporary variable */ local
317 dtemp = infloat();
318 if (dtemp != 0.0)
319 playerp->p_age = (long) dtemp;
324 dtemp = infloat();
325 if (dtemp != 0.0)
326 playerp->p_degenerated = (int) dtemp;
425 dtemp = infloat();
426 if (dtemp != 0.0)
427 *dptr = dtemp;
    [all...]
interplayer.c 67 double dtemp; /* for temporary calculations */ local
96 dtemp = (Player.p_level - Other.p_level) / MAX(Player.p_level, Other.p_level);
97 if (dtemp < -0.5)
214 dtemp = Other.p_1scratch - oldhits;
215 mvprintw(Lines++, 0, "%s hit you %.0f times!", Enemyname, dtemp);
216 Shield -= dtemp;
295 double dtemp; /* for temporary calculations */ local
310 dtemp = ROLL(2.0, Player.p_might);
312 mvprintw(Lines++, 0, "You hit %s %.0f times!", Enemyname, dtemp);
314 Player.p_1scratch += dtemp;
    [all...]
misc.c 781 double dtemp; /* for temporary calculations */ local
795 dtemp = ((Player.p_gold + Player.p_gems / 2.0) - 1000.0) / Statptr->c_goldtote
797 dtemp = MAX(0.0, dtemp);/* gold slows player down */
798 Player.p_speed = Player.p_quickness + Player.p_quksilver - dtemp;
804 dtemp = 1.0 - Player.p_poison * Statptr->c_weakness / 800.0;
805 dtemp = MAX(0.1, dtemp);
807 dtemp = 1.0;
808 Player.p_might = dtemp * Player.p_strength + Player.p_sword
1025 double dtemp; \/* for temporary calculations *\/ local
    [all...]
main.c 93 double dtemp; /* for temporary calculations */ local
235 && (dtemp = fabs(Player.p_x)) == fabs(Player.p_y)
240 dtemp = sqrt(dtemp / 100.0);
241 if (floor(dtemp) == dtemp)
  /src/external/bsd/ntp/dist/libntp/
systime.c 295 double dtemp; local
322 dtemp = now + sys_residual;
323 if (dtemp < 0) {
325 dtemp = -dtemp;
327 adjtv.tv_sec = (long)dtemp;
328 dtemp -= adjtv.tv_sec;
333 ticks = (long)(dtemp / quant + .5);
342 dtemp -= 1.;
345 sys_residual = dtemp - adjtv.tv_usec * 1.e-6
    [all...]
  /src/external/bsd/ntp/dist/ntpd/
refclock_wwv.c 975 double dtemp; local
1036 dtemp = sintab[i] * data / (MS / 2. * DATCYC);
1038 ibuf[iptr] = dtemp;
1039 up->irig += dtemp;
1042 dtemp = sintab[i] * data / (MS / 2. * DATCYC);
1044 qbuf[iptr] = dtemp;
1045 up->qrig += dtemp;
1105 dtemp = sintab[i] * syncx / (MS / 2.);
1107 cibuf[jptr] = dtemp;
1108 ciamp += dtemp;
1406 double dtemp; local
2404 double rank, dtemp; local
2548 double dtemp; local
    [all...]
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;
    [all...]
ntp_loopfilter.c 465 double dtemp, etemp; /* double temps */ local
545 dtemp = -(peer->delay - sys_mindly) / 2;
547 dtemp = (peer->delay - sys_mindly) / 2;
548 fp_offset += dtemp;
550 sys_hufflen, sys_mindly, dtemp));
664 dtemp = SQUARE(max(fabs(fp_offset - last_offset),
666 clock_jitter = SQRT(etemp + (dtemp - etemp) /
723 dtemp = 4 * CLOCK_PLL * ULOGTOD(sys_poll);
725 fp_offset * etemp / (dtemp * dtemp);
    [all...]
refclock_chu.c 913 double dtemp; local
945 dtemp = sp->shift[i];
946 if (dtemp > slice)
949 dist += dtemp - es_min;
951 dist += es_max - dtemp;
953 if (dtemp > slice)
954 dist += dtemp - es_min;
956 dist += es_max - dtemp;
997 double dtemp; local
1013 LFPTOD(&tstmp, dtemp);
1335 double dtemp; local
    [all...]
refclock_irig.c 600 double dtemp; local
658 dtemp = up->zxing * up->decim / BAUD;
659 up->yxing = dtemp;
661 up->phase += dtemp / up->tc;
662 up->freq += dtemp / (4. * up->tc * up->tc);
753 double dtemp; local
789 dtemp = up->decim * (up->exing / SECOND) + up->fdelay;
790 DTOLFP(dtemp, &ltemp);
ntp_timer.c 622 double dtemp = now; local
624 if (dtemp >= leap_smear.intv_start && dtemp <= leap_smear.intv_end) {
625 double leap_smear_time = dtemp - leap_smear.intv_start;
refclock_true.c 435 double dtemp; local
437 dtemp = pp->fudgetime1;
439 pp->fudgetime2 = dtemp;
ntp_refclock.c 1521 double dtemp, dcorr, trash; local
1579 dtemp = ap->ts.tv_nsec / 1e9;
1580 dcorr = modf((pp->fudgetime1 - dtemp), &trash);
1600 pp->lastrec.l_uf = (u_int32)(dtemp * FRAC);
ntp_proto.c 2901 double dtemp; local
2942 dtemp = peer->rootdisp
2950 if (dtemp > sys_mindisp)
2951 sys_rootdisp = dtemp;
3348 double dtemp, etemp; local
3378 dtemp = clock_phi * (current_time - peer->update);
3382 peer->filter_disp[j] += dtemp;
4108 double dtemp; local
4128 dtemp = (peer->delay + peer->rootdelay) / 2
4140 if (dtemp < sys_mindisp
    [all...]
refclock_parse.c 2240 double dtemp; local
2254 dtemp = (double) pts.tv_nsec / 1e9;
2255 if (dtemp < 0.) {
2256 dtemp += 1;
2259 if (dtemp > 1.) {
2260 dtemp -= 1;
2263 parse->parseio.parse_dtime.parse_ptime.fp.l_uf = (uint32_t)(dtemp * FRAC);
ntp_request.c 425 double dtemp; local
633 LFPTOD(&ftmp, dtemp);
634 if (fabs(dtemp) > INFO_TS_MAXSKEW) {
639 dtemp, INFO_TS_MAXSKEW));
  /src/external/gpl3/gcc/dist/gcc/
valtrack.h 28 at different blocks to the debug temp (DTEMP) it was replaced
34 rtx dtemp; member in struct:dead_debug_global_entry
38 and map to DTEMP. */
valtrack.cc 280 /* Insert an entry mapping REG to DTEMP in GLOBAL->htab. */
283 dead_debug_global_insert (struct dead_debug_global *global, rtx reg, rtx dtemp)
287 temp_entry.dtemp = dtemp;
325 if (!entry->dtemp)
328 *DF_REF_REAL_LOC (use) = entry->dtemp;
438 gcc_checking_assert (entry->dtemp);
467 DEBUG_EXPR_TREE_DECL (entry->dtemp),
474 entry->dtemp = NULL;
643 dval = entry->dtemp;
    [all...]
  /src/external/gpl3/gcc.old/dist/gcc/
valtrack.h 28 at different blocks to the debug temp (DTEMP) it was replaced
34 rtx dtemp; member in struct:dead_debug_global_entry
38 and map to DTEMP. */
valtrack.cc 280 /* Insert an entry mapping REG to DTEMP in GLOBAL->htab. */
283 dead_debug_global_insert (struct dead_debug_global *global, rtx reg, rtx dtemp)
287 temp_entry.dtemp = dtemp;
325 if (!entry->dtemp)
328 *DF_REF_REAL_LOC (use) = entry->dtemp;
438 gcc_checking_assert (entry->dtemp);
467 DEBUG_EXPR_TREE_DECL (entry->dtemp),
474 entry->dtemp = NULL;
643 dval = entry->dtemp;
    [all...]
cfgexpand.cc 2847 tree dtemp; local
2850 for (ix = 1; (*debug_args)->iterate (ix, &dtemp); ix += 2)
2852 gcc_assert (TREE_CODE (dtemp) == DEBUG_EXPR_DECL);
2853 expand_debug_expr (dtemp);
  /src/external/bsd/ntp/dist/ntpdate/
ntpdate.c 2090 double dtemp; local
2113 LFPTOD(ts, dtemp);
2114 n = step_systime(dtemp);
2131 LFPTOD(ts, dtemp);
2132 return step_systime(dtemp);
2140 LFPTOD(ts, dtemp);
2141 return step_systime(dtemp);
  /src/external/historical/nawk/dist/
tran.c 431 double dtemp; local
471 else if (modf(vp->fval, &dtemp) == 0) /* it's integral */ \

Completed in 54 milliseconds

1 2