Home
last modified time | relevance | path

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

123456789

/freebsd/contrib/bmake/unit-tests/
H A Dvarmod-localtime.mk17 .if ${:U:localtime:tW:M??? ??? ?? ??\:??\:?? ????} == ""
29 .if ${%Y:L:localtime=1593536400} != "2020"
42 .if ${localtime:L:local%=gm%} != "gmtime"
49 .if ${%Y:L:localtime=${:U1593536400}} != "2020"
60 .if ${:L:localtime=-1} != ""
70 .if ${:L:localtime= 1} != ""
80 .if !${:L:localtime=0:tW:M??? ??? ?? ??\:??\:?? 20??}
85 .if ${:L:localtime=1} != "Thu Jan 1 01:00:01 1970"
91 .if ${:L:localtime=2147483647} != "Tue Jan 19 04:14:07 2038"
96 .if ${:L:localtime=2147483648} == "Tue Jan 19 04:14:08 2038"
[all …]
H A Dvarmod-gmtime.mk147 .for t in ${%s:L:gmtime} ${%s:L:localtime}
151 .for t in ${%s:L:gmtime} ${%s:L:localtime}
155 .for t in ${%s:L:gmtime} ${%s:L:localtime}
159 .for t in ${%s:L:gmtime} ${%s:L:localtime}
163 .for t in ${%s:L:gmtime} ${%s:L:localtime}
H A Ddirective-export.mk60 .info ${%T:L:localtime=86400}
65 .info ${%T:L:localtime=86400}
68 .info ${%T:L:localtime=86400}
/freebsd/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
62 for mountfile in /dev/log /dev/urandom /etc/localtime /etc/resolv.conf /var/run/unbound
H A Dunbound.init_yocto40 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
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/usr.sbin/etcupdate/tests/
H A Dtzsetup_test.sh163 missing /etc/localtime
169 ln -s /dev/null $TEST/etc/localtime
186 link /etc/localtime "/dev/null"
192 echo "bar" > $TEST/etc/localtime
198 Needs update: /etc/localtime (required manual update via tzsetup(8))
211 file /etc/localtime "bar"
217 echo "bar" > $TEST/etc/localtime
/freebsd/lib/libc/stdtime/
H A DMakefile.inc5 TZCODE_SRCS= asctime.c difftime.c localtime.c
18 CFLAGS.localtime.c+= -DALL_STATE -DTHREAD_SAFE
20 CFLAGS.localtime.c+= -DDETECT_TZ_CHANGES
27 ctime.3 localtime.3 ctime.3 mktime.3 ctime.3 timegm.3 \
/freebsd/usr.sbin/pw/
H A Dpsdate.c201 T = localtime(&dt); in parse_date()
207 T = localtime(&dt); in parse_date()
212 T = localtime(&dt); in parse_date()
230 T = localtime(&dt); in parse_date()
/freebsd/usr.bin/finger/
H A Dlprint.c169 tp = localtime(&w->loginat); in lprint()
201 tp = localtime(&w->loginat); in lprint()
225 tp = localtime(&pn->mailrecv); in lprint()
231 tp = localtime(&pn->mailread); in lprint()
238 tp = localtime(&pn->mailread); in lprint()
/freebsd/contrib/ntp/libntp/
H A Dhumandate.c23 tm = localtime(&cursec); in humanlogtime()
49 tm = localtime(&cursec); in humantime()
/freebsd/sys/contrib/openzfs/.github/codeql/custom-queries/cpp/
H A DdeprecatedFunctionUsage.ql23 f.getName() = "localtime" or
49 else if f.getName() = "localtime" then
50 result = "localtime(3) isn't thread-safe. Use localtime_r(3) instead!"
/freebsd/contrib/tzcode/
H A DMakefile90 # /stage/etc/localtime instead of to /etc/localtime). Files under
103 TZDEFAULT = $(TOPDIR)/etc/localtime
264 # with external linkage, e.g., applications cannot define 'localtime'.
273 # -DTHREAD_SAFE to make localtime.c thread-safe, as POSIX requires;
415 # If you want to allocate state structures in localtime, add
576 TZDOBJS= zdump.o localtime.o strftime.o
577 DATEOBJS= date.o localtime.o strftime.o
578 LIBSRCS= localtime.c asctime.c difftime.c strftime.c
579 LIBOBJS= localtime
[all...]
/freebsd/contrib/tzdata/
H A DMakefile90 # /stage/etc/localtime instead of to /etc/localtime). Files under
103 TZDEFAULT = $(TOPDIR)/etc/localtime
265 # with external linkage, e.g., applications cannot define 'localtime'.
274 # -DTHREAD_SAFE to make localtime.c thread-safe, as POSIX requires;
417 # If you want to allocate state structures in localtime, add
578 TZDOBJS= zdump.o localtime.o strftime.o
579 DATEOBJS= date.o localtime.o strftime.o
580 LIBSRCS= localtime.c asctime.c difftime.c strftime.c
581 LIBOBJS= localtime
[all...]
/freebsd/usr.bin/w/
H A Dpr_time.c57 tp = *localtime(started); in pr_attime()
58 tm = *localtime(now); in pr_attime()
/freebsd/usr.sbin/fifolog/lib/
H A Dgetdate.y602 ltm = localtime(&Julian); in Convert()
605 || (DSTmode == DSTmaybe && localtime(&Julian)->tm_isdst)) in Convert()
617 StartDay = (localtime(&Start)->tm_hour + 1) % 24; in DSTcorrect()
618 FutureDay = (localtime(&Future)->tm_hour + 1) % 24; in DSTcorrect()
630 tm = localtime(&now); in RelativeDate()
646 tm = localtime(&Start); in RelativeMonth()
829 if (! (tm = localtime (&nowtime))) in get_date()
/freebsd/usr.bin/find/
H A Dgetdate.y602 || (DSTmode == DSTmaybe && localtime(&Julian)->tm_isdst)) in Convert()
614 StartDay = (localtime(&Start)->tm_hour + 1) % 24; in DSTcorrect()
615 FutureDay = (localtime(&Future)->tm_hour + 1) % 24; in DSTcorrect()
627 tm = localtime(&now); in RelativeDate()
643 tm = localtime(&Start); in RelativeMonth()
859 if (! (tm = localtime (&nowtime))) in get_date()
875 tm = localtime(&nowtime); in get_date()
/freebsd/usr.bin/chpass/
H A Dutil.c67 tp = localtime(&tval); in ttoa()
92 lt = localtime(&tval); in atot()
/freebsd/usr.bin/leave/
H A Dleave.c102 t = localtime(&now); in main()
141 strftime(tb, sizeof(tb), "%+", localtime(&daytime)); in doalarm()
/freebsd/usr.bin/last/
H A Dlast.c252 tm = localtime(&t); in wtmp()
356 tm = localtime(&t); in printentry()
390 tm = localtime(&tt->logout); in printentry()
540 if ((t = localtime(&timet)) == NULL) in dateconv()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dctime40 tm* localtime(const time_t* timer);
78 using ::localtime _LIBCPP_USING_IF_EXISTS;
/freebsd/lib/libutil/
H A Dlogin_times.c138 return (in_ltm(ltm, localtime(t), t)); in in_lt()
158 return (in_ltms(ltm, localtime(t), t)); in in_lts()
/freebsd/lib/libsecureboot/
H A Dlocal.trust.mk33 ECDSA/esig/${SIGN_HOST}:${133%y:L:localtime} \
34 RSA/rsig/${SIGN_HOST}:${163%y:L:localtime} \
/freebsd/usr.sbin/newsyslog/
H A Dptimes.c376 adjtime.tm = *(localtime(&adjtime.tsecs)); in ptime_adjust4dst()
399 ptime->basetm = *(localtime(&ptime->basesecs)); in ptime_relparse()
670 nextmatch.tm = *(localtime(&nextmatch.tsecs)); in ptimeset_nxtime()
692 ptime->tm = *(localtime(&ptime->tsecs)); in ptimeset_time()
/freebsd/usr.bin/lastcomm/
H A Dlastcomm.c179 localtime(&ab.ac_btime)); in main()
191 localtime(&t)); in main()

123456789