Lines Matching refs:ot
490 struct calendar ot;
518 caljulian( ntp_time, &ot ); /* convert January 1 */
519 if ( ot.year != year
520 || ot.month != 1
521 || ot.monthday != 1 )
527 (int)ot.year, (int)ot.month, (int)ot.monthday );
532 caljulian( ntp_time, &ot ); /* convert Feb 28 */
533 if ( ot.year != year
534 || ot.month != 2
535 || ot.monthday != 28 )
541 (int)ot.year, (int)ot.month, (int)ot.monthday );
553 caljulian( ntp_time, &ot ); /* convert this day */
554 if ( ot.year != year
555 || ot.month != m
556 || ot.monthday != d )
562 (int)ot.year, (int)ot.month, (int)ot.monthday );
572 struct calendar ot;
585 ot.year = year;
586 ot.month = ot.monthday = 1; /* unused, but set anyway JIC */
587 ot.yearday = 1; /* this is the magic value used by caltontp() */
588 ot.hour = ot.minute = ot.second = 0;
592 ObservedNtp = caltontp( &ot );
605 caljulian( ObservedNtp, &ot ); /* convert January 1 */
606 if ( ot.year != year
607 || ot.month != 1
608 || ot.monthday != 1 )
614 (int)ot.year, (int)ot.month, (int)ot.monthday );