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

/freebsd-12-stable/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-12-stable/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 */
627 &datum_pts->yearstart,
656 ** sets yearstart and lastref.l_ui. We will have to set astref.l_uf (i.e.,
668 &datum_pts->yearstart,
675 printf("GMT %d, lastrec %d, yearstart %d, lastref %d\n",
678 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.c549 pp->lastrec.l_ui, &pp->yearstart, &offset.l_ui))
1326 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-12-stable/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-12-stable/contrib/ntp/include/
H A Dntp_refclock.h161 u_long yearstart; /* beginning of year */ member in struct:refclockproc

Completed in 85 milliseconds