| /freebsd-13.1/contrib/bmake/unit-tests/ |
| H A D | varmod-localtime.mk | 14 .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 D | tzsetup_test.sh | 164 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 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 61 for mountfile in /dev/log /dev/urandom /etc/localtime /etc/resolv.conf /var/run/unbound
|
| 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-13.1/lib/libc/stdtime/ |
| H A D | Makefile.inc | 6 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 D | Symbol.map | 19 localtime;
|
| /freebsd-13.1/usr.sbin/pw/ |
| H A D | psdate.c | 206 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 D | lprint.c | 178 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 D | humandate.c | 24 tm = localtime(&cursec); in humanlogtime() 50 tm = localtime(&cursec); in humantime()
|
| /freebsd-13.1/usr.sbin/fifolog/lib/ |
| H A D | getdate.y | 601 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 D | test_option_t.c | 91 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 D | pr_time.c | 63 tp = *localtime(started); in pr_attime() 64 tm = *localtime(now); in pr_attime()
|
| /freebsd-13.1/usr.bin/find/ |
| H A D | getdate.y | 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() 861 if (! (tm = localtime (&nowtime))) in get_date() 877 tm = localtime(&nowtime); in get_date()
|
| /freebsd-13.1/usr.bin/chpass/ |
| H A D | util.c | 75 tp = localtime(&tval); in ttoa() 100 lt = localtime(&tval); in atot()
|
| /freebsd-13.1/usr.bin/leave/ |
| H A D | leave.c | 109 t = localtime(&now); in main() 148 strftime(tb, sizeof(tb), "%+", localtime(&daytime)); in doalarm()
|
| /freebsd-13.1/lib/libutil/ |
| H A D | login_times.c | 141 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 D | ptimes.c | 374 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 D | last.c | 293 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 D | localtime_r.c | 12 *result = *localtime(timep); in localtime_r()
|
| /freebsd-13.1/contrib/file/src/ |
| H A D | localtime_r.c | 14 struct tm *tmp = localtime(t); in localtime_r()
|
| /freebsd-13.1/contrib/llvm-project/libcxx/include/ |
| H A D | ctime | 40 tm* localtime(const time_t* timer); 86 using ::localtime _LIBCPP_USING_IF_EXISTS;
|
| /freebsd-13.1/usr.bin/lastcomm/ |
| H A D | lastcomm.c | 193 localtime(&ab.ac_btime)); in main() 205 localtime(&t)); in main()
|
| /freebsd-13.1/cddl/contrib/opensolaris/cmd/stat/common/ |
| H A D | timestamp.c | 45 len = strftime(dstr, sizeof (dstr), "%+", localtime(&t)); in print_timestamp()
|
| /freebsd-13.1/libexec/bootpd/ |
| H A D | tzone.c | 41 if ((tm = localtime(&now)) == NULL) { in tzone_init()
|
| /freebsd-13.1/crypto/heimdal/lib/roken/ |
| H A D | localtime_r.c | 52 tm = localtime((time_t *)timer); in localtime_r()
|