| /freebsd-14.2/crypto/heimdal/lib/roken/ |
| H A D | strptime.c | 193 timeptr->tm_yday = wnum * 7 + timeptr->tm_wday - fday; in set_week_number_sun() 195 timeptr->tm_wday = fday; in set_week_number_sun() 196 timeptr->tm_yday = 0; in set_week_number_sun() 209 timeptr->tm_yday = wnum * 7 + (timeptr->tm_wday + 6) % 7 - fday; in set_week_number_mon() 212 timeptr->tm_yday = 0; in set_week_number_mon() 229 timeptr->tm_yday = offset + (wnum - 1) * 7 + timeptr->tm_wday - fday; in set_week_number_mon4() 232 timeptr->tm_yday = 0; in set_week_number_mon4() 273 timeptr->tm_mon = ret; in strptime() 280 timeptr->tm_mon = ret; in strptime() 333 timeptr->tm_min = ret; in strptime() [all …]
|
| H A D | strpftime-test.h | 53 strptime (const char *buf, const char *format, struct tm *timeptr);
|
| /freebsd-14.2/contrib/tzcode/ |
| H A D | asctime.c | 78 asctime_r(struct tm const *restrict timeptr, char *restrict buf) in asctime_r() argument 92 if (timeptr == NULL) { in asctime_r() 96 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime_r() 98 else wn = wday_name[timeptr->tm_wday]; in asctime_r() 99 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= MONSPERYEAR) in asctime_r() 101 else mn = mon_name[timeptr->tm_mon]; in asctime_r() 108 strftime(year, sizeof year, "%Y", timeptr); in asctime_r() 115 timeptr->tm_mday, timeptr->tm_hour, in asctime_r() 116 timeptr->tm_min, timeptr->tm_sec, in asctime_r() 128 asctime(register const struct tm *timeptr) in asctime() argument [all …]
|
| H A D | zdump.c | 1228 dumptime(register const struct tm *timeptr) in dumptime() argument 1247 ((0 <= timeptr->tm_wday in dumptime() 1248 && timeptr->tm_wday < (int)(sizeof wday_name / sizeof wday_name[0])) in dumptime() 1249 ? wday_name[timeptr->tm_wday] : "???"), in dumptime() 1250 ((0 <= timeptr->tm_mon in dumptime() 1251 && timeptr->tm_mon < (int)(sizeof mon_name / sizeof mon_name[0])) in dumptime() 1252 ? mon_name[timeptr->tm_mon] : "???"), in dumptime() 1253 timeptr->tm_mday, timeptr->tm_hour, in dumptime() 1254 timeptr->tm_min, timeptr->tm_sec); in dumptime() 1255 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR; in dumptime() [all …]
|
| /freebsd-14.2/lib/libc/locale/ |
| H A D | wcsftime.c | 56 const wchar_t * __restrict format, const struct tm * __restrict timeptr, in wcsftime_l() argument 97 if (strftime_l(dst, maxsize, sformat, timeptr, locale) == 0) in wcsftime_l() 118 const wchar_t * __restrict format, const struct tm * __restrict timeptr) in wcsftime() argument 120 return wcsftime_l(wcs, maxsize, format, timeptr, __get_locale()); in wcsftime()
|
| /freebsd-14.2/contrib/llvm-project/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);
|
| /freebsd-14.2/usr.bin/pr/ |
| H A D | pr.c | 1300 struct tm *timeptr = NULL; in nxtfile() local 1326 timeptr = localtime(&tv_sec); in nxtfile() 1349 timeptr = localtime(&tv_sec); in nxtfile() 1381 timeptr = localtime(&tv_sec); in nxtfile() 1391 timeptr = localtime(&(statbuf.st_mtime)); in nxtfile() 1402 if (strftime(buf, HDBUF, timefrmt, timeptr) <= 0) { in nxtfile()
|
| /freebsd-14.2/contrib/tcpdump/ |
| H A D | util-print.c | 425 const struct tm *timeptr) in nd_format_time() argument 427 if (timeptr != NULL) { in nd_format_time() 428 if (strftime(buf, bufsize, format, timeptr) != 0) in nd_format_time()
|
| H A D | netdissect.h | 438 const char *format, const struct tm *timeptr);
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetLibraryInfo.def | 1755 /// time_t mktime(struct tm *timeptr);
|