Lines Matching refs:ntp_time
491 u_long ntp_time; /* NTP time */
498 ntp_time = julian0( year0 ); /* NTP starts in 1900-01-01 */
500 ntp_time -= 365; /* BIAS required for successful test */
502 if ( DAY_NTP_STARTS != ntp_time )
508 (long)DAY_NTP_STARTS, (long)ntp_time,
509 (long)DAY_NTP_STARTS - (long)ntp_time );
516 ntp_time = Days( year ) - Days( year0 ); /* days into NTP time */
517 ntp_time *= 24 * 60 * 60; /* convert into seconds */
518 caljulian( ntp_time, &ot ); /* convert January 1 */
525 (unsigned long)ntp_time,
531 ntp_time += (31 + 28-1) * ( 24 * 60 * 60 ); /* advance to 02-28 */
532 caljulian( ntp_time, &ot ); /* convert Feb 28 */
539 (unsigned long)ntp_time,
552 ntp_time += ( 24 * 60 * 60 ); /* advance to the next day */
553 caljulian( ntp_time, &ot ); /* convert this day */
560 (unsigned long)ntp_time,
573 u_long ntp_time; /* NTP time */
590 ntp_time = Days( year ) - Days( year0 ); /* days into NTP time */
591 ntp_time *= 24 * 60 * 60; /* convert into seconds */
593 if ( ntp_time != ObservedNtp )
598 (unsigned long)ntp_time, (unsigned long)ObservedNtp ,
599 (long)ntp_time - (long)ObservedNtp );