| /freebsd-14.2/contrib/bmake/unit-tests/ |
| H A D | varmod-localtime.mk | 17 .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" 61 .if ${:L:localtime=-1} != "" 72 .if ${:L:localtime= 1} != "" 82 .if !${:L:localtime=0:tW:M??? ??? ?? ??\:??\:?? 20??} 87 .if ${:L:localtime=1} != "Thu Jan 1 01:00:01 1970" 120 .if ${:L:localtime=10000000000000000000000000000000} != "" 133 .if ${:L:localtime=error} != "" [all …]
|
| /freebsd-14.2/usr.sbin/etcupdate/tests/ |
| H A D | tzsetup_test.sh | 163 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 235 file /etc/localtime "foo"
|
| /freebsd-14.2/contrib/unbound/contrib/ |
| H A D | unbound.init_fedora | 41 …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 D | unbound.init_yocto | 40 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 D | unbound.init | 40 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-14.2/lib/libc/stdtime/ |
| H A D | Makefile.inc | 5 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-14.2/usr.sbin/pw/ |
| H A D | psdate.c | 201 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-14.2/usr.bin/finger/ |
| H A D | lprint.c | 176 tp = localtime(&w->loginat); in lprint() 208 tp = localtime(&w->loginat); in lprint() 232 tp = localtime(&pn->mailrecv); in lprint() 238 tp = localtime(&pn->mailread); in lprint() 245 tp = localtime(&pn->mailread); in lprint()
|
| /freebsd-14.2/contrib/ntp/libntp/ |
| H A D | humandate.c | 23 tm = localtime(&cursec); in humanlogtime() 49 tm = localtime(&cursec); in humantime()
|
| /freebsd-14.2/contrib/tzdata/ |
| H A D | Makefile | 103 TZDEFAULT = $(TOPDIR)/etc/localtime 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.o asctime.o difftime.o strftime.o 619 TZS_DEPS= $(YDATA) localtime.c private.h \ 636 leap-seconds.list leapseconds.awk localtime.c \ 1362 localtime.o: private.h tzdir.h tzfile.h 1363 strftime.o: localtime.c private.h tzdir.h tzfile.h
|
| /freebsd-14.2/sys/contrib/openzfs/.github/codeql/custom-queries/cpp/ |
| H A D | deprecatedFunctionUsage.ql | 23 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-14.2/usr.bin/w/ |
| H A D | pr_time.c | 60 tp = *localtime(started); in pr_attime() 61 tm = *localtime(now); in pr_attime()
|
| /freebsd-14.2/contrib/tzcode/ |
| H A D | Makefile | 103 TZDEFAULT = $(TOPDIR)/etc/localtime 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.o asctime.o difftime.o strftime.o 617 TZS_DEPS= $(YDATA) asctime.c localtime.c \ 634 leap-seconds.list leapseconds.awk localtime.c \ 1360 localtime.o: private.h tzfile.h tzdir.h
|
| /freebsd-14.2/usr.sbin/fifolog/lib/ |
| H A D | getdate.y | 602 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-14.2/usr.bin/chpass/ |
| H A D | util.c | 73 tp = localtime(&tval); in ttoa() 98 lt = localtime(&tval); in atot()
|
| /freebsd-14.2/usr.bin/find/ |
| H A D | getdate.y | 602 || (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-14.2/usr.bin/leave/ |
| H A D | leave.c | 107 t = localtime(&now); in main() 146 strftime(tb, sizeof(tb), "%+", localtime(&daytime)); in doalarm()
|
| /freebsd-14.2/usr.bin/last/ |
| H A D | last.c | 259 tm = localtime(&t); in wtmp() 357 tm = localtime(&t); in printentry() 391 tm = localtime(&tt->logout); in printentry() 541 if ((t = localtime(&timet)) == NULL) in dateconv()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/ |
| H A D | ctime | 40 tm* localtime(const time_t* timer); 79 using ::localtime _LIBCPP_USING_IF_EXISTS;
|
| /freebsd-14.2/lib/libsecureboot/ |
| H A D | local.trust.mk | 33 ECDSA/esig/${SIGN_HOST}:${133%y:L:localtime} \ 34 RSA/rsig/${SIGN_HOST}:${163%y:L:localtime} \
|
| /freebsd-14.2/lib/libutil/ |
| H A D | login_times.c | 139 return (in_ltm(ltm, localtime(t), t)); in in_lt() 159 return (in_ltms(ltm, localtime(t), t)); in in_lts()
|
| /freebsd-14.2/usr.sbin/newsyslog/ |
| H A D | ptimes.c | 376 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-14.2/contrib/ldns/compat/ |
| H A D | localtime_r.c | 12 *result = *localtime(timep); in localtime_r()
|
| /freebsd-14.2/contrib/file/src/ |
| H A D | localtime_r.c | 14 struct tm *tmp = localtime(t); in localtime_r()
|
| /freebsd-14.2/usr.bin/lastcomm/ |
| H A D | lastcomm.c | 191 localtime(&ab.ac_btime)); in main() 203 localtime(&t)); in main()
|