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

/freebsd-9.3-release/contrib/ntp/tests/libntp/
H A Dclocktime.c60 u_long yearstart = 0; local
64 timestamp, &yearstart, &actual));
86 u_long yearstart=0; local
90 timestamp, &yearstart, &actual));
110 u_long yearstart=0; local
114 &yearstart, &actual));
124 * Yearstart sent into function is the yearstart of 2009!
131 u_long yearstart = 302024100UL; /* Yearstart of 2009. */ local
135 &yearstart, &actual));
152 u_long yearstart local
172 u_long yearstart = 0; local
189 u_long yearstart = 0; local
222 u_long yearstart; local
[all...]
/freebsd-9.3-release/contrib/ntp/libntp/
H A Dclocktime.c39 * read from '*yearstart'.
42 * '*yearstart' will receive the associated start-of-year.
59 u_long *yearstart, /* cached start-of-year, should be fixed to u_int32 */
82 if (*yearstart) {
84 test[0] = (u_int32)(*yearstart) + tmp;
123 *yearstart = ystt[min];
52 clocktime( int yday , int hour , int minute , int second , int tzoff , u_int32 rec_ui , u_long *yearstart, u_int32 *ts_ui ) argument
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Drefclock_datum.c136 u_long yearstart; /* the year that this clock started */ member in struct:datum_pts_unit
249 datum_pts->yearstart = 0; /* initialize the yearstart to 0 */
625 &datum_pts->yearstart,
654 ** sets yearstart and lastref.l_ui. We will have to set astref.l_uf (i.e.,
666 &datum_pts->yearstart,
673 printf("GMT %d, lastrec %d, yearstart %d, lastref %d\n",
676 datum_pts->yearstart,
H A Drefclock_leitch.c88 u_long yearstart; member in struct:leitchunit
425 &leitch->yearstart, &leitch->reftime1.l_ui)) {
443 &leitch->yearstart, &leitch->reftime2.l_ui)) {
460 &leitch->yearstart, &leitch->reftime3.l_ui)) {
H A Drefclock_tsyncpci.c636 pp->yearstart = caltontp(&jt);
642 offset.l_ui = offset.l_ui + (long)pp->yearstart;
H A Dntp_refclock.c416 pp->lastrec.l_ui, &pp->yearstart, &offset.l_ui))
1176 bug->values[6] = pp->yearstart;
H A Drefclock_true.c553 &pp->yearstart, &off.l_ui)) {
H A Drefclock_msfees.c72 bug->values[12] = ees->yearstart;
88 bug->times[10]= ees->yearstart, 0;
268 u_long yearstart; /* start of current year */ member in struct:eesunit
868 ees->tz, rbufp->recv_time.l_ui, &ees->yearstart,
H A Drefclock_chu.c1395 up->tstamp[0].l_ui, &pp->yearstart, &offset.l_ui)) {
H A Drefclock_wwv.c2083 &pp->yearstart, &offset.l_ui)) {
/freebsd-9.3-release/contrib/ntp/clockstuff/
H A Dchutest.c503 static u_long yearstart; variable
528 yearstart = 0;
634 date_ui = tmp + yearstart;
645 if (date_ui != yearstart) {
646 yearstart = date_ui;
656 ts.l_ui = yearstart;
657 printf("yearstart %s\n", prettydate(&ts));
669 if ((rtime->l_ui - yearstart) < CLOCK_WAYTOOBIG) {
671 date_ui += calyearstart(yearstart - CLOCK_WAYTOOBIG,
683 date_ui += calyearstart(yearstart
[all...]
/freebsd-9.3-release/contrib/ntp/include/
H A Dntp_refclock.h164 u_long yearstart; /* beginning of year */ member in struct:refclockproc

Completed in 211 milliseconds