Home
last modified time | relevance | path

Searched refs:localtime_r (Results 1 – 25 of 104) sorted by relevance

12345

/freebsd/contrib/netbsd-tests/lib/libutil/
H A Dt_parsedate.c125 parsecheck("9/10/69", NULL, NULL, localtime_r, in ATF_TC_BODY()
127 parsecheck("9/10/70", NULL, NULL, localtime_r, in ATF_TC_BODY()
129 parsecheck("69-09-10", NULL, NULL, localtime_r, in ATF_TC_BODY()
131 parsecheck("70-09-10", NULL, NULL, localtime_r, in ATF_TC_BODY()
133 parsecheck("2006-11-17", NULL, NULL, localtime_r, in ATF_TC_BODY()
135 parsecheck("10/1/2000", NULL, NULL, localtime_r, in ATF_TC_BODY()
137 parsecheck("20 Jun 1994", NULL, NULL, localtime_r, in ATF_TC_BODY()
139 parsecheck("97 September 2", NULL, NULL, localtime_r, in ATF_TC_BODY()
141 parsecheck("23jun2001", NULL, NULL, localtime_r, in ATF_TC_BODY()
143 parsecheck("1-sep-06", NULL, NULL, localtime_r, in ATF_TC_BODY()
[all …]
/freebsd/usr.bin/calendar/
H A Dday.c53 localtime_r(&now, &tp); in settimes()
60 localtime_r(&time1, tp1); in settimes()
63 localtime_r(&time2, tp2); in settimes()
82 localtime_r(&t, &tp); in Mktime()
H A Dcalendar.c156 localtime_r(&t, &tm); in main()
/freebsd/sys/contrib/openzfs/lib/libspl/
H A Dtimestamp.c61 len = strftime(dstr, sizeof (dstr), fmt, localtime_r(&t, &tm)); in print_timestamp()
85 strftime(buf, len, fmt, localtime_r(&t, &tm)); in get_timestamp()
106 strftime(buf, len, fmt, localtime_r(&t, &tm)); in format_timestamp()
/freebsd/crypto/krb5/src/lib/krb5/krb/
H A Dstr_conv.c135 localtime_r(const time_t *t, struct tm *buf) in localtime_r() function
172 if (localtime_r(&now, &timebuf2) == NULL) in krb5_string_to_timestamp()
207 if (localtime_r(&timestamp2, &tmbuf) == NULL) in krb5_timestamp_to_string()
238 tmp = localtime_r(&timestamp2, &tmbuf); in krb5_timestamp_to_sfstring()
/freebsd/usr.sbin/makefs/cd9660/
H A Dcd9660_conversion.c152 (void)localtime_r(&tim, &t); in cd9660_compute_gm_offset()
173 (void)localtime_r(&tim, &t); in cd9660_time_8426()
192 (void)localtime_r(&tim, &t); in cd9660_time_915()
/freebsd/tests/sys/net/routing/
H A Drtsock_print.h269 localtime_r(&tv.tv_sec, &tm_res); in rtsock_print_rtm()
318 localtime_r(&tv.tv_sec, &tm_res); in rtsock_print_ifa()
355 localtime_r(&tv.tv_sec, &tm_res); in rtsock_print_message_hd()
/freebsd/contrib/ldns/compat/
H A Dlocaltime_r.c9 struct tm *localtime_r(const time_t *timep, struct tm *result) in localtime_r() function
/freebsd/contrib/file/src/
H A Dlocaltime_r.c12 localtime_r(const time_t *t, struct tm *tm) in localtime_r() function
/freebsd/crypto/heimdal/lib/roken/
H A Dlocaltime_r.c43 localtime_r(const time_t *timer, struct tm *result) in localtime_r() function
/freebsd/lib/libc/stdtime/
H A DSymbol.map16 localtime_r;
H A DMakefile.inc29 ctime.3 ctime_r.3 ctime.3 localtime_r.3 ctime.3 gmtime_r.3 \
/freebsd/usr.sbin/bhyve/amd64/
H A Drtc.c65 localtime_r(&t, &tm); in rtc_time()
/freebsd/contrib/libarchive/cpio/test/
H A Dtest_option_t.c79 tmptr = localtime_r(&mtime, &tmbuf); in DEFINE_TEST()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_parse_date.c726 ltime = localtime_r(&Julian, &tmbuf); in Convert()
748 ltime = localtime_r(&Start, &tmbuf); in DSTcorrect()
756 ltime = localtime_r(&Future, &tmbuf); in DSTcorrect()
807 tm = localtime_r(&Start, &tmbuf); in RelativeMonth()
1006 tm = localtime_r(&now, &local); in archive_parse_date()
H A Darchive_time.c93 t = localtime_r(&ut, &tmbuf); in unix_to_dos()
/freebsd/contrib/tzcode/
H A Dasctime.c147 struct tm *tmp = localtime_r(timep, &mytm); in ctime_r()
H A Dprivate.h718 # undef localtime_r
719 # define localtime_r tz_localtime_r macro
802 struct tm *localtime_r(time_t const *restrict, struct tm *restrict);
/freebsd/contrib/netbsd-tests/lib/libc/time/
H A Dt_mktime.c50 localtime_r(&x, &tt); in ATF_TC_BODY()
/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-misc.h206 struct tm *localtime_r(const time_t *, struct tm *);
/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_swinstalled_tbl.c280 localtime_r(&sb.st_ctime, &k_ts) != NULL) in swins_get_OS_ident()
354 localtime_r(&sb.st_ctime, &k_ts) == NULL) { in swins_get_packages()
/freebsd/include/
H A Dtime.h161 struct tm *localtime_r(const time_t *, struct tm *);
/freebsd/contrib/blocklist/bin/
H A Dsupport.c95 if (localtime_r(&t, &tm) == NULL) in fmttime()
/freebsd/contrib/unbound/util/
H A Dlog.c288 tm_p = localtime_r(&now, &tm); in log_vmsg()
311 localtime_r(&now, &tm))%(sizeof(tmbuf)) != 0) { in log_vmsg()
/freebsd/sys/contrib/openzfs/.github/codeql/custom-queries/cpp/
H A DdeprecatedFunctionUsage.ql50 result = "localtime(3) isn't thread-safe. Use localtime_r(3) instead!"

12345