Searched refs:ftemp (Results 1 – 6 of 6) sorted by relevance
/freebsd/sys/kern/ |
H A D | kern_ntptime.c | 510 l_fp ftemp; /* 32/64-bit temporary */ in ntp_update_second() local 591 ftemp = time_offset; in ntp_update_second() 596 L_RSHIFT(ftemp, pps_shift); in ntp_update_second() 598 L_RSHIFT(ftemp, SHIFT_PLL + time_constant); in ntp_update_second() 600 L_RSHIFT(ftemp, SHIFT_PLL + time_constant); in ntp_update_second() 602 time_adj = ftemp; in ntp_update_second() 603 L_SUB(time_offset, ftemp); in ntp_update_second() 623 L_LINT(ftemp, tickrate * 1000); in ntp_update_second() 624 L_ADD(time_adj, ftemp); in ntp_update_second() 663 l_fp ftemp; in hardupdate() local [all …]
|
/freebsd/contrib/ntp/util/ |
H A D | ntptime.c | 100 double ftemp, gtemp, htemp; in main() local 342 ftemp = (double)ntx.offset * nscale; in main() 343 printf(" offset %.3f", ftemp); in main() 344 ftemp = (double)ntx.freq / SCALE_FREQ; in main() 346 ftemp, 1 << ntx.shift); in main() 350 ftemp = (double)ntx.tolerance / SCALE_FREQ; in main() 354 (u_long)ntx.constant, gtemp, ftemp); in main() 357 ftemp = (double)ntx.ppsfreq / SCALE_FREQ; in main() 361 ftemp, gtemp, htemp); in main()
|
/freebsd/contrib/ntp/ntpd/ |
H A D | ntp_loopfilter.c | 1263 double ftemp; in loop_config() 1286 ftemp = init_drift_comp / 1e6; in loop_config() 1287 if (ftemp > NTP_MAXFREQ) in loop_config() 1288 ftemp = NTP_MAXFREQ; in loop_config() 1289 else if (ftemp < -NTP_MAXFREQ) in loop_config() 1290 ftemp = -NTP_MAXFREQ; in loop_config() 1291 set_freq(ftemp); in loop_config() 1247 double ftemp; loop_config() local
|
H A D | ntp_proto.c | 2575 double etemp, ftemp, td; in process_packet() local 2813 ftemp = itemp / etemp; in process_packet() 2814 if (ftemp > 1000.) in process_packet() 2815 peer->r21 = ftemp; in process_packet() 2822 ftemp = itemp / etemp; in process_packet() 2823 if (ftemp > 1000.) in process_packet() 2824 peer->r34 = ftemp; in process_packet()
|
/freebsd/contrib/tnftp/src/ |
H A D | util.c | 548 static FILE *ftemp = NULL; in remglob() local 560 if (ftemp) { in remglob() 561 (void)fclose(ftemp); in remglob() 562 ftemp = NULL; in remglob() 574 if (ftemp == NULL) { in remglob() 603 ftemp = fopen(temp, "r"); in remglob() 605 if (ftemp == NULL) { in remglob() 614 if (fgets(buf, sizeof(buf), ftemp) == NULL) { in remglob() 615 (void)fclose(ftemp); in remglob() 616 ftemp = NULL; in remglob()
|
/freebsd/crypto/heimdal/appl/ftp/ftp/ |
H A D | cmds.c | 773 static FILE *ftemp = NULL; in remglob() local 783 if (ftemp) { in remglob() 784 fclose(ftemp); in remglob() 785 ftemp = NULL; in remglob() 797 if (ftemp == NULL) { in remglob() 817 ftemp = fopen(temp, "r"); in remglob() 819 if (ftemp == NULL) { in remglob() 824 while(fgets(buf, sizeof (buf), ftemp)) { in remglob() 833 fclose(ftemp); in remglob() 834 ftemp = NULL; in remglob()
|