Home
last modified time | relevance | path

Searched refs:l_fp (Results 1 – 25 of 98) sorted by relevance

1234

/freebsd-12.1/contrib/ntp/include/
H A Dmbg_gps166.h520 typedef l_fp XYZ[N_XYZ];
542 typedef l_fp LLA[N_LLA];
835 l_fp A0; ///< +- Clock Correction Coefficient 0 [sec]
836 l_fp A1; ///< +- Clock Correction Coefficient 1 [sec/sec]
878 l_fp sqrt_A; ///< Square Root of semi-major Axis [sqrt(m)]
879 l_fp e; ///< Eccentricity [---]
880 l_fp M0; ///< +- Mean Anomaly at Ref. Time [rad]
881 l_fp omega; ///< +- Argument of Perigee [rad]
882 l_fp OMEGA0; ///< +- Longit. of Asc. Node of orbit plane [rad]
883 l_fp OMEGADOT; ///< +- Rate of Right Ascension [rad/sec]
[all …]
H A Dntp_calgps.h65 gpscal_add_offset(TGpsDatum *datum, l_fp offset);
71 gpscal_from_calendar(TcCivilDate *pCiv, l_fp fofs) { in gpscal_from_calendar()
79 gpscal_from_weektime1(int32_t wsecs, l_fp fofs, l_fp pivot);
90 extern l_fp
103 gpsntp_add_offset(TNtpDatum *datum, l_fp offset);
109 gpsntp_from_calendar(TcCivilDate * pCiv, l_fp fofs) { in gpsntp_from_calendar()
114 gpsntp_from_daytime1_ex(TcCivilDate *dt, l_fp fofs, l_fp pivot, int/*BOOL*/ warp);
117 gpsntp_from_daytime1(TcCivilDate *dt, l_fp fofs, l_fp pivot) { in gpsntp_from_daytime1()
140 extern l_fp
148 extern l_fp
[all …]
H A Dntp_refclock.h122 l_fp times[NCLKBUGTIMES]; /* real times */
164 l_fp lastref; /* reference timestamp */
165 l_fp lastrec; /* receive timestamp */
228 extern void refclock_process_offset(struct refclockproc *, l_fp,
229 l_fp, double);
233 extern int refclock_gtlin (struct recvbuf *, char *, int, l_fp *);
234 extern int refclock_gtraw (struct recvbuf *, char *, int, l_fp *);
250 const struct refclock_atom*, l_fp *rcvtime ,
H A Dntp_request.h362 l_fp offset; /* peer.estoffset */
400 l_fp reftime; /* peer.reftime */
401 l_fp org; /* peer.org */
402 l_fp rec; /* peer.rec */
403 l_fp xmt; /* peer.xmt */
465 l_fp last_offset;
466 l_fp drift_comp;
845 l_fp fudgetime1;
846 l_fp fudgetime2;
858 l_fp fudgetime;
[all …]
H A Dtimespecops.h195 extern l_fp tspec_intv_to_lfp(struct timespec x);
198 static inline l_fp
203 l_fp y; in tspec_stamp_to_lfp()
212 extern struct timespec lfp_intv_to_tspec(l_fp x);
213 extern struct timespec lfp_uintv_to_tspec(l_fp x);
220 extern struct timespec lfp_stamp_to_tspec(l_fp x, const time_t *pivot);
H A Dntp.h301 l_fp reftime; /* update epoch */
356 l_fp rec; /* receive time stamp */
357 l_fp xmt; /* transmit time stamp */
358 l_fp dst; /* destination timestamp */
359 l_fp aorg; /* origin timestamp */
553 l_fp reftime; /* last update time */
554 l_fp org; /* originate time stamp */
555 l_fp rec; /* receive time stamp */
556 l_fp xmt; /* transmit time stamp */
786 l_fp first; /* first time seen */
[all …]
H A Dtimevalops.h348 static inline l_fp
354 l_fp y; in tval_intv_to_lfp()
364 static inline l_fp
369 l_fp y; in tval_stamp_to_lfp()
380 l_fp x in lfp_intv_to_tval()
384 l_fp absx; in lfp_intv_to_tval()
405 l_fp x in lfp_uintv_to_tval()
423 l_fp x, in lfp_stamp_to_tval()
H A Dntp_fp.h36 } l_fp; typedef
350 extern int atolfp (const char *, l_fp *);
351 extern int buftvtots (const char *, l_fp *);
354 extern int hextolfp (const char *, l_fp *);
355 extern void gpstolfp (u_int, u_int, unsigned long, l_fp *);
356 extern int mstolfp (const char *, l_fp *);
357 extern char * prettydate (l_fp *);
358 extern char * gmprettydate (l_fp *);
359 extern char * uglydate (l_fp *);
364 extern void get_systime (l_fp *);
H A Dntpd.h132 extern void collect_timing (struct recvbuf *, const char *, int, l_fp *);
292 … record_raw_stats (sockaddr_u *srcadr, sockaddr_u *dstadr, l_fp *t1, l_fp *t2, l_fp *t3, l_fp *t4,…
479 extern l_fp sys_reftime; /* last update time */
488 extern l_fp sys_authdelay; /* authentication delay */
H A Drefidsmear.h2 extern l_fp convertRefIDToLFP(uint32_t r);
3 extern uint32_t convertLFPToRefID(l_fp num);
/freebsd-12.1/contrib/ntp/libntp/
H A Dntp_calgps.c30 l_fp
32 l_fp lfp, in ntpfp_with_fudge()
36 l_fp fpo; in ntpfp_with_fudge()
105 l_fp offset in gpsntp_add_offset()
123 l_fp offset in gpscal_add_offset()
190 l_fp fofs, in _gpsntp_from_daytime()
227 l_fp fofs, in gpsntp_from_daytime2_ex()
247 l_fp fofs, in gpsntp_from_daytime1_ex()
329 l_fp
334 l_fp retv; in ntpfp_from_ntpdatum()
[all …]
H A Dtimespecops.c150 l_fp
156 l_fp y; in tspec_intv_to_lfp()
168 l_fp x in lfp_intv_to_tspec()
172 l_fp absx; in lfp_intv_to_tspec()
193 l_fp x in lfp_uintv_to_tspec()
211 l_fp x, in lfp_stamp_to_tspec()
H A Drefidsmear.c17 l_fp
20 l_fp temp; in convertRefIDToLFP()
36 convertLFPToRefID(l_fp num) in convertLFPToRefID()
H A Dprettydate.c18 static char *common_prettydate(l_fp *, int);
156 l_fp *ts, in common_prettydate()
211 l_fp *ts in prettydate()
220 l_fp *ts in gmprettydate()
/freebsd-12.1/contrib/ntp/sntp/
H A Dnetworking.h62 l_fp reftime;
97 l_fp rec; /* receive time stamp */
98 l_fp xmt; /* transmit time stamp */
99 l_fp dst; /* destination timestamp */
100 l_fp aorg; /* origin timestamp */
101 l_fp borg; /* alternate origin timestamp */
H A Dutilities.h18 void l_fp_output(l_fp *ts, FILE *output);
19 void l_fp_output_bin(l_fp *ts, FILE *output);
20 void l_fp_output_dec(l_fp *ts, FILE *output);
/freebsd-12.1/contrib/ntp/ntpdate/
H A Dntpdate.h27 l_fp reftime; /* time of peer's last update */
35 l_fp filter_offset[NTP_SHIFT]; /* offset part of shift register */
38 l_fp org; /* peer's originate time stamp */
39 l_fp xmt; /* transmit time stamp */
42 l_fp offset; /* filter estimated clock offset */
/freebsd-12.1/contrib/ntp/sntp/tests/
H A DpacketHandling.c16 int LfpEquality(const l_fp expected, const l_fp actual);
38 const l_fp expected, in LfpEquality()
39 const l_fp actual in LfpEquality()
51 l_fp expected_xmt, actual_xmt; in test_GenerateUnauthenticatedPacket()
80 l_fp expected_xmt, actual_xmt; in test_GenerateAuthenticatedPacket()
119 l_fp reftime, tmp; in test_OffsetCalculationPositiveOffset()
165 l_fp reftime, tmp; in test_OffsetCalculationNegativeOffset()
296 l_fp now; in test_HandleCorrectPacket()
H A Dutilities.c161 l_fp test; in test_PktOutput()
177 l_fp test; in test_LfpOutputBinaryFormat()
181 l_fp network; in test_LfpOutputBinaryFormat()
195 l_fp test; in test_LfpOutputDecimalFormat()
199 l_fp network; in test_LfpOutputDecimalFormat()
/freebsd-12.1/contrib/ntp/ntpd/
H A Drefclock_msfees.c243 l_fp reftime; /* reference time */
322 static l_fp onesec; /* = { 1, 0 }; */
372 l_fp *coffs, in dump_buf()
659 l_fp tmp; in ees_receive()
661 l_fp pps_arrvstamp; in ees_receive()
926 l_fp diff; in ees_receive()
976 { l_fp delta; in ees_receive()
1146 l_fp inc; in ees_receive()
1233 const l_fp *a = (const l_fp *)va; in offcompare()
1234 const l_fp *b = (const l_fp *)vb; in offcompare()
[all …]
H A Dntp_util.c341 l_fp now; in stats_config()
547 l_fp now; in record_peer_stats()
588 l_fp now; in record_loop_stats()
622 l_fp now; in record_clock_stats()
681 l_fp *t2, /* receive timestamp */ in record_raw_stats()
682 l_fp *t3, /* transmit timestamp */ in record_raw_stats()
697 l_fp now; in record_raw_stats()
751 l_fp now; in record_sys_stats()
788 l_fp now; in record_proto_stats()
822 l_fp now; in record_crypto_stats()
[all …]
H A Drefclock_gpsdjson.c946 l_fp stamp, in add_clock_sample()
947 l_fp recvt) in add_clock_sample()
1391 l_fp * const dest , in get_binary_time()
1421 const l_fp * const rtime) in process_watch()
1447 const l_fp * const rtime) in process_version()
1535 const l_fp * const rtime) in process_tpv()
1616 const l_fp * const rtime) in process_pps()
1697 const l_fp * const rtime) in process_toff()
1740 const l_fp * const rtime) in gpsd_parse()
1791 l_fp diff; in gpsd_parse()
[all …]
H A Drefclock_leitch.c82 l_fp reftime1;
83 l_fp reftime2;
84 l_fp reftime3;
85 l_fp codetime1;
86 l_fp codetime2;
87 l_fp codetime3;
495 l_fp off; in leitch_process()
496 l_fp tmp_fp; in leitch_process()
/freebsd-12.1/contrib/ntp/clockstuff/
H A Dchutest.c80 void chufilter(struct chucode *chuc, l_fp *rtime);
285 l_fp ts; in raw_filter()
352 l_fp ts; in process_ldisc()
494 static l_fp propagation_delay;
495 static l_fp fudgefactor;
496 static l_fp offset_fudge;
535 l_fp *rtime in chufilter()
546 l_fp off[NCHUCHARS]; in chufilter()
547 l_fp ts; in chufilter()
/freebsd-12.1/contrib/ntp/util/
H A Djitter.c26 void sys_gettime(l_fp *);
34 l_fp tr; in main()
91 l_fp *now /* system time */ in get_systime()

1234