Home
last modified time | relevance | path

Searched refs:timeptr (Results 1 – 1 of 1) sorted by relevance

/bionic/libc/tzcode/
Dasctime.c72 asctime_r(register const struct tm *timeptr, char *buf) in asctime_r() argument
86 if (timeptr == NULL) { in asctime_r()
90 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime_r()
92 else wn = wday_name[timeptr->tm_wday]; in asctime_r()
93 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= MONSPERYEAR) in asctime_r()
95 else mn = mon_name[timeptr->tm_mon]; in asctime_r()
102 strftime(year, sizeof year, "%Y", timeptr); in asctime_r()
109 timeptr->tm_mday, timeptr->tm_hour, in asctime_r()
110 timeptr->tm_min, timeptr->tm_sec, in asctime_r()
125 asctime(register const struct tm *timeptr) in asctime() argument
[all …]