Searched refs:timeptr (Results 1 – 12 of 12) sorted by relevance
/netbsd/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | strptime.c | 195 timeptr->tm_yday = wnum * 7 + timeptr->tm_wday - fday; in set_week_number_sun() 197 timeptr->tm_wday = fday; in set_week_number_sun() 198 timeptr->tm_yday = 0; in set_week_number_sun() 211 timeptr->tm_yday = wnum * 7 + (timeptr->tm_wday + 6) % 7 - fday; in set_week_number_mon() 214 timeptr->tm_yday = 0; in set_week_number_mon() 231 timeptr->tm_yday = offset + (wnum - 1) * 7 + timeptr->tm_wday - fday; in set_week_number_mon4() 234 timeptr->tm_yday = 0; in set_week_number_mon4() 275 timeptr->tm_mon = ret; in strptime() 282 timeptr->tm_mon = ret; in strptime() 335 timeptr->tm_min = ret; in strptime() [all …]
|
H A D | strpftime-test.h | 55 strptime (const char *buf, const char *format, struct tm *timeptr);
|
/netbsd/lib/libc/time/ |
H A D | asctime.c | 70 asctime_r(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 (void) strftime(year, sizeof year, "%Y", timeptr); in asctime_r() 105 timeptr->tm_mday, timeptr->tm_hour, in asctime_r() 106 timeptr->tm_min, timeptr->tm_sec, in asctime_r() 117 asctime(const struct tm *timeptr) in asctime() argument [all …]
|
H A D | zdump.c | 1216 dumptime(const struct tm *timeptr) in dumptime() argument 1235 ((0 <= timeptr->tm_wday in dumptime() 1236 && timeptr->tm_wday < (int) (sizeof wday_name / sizeof wday_name[0])) in dumptime() 1237 ? wday_name[timeptr->tm_wday] : "???"), in dumptime() 1238 ((0 <= timeptr->tm_mon in dumptime() 1239 && timeptr->tm_mon < (int) (sizeof mon_name / sizeof mon_name[0])) in dumptime() 1240 ? mon_name[timeptr->tm_mon] : "???"), in dumptime() 1241 timeptr->tm_mday, timeptr->tm_hour, in dumptime() 1242 timeptr->tm_min, timeptr->tm_sec); in dumptime() 1243 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR; in dumptime() [all …]
|
/netbsd/lib/libc/locale/ |
H A D | wcsftime.c | 59 const wchar_t *format, const struct tm *timeptr) in __weak_alias() 61 return wcsftime_l(wcs, maxsize, format, timeptr, _current_locale()); in __weak_alias() 66 const wchar_t *format, const struct tm *timeptr, locale_t loc) in wcsftime_l() argument 99 if (strftime_l(dst, maxsize, sformat, timeptr, loc) == 0) in wcsftime_l()
|
/netbsd/external/apache2/llvm/dist/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);
|
/netbsd/usr.bin/pr/ |
H A D | pr.c | 1303 struct tm *timeptr = NULL; in nxtfile() local 1331 timeptr = localtime(&curtime); in nxtfile() 1355 timeptr = localtime(&curtime); in nxtfile() 1387 timeptr = localtime(&curtime); in nxtfile() 1397 timeptr = localtime(&(statbuf.st_mtime)); in nxtfile() 1408 if (strftime(buf, HDBUF, timefrmt, timeptr) <= 0) { in nxtfile()
|
/netbsd/usr.bin/xlint/llib/ |
H A D | llib-lstdc | 245 time_t (mktime)(struct tm *timeptr); 247 char *(asctime)(const struct tm *timeptr); 252 const struct tm *timeptr);
|
H A D | llib-lposix | 70 char *(asctime)(const struct tm *timeptr); 198 time_t (mktime)(struct tm *timeptr); 265 const struct tm *timeptr);
|
/netbsd/external/gpl3/binutils/dist/gprofng/src/ |
H A D | collector_module.h | 67 time_t (*mktime)(struct tm *timeptr);
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | TargetLibraryInfo.def | 1048 /// time_t mktime(struct tm *timeptr);
|