Home
last modified time | relevance | path

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

/freebsd-14.2/sys/kern/
H A Dkern_ntptime.c591 ftemp = time_offset; in ntp_update_second()
602 time_adj = ftemp; in ntp_update_second()
624 L_ADD(time_adj, ftemp); in ntp_update_second()
663 l_fp ftemp; in hardupdate() local
701 L_MPY(ftemp, mtemp); in hardupdate()
702 L_ADD(time_freq, ftemp); in hardupdate()
746 l_fp ftemp; in hardpps() local
874 L_LINT(ftemp, v_nsec); in hardpps()
876 L_SUB(ftemp, pps_freq); in hardpps()
877 u_nsec = L_GINT(ftemp); in hardpps()
[all …]
/freebsd-14.2/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-14.2/contrib/ntp/ntpd/
H A Dntp_loopfilter.c1263 double ftemp; in loop_config() local
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()
H A Dntp_proto.c2575 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-14.2/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-14.2/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()