Home
last modified time | relevance | path

Searched refs:localtime (Results 1 – 25 of 196) sorted by relevance

12345678

/freebsd-13.1/contrib/bmake/unit-tests/
H A Dvarmod-localtime.mk14 .if ${:U:localtime:tW:M??? ??? ?? ??\:??\:?? ????} == ""
26 .if ${%Y:L:localtime=1593536400} != "2020"
39 .if ${localtime:L:local%=gm%} != "gmtime"
57 .if ${%Y:L:localtime=${:U1593536400}} != "mtime=11593536400}"
67 .if ${:L:localtime=-1} != ""
76 .if ${:L:localtime= 1} != ""
84 .if !${:L:localtime=0:tW:M??? ??? ?? ??\:??\:?? 20??}
89 .if ${:L:localtime=1} != "Thu Jan 1 01:00:01 1970"
95 .if ${:L:localtime=2147483647} != "Tue Jan 19 04:14:07 2038"
119 .if ${:L:localtime=10000000000000000000000000000000} != ""
[all …]
/freebsd-13.1/usr.sbin/etcupdate/tests/
H A Dtzsetup_test.sh164 missing /etc/localtime
170 ln -s /dev/null $TEST/etc/localtime
187 link /etc/localtime "/dev/null"
193 echo "bar" > $TEST/etc/localtime
199 Needs update: /etc/localtime (required manual update via tzsetup(8))
212 file /etc/localtime "bar"
218 echo "bar" > $TEST/etc/localtime
236 file /etc/localtime "foo"
/freebsd-13.1/contrib/unbound/contrib/
H A Dunbound.init_fedora41 …if [ ! -e ${rootdir}/etc/localtime ] || /usr/bin/cmp -s /etc/localtime ${rootdir}/etc/localtime; t…
42 cp -fp /etc/localtime ${rootdir}/etc/localtime
61 for mountfile in /dev/log /dev/urandom /etc/localtime /etc/resolv.conf /var/run/unbound
H A Dunbound.init40 if [ -s /etc/localtime ]; then
42 …if [ ! -e ${rootdir}/etc/localtime ] || ! /usr/bin/cmp -s /etc/localtime ${rootdir}/etc/localtime;…
43 cp -fp /etc/localtime ${rootdir}/etc/localtime
/freebsd-13.1/lib/libc/stdtime/
H A DMakefile.inc6 SRCS+= asctime.c difftime.c localtime.c strftime.c strptime.c timelocal.c \
13 CFLAGS.localtime.c= -fwrapv
19 ctime.3 localtime.3 ctime.3 mktime.3 ctime.3 timegm.3 \
H A DSymbol.map19 localtime;
/freebsd-13.1/usr.sbin/pw/
H A Dpsdate.c206 T = localtime(&dt); in parse_date()
212 T = localtime(&dt); in parse_date()
217 T = localtime(&dt); in parse_date()
235 T = localtime(&dt); in parse_date()
/freebsd-13.1/usr.bin/finger/
H A Dlprint.c178 tp = localtime(&w->loginat); in lprint()
210 tp = localtime(&w->loginat); in lprint()
234 tp = localtime(&pn->mailrecv); in lprint()
240 tp = localtime(&pn->mailread); in lprint()
247 tp = localtime(&pn->mailread); in lprint()
/freebsd-13.1/contrib/ntp/libntp/
H A Dhumandate.c24 tm = localtime(&cursec); in humanlogtime()
50 tm = localtime(&cursec); in humantime()
/freebsd-13.1/usr.sbin/fifolog/lib/
H A Dgetdate.y601 ltm = localtime(&Julian); in Convert()
604 || (DSTmode == DSTmaybe && localtime(&Julian)->tm_isdst)) in Convert()
616 StartDay = (localtime(&Start)->tm_hour + 1) % 24; in DSTcorrect()
617 FutureDay = (localtime(&Future)->tm_hour + 1) % 24; in DSTcorrect()
629 tm = localtime(&now); in RelativeDate()
645 tm = localtime(&Start); in RelativeMonth()
839 if (! (tm = localtime (&nowtime))) in get_date()
842 tm = localtime(&nowtime); in get_date()
/freebsd-13.1/contrib/libarchive/cpio/test/
H A Dtest_option_t.c91 strftime(date2, sizeof(date2)-1, "%b %d %Y", localtime(&mtime)); in DEFINE_TEST()
94 strftime(date2, sizeof(date2)-1, "%b %e %Y", localtime(&mtime)); in DEFINE_TEST()
/freebsd-13.1/usr.bin/w/
H A Dpr_time.c63 tp = *localtime(started); in pr_attime()
64 tm = *localtime(now); in pr_attime()
/freebsd-13.1/usr.bin/find/
H A Dgetdate.y604 || (DSTmode == DSTmaybe && localtime(&Julian)->tm_isdst)) in Convert()
616 StartDay = (localtime(&Start)->tm_hour + 1) % 24; in DSTcorrect()
617 FutureDay = (localtime(&Future)->tm_hour + 1) % 24; in DSTcorrect()
629 tm = localtime(&now); in RelativeDate()
645 tm = localtime(&Start); in RelativeMonth()
861 if (! (tm = localtime (&nowtime))) in get_date()
877 tm = localtime(&nowtime); in get_date()
/freebsd-13.1/usr.bin/chpass/
H A Dutil.c75 tp = localtime(&tval); in ttoa()
100 lt = localtime(&tval); in atot()
/freebsd-13.1/usr.bin/leave/
H A Dleave.c109 t = localtime(&now); in main()
148 strftime(tb, sizeof(tb), "%+", localtime(&daytime)); in doalarm()
/freebsd-13.1/lib/libutil/
H A Dlogin_times.c141 return (in_ltm(ltm, localtime(t), t)); in in_lt()
161 return (in_ltms(ltm, localtime(t), t)); in in_lts()
/freebsd-13.1/usr.sbin/newsyslog/
H A Dptimes.c374 adjtime.tm = *(localtime(&adjtime.tsecs)); in ptime_adjust4dst()
397 ptime->basetm = *(localtime(&ptime->basesecs)); in ptime_relparse()
668 nextmatch.tm = *(localtime(&nextmatch.tsecs)); in ptimeset_nxtime()
690 ptime->tm = *(localtime(&ptime->tsecs)); in ptimeset_time()
/freebsd-13.1/usr.bin/last/
H A Dlast.c293 tm = localtime(&t); in wtmp()
391 tm = localtime(&t); in printentry()
425 tm = localtime(&tt->logout); in printentry()
575 if ((t = localtime(&timet)) == NULL) in dateconv()
/freebsd-13.1/contrib/ldns/compat/
H A Dlocaltime_r.c12 *result = *localtime(timep); in localtime_r()
/freebsd-13.1/contrib/file/src/
H A Dlocaltime_r.c14 struct tm *tmp = localtime(t); in localtime_r()
/freebsd-13.1/contrib/llvm-project/libcxx/include/
H A Dctime40 tm* localtime(const time_t* timer);
86 using ::localtime _LIBCPP_USING_IF_EXISTS;
/freebsd-13.1/usr.bin/lastcomm/
H A Dlastcomm.c193 localtime(&ab.ac_btime)); in main()
205 localtime(&t)); in main()
/freebsd-13.1/cddl/contrib/opensolaris/cmd/stat/common/
H A Dtimestamp.c45 len = strftime(dstr, sizeof (dstr), "%+", localtime(&t)); in print_timestamp()
/freebsd-13.1/libexec/bootpd/
H A Dtzone.c41 if ((tm = localtime(&now)) == NULL) { in tzone_init()
/freebsd-13.1/crypto/heimdal/lib/roken/
H A Dlocaltime_r.c52 tm = localtime((time_t *)timer); in localtime_r()

12345678