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

/netbsd-current/external/bsd/ntp/dist/include/
H A Dntp_calendar.h102 #define GPSWEEKS 1024 /* GPS week cycle */ macro
H A Dparse.h113 #define GPSWEEKS 1024 /* number of weeks until the GPS epch rolls over */ macro
/netbsd-current/external/bsd/ntp/dist/libntp/
H A Dntp_calendar.c2127 #if GPSWEEKS != 1024
2128 # error GPSWEEKS defined wrong -- should be 1024!
2132 diff = ((uint32_t)weekno - s_gpsweek) & (GPSWEEKS - 1);
H A Dntp_calgps.c368 week = base + ((week - base) & (GPSWEEKS - 1));

Completed in 96 milliseconds