Lines Matching defs:ot
492 struct calendar ot;
520 caljulian( ntp_time, &ot ); /* convert January 1 */
521 if ( ot.year != year
522 || ot.month != 1
523 || ot.monthday != 1 )
529 (int)ot.year, (int)ot.month, (int)ot.monthday );
534 caljulian( ntp_time, &ot ); /* convert Feb 28 */
535 if ( ot.year != year
536 || ot.month != 2
537 || ot.monthday != 28 )
543 (int)ot.year, (int)ot.month, (int)ot.monthday );
555 caljulian( ntp_time, &ot ); /* convert this day */
556 if ( ot.year != year
557 || ot.month != m
558 || ot.monthday != d )
564 (int)ot.year, (int)ot.month, (int)ot.monthday );
574 struct calendar ot;
587 ot.year = year;
588 ot.month = ot.monthday = 1; /* unused, but set anyway JIC */
589 ot.yearday = 1; /* this is the magic value used by caltontp() */
590 ot.hour = ot.minute = ot.second = 0;
594 ObservedNtp = caltontp( &ot );
607 caljulian( ObservedNtp, &ot ); /* convert January 1 */
608 if ( ot.year != year
609 || ot.month != 1
610 || ot.monthday != 1 )
616 (int)ot.year, (int)ot.month, (int)ot.monthday );