Lines Matching refs:timeptr
70 asctime_r(register const struct tm *timeptr, char *buf) in asctime_r() argument
84 if (timeptr == NULL) { in asctime_r()
88 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime_r()
90 else wn = wday_name[timeptr->tm_wday]; in asctime_r()
91 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= MONSPERYEAR) in asctime_r()
93 else mn = mon_name[timeptr->tm_mon]; in asctime_r()
100 strftime(year, sizeof year, "%Y", timeptr); in asctime_r()
107 timeptr->tm_mday, timeptr->tm_hour, in asctime_r()
108 timeptr->tm_min, timeptr->tm_sec, in asctime_r()
119 asctime(register const struct tm *timeptr) in asctime() argument
121 return asctime_r(timeptr, buf_asctime); in asctime()