Searched refs:timeptr (Results 1 - 12 of 12) sorted by relevance

/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dstrptime.c187 * Set `timeptr' given `wnum' (week number [0, 53])
191 set_week_number_sun (struct tm *timeptr, int wnum) argument
193 int fday = first_day (timeptr->tm_year + tm_year_base);
195 timeptr->tm_yday = wnum * 7 + timeptr->tm_wday - fday;
196 if (timeptr->tm_yday < 0) {
197 timeptr->tm_wday = fday;
198 timeptr->tm_yday = 0;
203 * Set `timeptr' given `wnum' (week number [0, 53])
207 set_week_number_mon (struct tm *timeptr, in argument
223 set_week_number_mon4(struct tm *timeptr, int wnum) argument
243 strptime(const char *buf, const char *format, struct tm *timeptr) argument
[all...]
H A Dstrpftime-test.h55 strptime (const char *buf, const char *format, struct tm *timeptr);
/netbsd-current/lib/libc/time/
H A Dasctime.c85 asctime_r(struct tm const *restrict timeptr, char *restrict buf) argument
99 if (timeptr == NULL) {
103 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK)
105 else wn = wday_name[timeptr->tm_wday];
106 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= MONSPERYEAR)
108 else mn = mon_name[timeptr->tm_mon];
111 ** when computing timeptr->tm_year + TM_YEAR_BASE.
113 ** (e.g., timeptr
133 asctime(const struct tm *timeptr) argument
[all...]
H A Dzdump.c1223 dumptime(const struct tm *timeptr) argument
1242 ((0 <= timeptr->tm_wday
1243 && timeptr->tm_wday < (int) (sizeof wday_name / sizeof wday_name[0]))
1244 ? wday_name[timeptr->tm_wday] : "???"),
1245 ((0 <= timeptr->tm_mon
1246 && timeptr->tm_mon < (int) (sizeof mon_name / sizeof mon_name[0]))
1247 ? mon_name[timeptr->tm_mon] : "???"),
1248 timeptr->tm_mday, timeptr->tm_hour,
1249 timeptr
[all...]
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/core/stdc/
H A Dtime.d35 @system time_t mktime(scope tm* timeptr); // @system: MT-Safe env locale
40 @system char* asctime(const scope tm* timeptr); // @system: MT-Unsafe race:asctime locale
48 @system size_t strftime(scope char* s, size_t maxsize, const scope char* format, const scope tm* timeptr); // @system: MT-Safe env locale
H A Dwchar_.d260 size_t wcsftime(wchar_t* s, size_t maxsize, const scope wchar_t* format, const scope tm* timeptr);
/netbsd-current/lib/libc/locale/
H A Dwcsftime.c59 const wchar_t *format, const struct tm *timeptr)
61 return wcsftime_l(wcs, maxsize, format, timeptr, _current_locale());
66 const wchar_t *format, const struct tm *timeptr, locale_t loc)
99 if (strftime_l(dst, maxsize, sformat, timeptr, loc) == 0)
65 wcsftime_l(wchar_t *wcs, size_t maxsize, const wchar_t *format, const struct tm *timeptr, locale_t loc) argument
/netbsd-current/usr.bin/pr/
H A Dpr.c1303 struct tm *timeptr = NULL; local
1331 timeptr = localtime(&curtime);
1355 timeptr = localtime(&curtime);
1387 timeptr = localtime(&curtime);
1397 timeptr = localtime(&(statbuf.st_mtime));
1408 if (strftime(buf, HDBUF, timefrmt, timeptr) <= 0) {
/netbsd-current/external/bsd/tcpdump/dist/
H A Dutil-print.c422 const struct tm *timeptr)
424 if (timeptr != NULL) {
425 if (strftime(buf, bufsize, format, timeptr) != 0)
421 nd_format_time(char *buf, size_t bufsize, const char *format, const struct tm *timeptr) argument
H A Dnetdissect.h427 const char *format, const struct tm *timeptr);
/netbsd-current/external/gpl3/binutils.old/dist/gprofng/src/
H A Dcollector_module.h67 time_t (*mktime)(struct tm *timeptr);
/netbsd-current/external/gpl3/binutils/dist/gprofng/src/
H A Dcollector_module.h70 time_t (*mktime)(struct tm *timeptr);

Completed in 233 milliseconds