/freebsd-9.3-release/contrib/ntp/tests/libntp/ |
H A D | clocktime.c | 60 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 D | clocktime.c | 39 * 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 D | refclock_datum.c | 136 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 D | refclock_leitch.c | 88 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 D | refclock_tsyncpci.c | 636 pp->yearstart = caltontp(&jt); 642 offset.l_ui = offset.l_ui + (long)pp->yearstart;
|
H A D | ntp_refclock.c | 416 pp->lastrec.l_ui, &pp->yearstart, &offset.l_ui)) 1176 bug->values[6] = pp->yearstart;
|
H A D | refclock_true.c | 553 &pp->yearstart, &off.l_ui)) {
|
H A D | refclock_msfees.c | 72 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 D | refclock_chu.c | 1395 up->tstamp[0].l_ui, &pp->yearstart, &offset.l_ui)) {
|
H A D | refclock_wwv.c | 2083 &pp->yearstart, &offset.l_ui)) {
|
/freebsd-9.3-release/contrib/ntp/clockstuff/ |
H A D | chutest.c | 503 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 D | ntp_refclock.h | 164 u_long yearstart; /* beginning of year */ member in struct:refclockproc
|