Home
last modified time | relevance | path

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

/freebsd-14.2/crypto/heimdal/lib/roken/
H A Dstrptime.c193 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 Dstrpftime-test.h53 strptime (const char *buf, const char *format, struct tm *timeptr);
/freebsd-14.2/contrib/tzcode/
H A Dasctime.c78 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 Dzdump.c1228 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 Dwcsftime.c56 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 Dctime35 time_t mktime(tm* timeptr);
37 char* asctime(const tm* timeptr);
42 const tm* restrict timeptr);
H A Dcwchar89 const tm* restrict timeptr);
/freebsd-14.2/usr.bin/pr/
H A Dpr.c1300 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 Dutil-print.c425 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 Dnetdissect.h438 const char *format, const struct tm *timeptr);
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.def1755 /// time_t mktime(struct tm *timeptr);