Home
last modified time | relevance | path

Searched refs:ftemp (Results 1 – 6 of 6) sorted by relevance

/freebsd-13.1/sys/kern/
H A Dkern_ntptime.c588 ftemp = time_offset; in ntp_update_second()
599 time_adj = ftemp; in ntp_update_second()
621 L_ADD(time_adj, ftemp); in ntp_update_second()
694 l_fp ftemp; local
732 L_MPY(ftemp, mtemp);
733 L_ADD(time_freq, ftemp);
777 l_fp ftemp; in hardpps() local
914 L_LINT(ftemp, v_nsec); in hardpps()
916 L_SUB(ftemp, pps_freq); in hardpps()
917 u_nsec = L_GINT(ftemp); in hardpps()
[all …]
/freebsd-13.1/contrib/ntp/util/
H A Dntptime.c100 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-13.1/contrib/ntp/ntpd/
H A Dntp_loopfilter.c1245 double ftemp; in loop_config() local
1268 ftemp = init_drift_comp / 1e6; in loop_config()
1269 if (ftemp > NTP_MAXFREQ) in loop_config()
1270 ftemp = NTP_MAXFREQ; in loop_config()
1271 else if (ftemp < -NTP_MAXFREQ) in loop_config()
1272 ftemp = -NTP_MAXFREQ; in loop_config()
1273 set_freq(ftemp); in loop_config()
H A Dntp_proto.c2487 double etemp, ftemp, td; in process_packet() local
2726 ftemp = itemp / etemp; in process_packet()
2727 if (ftemp > 1000.) in process_packet()
2728 peer->r21 = ftemp; in process_packet()
2735 ftemp = itemp / etemp; in process_packet()
2736 if (ftemp > 1000.) in process_packet()
2737 peer->r34 = ftemp; in process_packet()
/freebsd-13.1/contrib/tnftp/src/
H A Dutil.c548 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-13.1/crypto/heimdal/appl/ftp/ftp/
H A Dcmds.c773 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()