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

/freebsd-13-stable/contrib/ntp/libntp/
H A Dntp_calendar.c1994 static int32_t s_gpsweek = 0; variable
2082 s_gpsweek = (day - NTP_TO_GPS_DAYS) / DAYSPERWEEK;
2085 jd.year, (u_short)jd.month, (u_short)jd.monthday, s_gpsweek);
2112 return s_gpsweek;
2130 diff = ((uint32_t)weekno - s_gpsweek) & (GPSWEEKS - 1);
2131 return s_gpsweek + diff;

Completed in 81 milliseconds