Home
last modified time | relevance | path

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

/netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dstrptime.c191 set_week_number_sun (struct tm *timeptr, int wnum) in set_week_number_sun() argument
193 int fday = first_day (timeptr->tm_year + tm_year_base); in set_week_number_sun()
195 timeptr->tm_yday = wnum * 7 + timeptr->tm_wday - fday; in set_week_number_sun()
196 if (timeptr->tm_yday < 0) { 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()
207 set_week_number_mon (struct tm *timeptr, int wnum) in set_week_number_mon() argument
209 int fday = (first_day (timeptr->tm_year + tm_year_base) + 6) % 7; in set_week_number_mon()
211 timeptr->tm_yday = wnum * 7 + (timeptr->tm_wday + 6) % 7 - fday; in set_week_number_mon()
212 if (timeptr->tm_yday < 0) { in set_week_number_mon()
[all …]
H A Dstrpftime-test.h55 strptime (const char *buf, const char *format, struct tm *timeptr);
/netbsd-src/lib/libc/time/
H A Dasctime.c86 asctime_r(struct tm const *restrict timeptr, char *restrict buf) in asctime_r()
102 if (timeptr == NULL) { in asctime_r()
109 if (timeptr->tm_wday < 0 || timeptr->tm_wday >= DAYSPERWEEK) in asctime_r()
111 else wn = wday_name[timeptr->tm_wday]; in asctime_r()
112 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= MONSPERYEAR) in asctime_r()
114 else mn = mon_name[timeptr->tm_mon]; in asctime_r()
116 year = timeptr->tm_year; in asctime_r()
117 mday = timeptr in asctime_r()
85 asctime_r(struct tm const * restrict timeptr,char * restrict buf) asctime_r() argument
133 asctime(const struct tm * timeptr) asctime() argument
[all...]
H A Dzdump.c1213 dumptime(const struct tm *timeptr)
1232 ((0 <= timeptr->tm_wday
1233 && timeptr->tm_wday < (int) (sizeof wday_name / sizeof wday_name[0]))
1234 ? wday_name[timeptr->tm_wday] : "???"),
1235 ((0 <= timeptr->tm_mon
1236 && timeptr->tm_mon < (int) (sizeof mon_name / sizeof mon_name[0]))
1237 ? mon_name[timeptr->tm_mon] : "???"),
1238 timeptr->tm_mday, timeptr->tm_hour,
1239 timeptr
1223 dumptime(const struct tm * timeptr) global() argument
[all...]
/netbsd-src/lib/libc/locale/
H A Dwcsftime.c59 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-src/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 …scope char* s, size_t maxsize, const scope char* format, const scope tm* timeptr); // @system: MT-…
H A Dwchar_.d260 size_t wcsftime(wchar_t* s, size_t maxsize, const scope wchar_t* format, const scope tm* timeptr);
/netbsd-src/external/apache2/llvm/dist/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);
/netbsd-src/usr.bin/pr/
H A Dpr.c1303 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-src/usr.bin/xlint/llib/
H A Dllib-lstdc245 time_t (mktime)(struct tm *timeptr);
247 char *(asctime)(const struct tm *timeptr);
252 const struct tm *timeptr);
H A Dllib-lposix70 char *(asctime)(const struct tm *timeptr);
198 time_t (mktime)(struct tm *timeptr);
265 const struct tm *timeptr);
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A Dcollector_module.h70 time_t (*mktime)(struct tm *timeptr);
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/
H A Dcollector_module.h67 time_t (*mktime)(struct tm *timeptr);
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.def1048 /// time_t mktime(struct tm *timeptr);