Searched refs:tow (Results 1 - 3 of 3) sorted by relevance

/freebsd-12-stable/contrib/ntp/ntpd/
H A Drefclock_palisade.c545 long tow; local
863 tow = getlong((u_char *) &mb(1));
867 printf("TOW: %ld\n", tow);
932 tow = (long)getsingle((u_char *) &mb(0));
950 wd = gpscal_from_gpsweek((wn % 1024), (int32_t)tow, ugo);
961 printf("GPS TOW: %ld\n", tow);
H A Drefclock_ripencc.c353 short rpt_0x8F0B (TSIPPKT *rpt, unsigned short *event, double *tow,
1604 double tow; local
1615 tow = bGetDouble(&buf[3]);
1617 if (tow == -1.0) {
1620 else if ((tow >= 604800.0) || (tow < 0.0)) {
1625 if (tow < 604799.9) tow = tow + .00000001;
1626 second = (unsigned int) fmod(tow, 6
2847 rpt_0x8F0B( TSIPPKT *rpt, unsigned short *event, double *tow, unsigned char *date, unsigned char *month, short *year, unsigned char *dim_mode, short *utc_offset, double *bias, double *drift, float *bias_unc, float *dr_unc, double *lat, double *lon, double *alt, char sv_id[8] ) argument
3230 double tow = 0; local
4486 tow, local
[all...]
H A Drefclock_oncore.c2513 int subframe, valid, page, i, j, tow; local
2538 tow = (buf[7+4]<<16) + (buf[7+5]<<8) + buf[7+6];
2539 tow >>= 7;
2540 tow = tow & 0377777;
2541 tow <<= 2;
2542 instance->Bl.DN = tow/57600L + 1;

Completed in 184 milliseconds