Searched refs:timeptr (Results 1 – 9 of 9) sorted by relevance
| /freebsd-12.1/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-12.1/contrib/tzcode/stdtime/ |
| H A D | asctime.c | 82 asctime_r(timeptr, buf) in asctime_r() argument 83 const struct tm * timeptr; in asctime_r() 98 if (timeptr == NULL) { 102 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) 104 else wn = wday_name[timeptr->tm_wday]; 105 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= MONSPERYEAR) 107 else mn = mon_name[timeptr->tm_mon]; 121 timeptr->tm_mday, timeptr->tm_hour, 122 timeptr->tm_min, timeptr->tm_sec, 141 asctime(timeptr) in asctime() argument [all …]
|
| /freebsd-12.1/contrib/tzcode/zic/ |
| H A D | zdump.c | 617 dumptime(timeptr) in dumptime() argument 618 register const struct tm * timeptr; in dumptime() 632 if (timeptr == NULL) { 641 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= 644 else wn = wday_name[timeptr->tm_wday]; 645 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= 648 else mn = mon_name[timeptr->tm_mon]; 651 timeptr->tm_mday, timeptr->tm_hour, 652 timeptr->tm_min, timeptr->tm_sec); 654 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR; [all …]
|
| /freebsd-12.1/lib/libc/locale/ |
| H A D | wcsftime.c | 59 const wchar_t * __restrict format, const struct tm * __restrict timeptr, in wcsftime_l() argument 100 if (strftime_l(dst, maxsize, sformat, timeptr, locale) == 0) in wcsftime_l() 121 const wchar_t * __restrict format, const struct tm * __restrict timeptr) in wcsftime() argument 123 return wcsftime_l(wcs, maxsize, format, timeptr, __get_locale()); in wcsftime()
|
| /freebsd-12.1/contrib/libc++/include/ |
| H A D | ctime | 36 time_t mktime(tm* timeptr); 38 char* asctime(const tm* timeptr); 43 const tm* restrict timeptr);
|
| H A D | cwchar | 90 const tm* restrict timeptr);
|
| /freebsd-12.1/usr.bin/pr/ |
| H A D | pr.c | 1302 struct tm *timeptr = NULL; in nxtfile() local 1328 timeptr = localtime(&tv_sec); in nxtfile() 1351 timeptr = localtime(&tv_sec); in nxtfile() 1383 timeptr = localtime(&tv_sec); in nxtfile() 1393 timeptr = localtime(&(statbuf.st_mtime)); in nxtfile() 1404 if (strftime(buf, HDBUF, timefrmt, timeptr) <= 0) { in nxtfile()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | TargetLibraryInfo.def | 970 /// time_t mktime(struct tm *timeptr);
|