Searched refs:timeptr (Results 1 – 6 of 6) sorted by relevance
/openbsd/lib/libc/time/ |
H A D | asctime.c | 76 if (timeptr == NULL) { in asctime3() 81 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime3() 84 wn = wday_name[timeptr->tm_wday]; in asctime3() 85 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= MONSPERYEAR) in asctime3() 88 mn = mon_name[timeptr->tm_mon]; in asctime3() 95 (void) strftime(year, sizeof year, "%Y", timeptr); in asctime3() 99 timeptr->tm_mday, timeptr->tm_hour, in asctime3() 100 timeptr->tm_min, timeptr->tm_sec, in asctime3() 115 asctime_r(const struct tm *timeptr, char *buf) in asctime_r() argument 130 asctime(const struct tm *timeptr) in asctime() argument [all …]
|
/openbsd/usr.sbin/zdump/ |
H A D | zdump.c | 409 dumptime(const struct tm *timeptr) in dumptime() argument 421 if (timeptr == NULL) { in dumptime() 430 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= in dumptime() 434 wn = wday_name[timeptr->tm_wday]; in dumptime() 435 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= in dumptime() 439 mn = mon_name[timeptr->tm_mon]; in dumptime() 442 timeptr->tm_mday, timeptr->tm_hour, in dumptime() 443 timeptr->tm_min, timeptr->tm_sec); in dumptime() 445 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR; in dumptime() 446 lead = timeptr->tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR + in dumptime()
|
/openbsd/gnu/llvm/libcxx/include/ |
H A D | ctime | 35 time_t mktime(tm* timeptr); 37 char* asctime(const tm* timeptr); 42 const tm* restrict timeptr);
|
H A D | cwchar | 89 const tm* restrict timeptr);
|
/openbsd/usr.bin/pr/ |
H A D | pr.c | 1445 struct tm *timeptr = NULL; in nxtfile() local 1466 timeptr = localtime(&curtime); in nxtfile() 1483 timeptr = localtime(&curtime); in nxtfile() 1508 timeptr = localtime(&curtime); in nxtfile() 1517 timeptr = localtime(&(statbuf.st_mtime)); in nxtfile() 1528 if (strftime(buf, HDBUF, TIMEFMT, timeptr) == 0) { in nxtfile()
|
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/ |
H A D | TargetLibraryInfo.def | 1710 /// time_t mktime(struct tm *timeptr);
|