Lines Matching refs:timeptr
579 dumptime(timeptr) in dumptime() argument
580 register const struct tm *timeptr; in dumptime()
594 if (timeptr == NULL) {
603 if (timeptr->tm_wday < 0 || timeptr->tm_wday >=
606 else wn = wday_name[timeptr->tm_wday];
607 if (timeptr->tm_mon < 0 || timeptr->tm_mon >=
610 else mn = mon_name[timeptr->tm_mon];
613 timeptr->tm_mday, timeptr->tm_hour,
614 timeptr->tm_min, timeptr->tm_sec);
616 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR;
617 lead = timeptr->tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR +