/src/tests/lib/libutil/ |
t_parsedate.c | 52 * time_to_tm should usually be localtime_r or gmtime_r. 128 parsecheck("9/10/68", NULL, NULL, localtime_r, 130 parsecheck("9/10/69", NULL, NULL, localtime_r, 132 parsecheck("68-09-10", NULL, NULL, localtime_r, 134 parsecheck("70-09-10", NULL, NULL, localtime_r, 136 parsecheck("2006-11-17", NULL, NULL, localtime_r, 138 parsecheck("10/1/2000", NULL, NULL, localtime_r, 140 parsecheck("12/01/2022", NULL, NULL, localtime_r, 142 parsecheck("20 Jun 1994", NULL, NULL, localtime_r, 144 parsecheck("97 September 2", NULL, NULL, localtime_r, [all...] |
/src/lib/libc/compat/time/ |
compat_localtime.c | 19 __weak_alias(localtime_r,_localtime_r) 36 __warn_references(localtime_r, 37 "warning: reference to compatibility localtime_r();"
|
/src/lib/libc/time/ |
Makefile.inc | 18 ctime.3 localtime_r.3 \
|
asctime.c | 177 struct tm *tmp = localtime_r(timep, &mytm); 184 /* Do not call localtime_r, as C23 requires ctime to initialize the
|
private.h | 693 # undef localtime_r 694 # define localtime_r tz_localtime_r macro 777 struct tm *localtime_r(time_t const *restrict, struct tm *restrict);
|
zdump.c | 172 /* Assume gmtime_r works if localtime_r does. 173 A replacement localtime_r is defined below if needed. */ 193 faster localtime_rz or localtime_r if available. */ 204 # undef localtime_r 205 # define localtime_r zdump_localtime_r macro 207 localtime_r(time_t *tp, struct tm *tmp) function in typeref:struct:tm * 223 return localtime_r(tp, tmp);
|
strptime.c | 375 if (localtime_r(&sse, tm) == NULL)
|
localtime.c | 1828 localtime_r(const time_t *__restrict timep, struct tm *__restrict tmp) function in typeref:struct:tm *
|
/src/usr.sbin/makefs/cd9660/ |
cd9660_conversion.c | 158 (void)localtime_r(&tim, &t); 182 (void)localtime_r(&tim, &t); 204 (void)localtime_r(&tim, &t);
|
/src/lib/libc/compat/include/ |
time.h | 89 struct tm *localtime_r(const int32_t * __restrict, struct tm * __restrict);
|
/src/tests/lib/libc/time/ |
t_mktime.c | 39 atf_tc_set_md_var(tc, "descr", "Test that localtime_r(3) " 50 localtime_r(&x, &tt); 56 "localtime(3) and localtime_r(3)");
|
/src/lib/libutil/ |
parsedate.y | 865 if (localtime_r(&Start, &tm) == NULL) 869 if (localtime_r(&Future, &tm) == NULL) 889 if (localtime_r(&now, &tm) == NULL) 937 if (localtime_r(&Start, &tm) == NULL) 1166 if ((tm = localtime_r(now, &local)) == NULL)
|
/src/bin/pax/ |
gen_subs.c | 93 (void)localtime_r(&when, &tm);
|
/src/lib/libc/gen/ |
syslog.c | 93 /* strftime() implies tzset(), localtime_r() doesn't. */ 96 localtime_r(&now, &tmnow);
|
/src/include/ |
time.h | 187 struct tm *localtime_r(const time_t * __restrict, struct tm * __restrict)
|
/src/usr.bin/mail/ |
format.c | 713 (void)localtime_r(&now, tm); 765 localtime_r(&otime, tm) == NULL) {
|
/src/sbin/dmesg/ |
dmesg.c | 364 if (localtime_r(&t, &tm) != NULL) {
|
/src/sbin/dump/ |
optr.c | 220 (void) localtime_r(&thistime, &tm_time);
|
/src/usr.bin/stat/ |
stat.c | 594 if (localtime_r(&secs, &tm) == NULL) { 596 (void)localtime_r(&secs, &tm);
|
/src/lib/libc/include/ |
namespace.h | 514 #define localtime_r _localtime_r macro
|
/src/usr.sbin/makefs/ |
udf.c | 165 (void)localtime_r(&now, &tm);
|
/src/sys/external/bsd/compiler_rt/dist/lib/msan/tests/ |
msan_test.cc | 2161 struct tm *tmres = localtime_r(&t, &tms); 2272 TEST(MemorySanitizer, localtime_r) { 2275 struct tm *res = localtime_r(&t, &time);
|
/src/usr.sbin/syslogd/ |
syslogd.c | 4781 localtime_r(&mytime, <ime);
|