HomeSort by: relevance | last modified time | path
    Searched refs:SECSPERWEEK (Results 1 - 6 of 6) sorted by relevancy

  /src/external/bsd/ntp/dist/libparse/
gpstolfp.c 50 lfp->l_ui = (uint32_t)(weeks * SECSPERWEEK + days * SECSPERDAY + seconds + GPSORIGIN); /* convert to NTP time */
  /src/external/bsd/ntp/dist/libntp/
ntp_calendar.c 790 Q = (uint32_t)(sf64 ^ ((sf64 ^ ts->Q_s) / SECSPERWEEK));
791 R = (uint32_t)(ts->Q_s - Q * SECSPERWEEK);
796 Q = ~(uint32_t)(~ts->Q_s / SECSPERWEEK);
798 Q = (uint32_t)( ts->Q_s / SECSPERWEEK);
799 R = ts->D_s.lo - Q * SECSPERWEEK;
1269 res.q_s *= SECSPERWEEK;
ntp_calgps.c 530 static const int32_t shift = SECSPERWEEK / 2;
630 retv.l_ui = gd->weeks * (uint32_t)SECSPERWEEK
  /src/external/bsd/ntp/dist/include/
ntp_calendar.h 97 #define SECSPERWEEK (DAYSPERWEEK * SECSPERDAY)
  /src/external/bsd/ntp/dist/tests/libntp/
calendar.c 339 for (sec = -100000; sec <= 2*SECSPERWEEK; sec += 10000) {
350 while (esec >= SECSPERWEEK) {
352 esec -= SECSPERWEEK;
356 esec += SECSPERWEEK;
  /src/external/bsd/ntp/dist/ntpd/
refclock_parse.c 4281 t_ls = (time_t) wnlsf * SECSPERWEEK

Completed in 24 milliseconds