Home
last modified time | relevance | path

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

12345678910>>...13

/netbsd-src/usr.bin/make/unit-tests/
H A Dvarmod-localtime.mk1 # $NetBSD: varmod-localtime.mk,v 1.20 2025/01/11 20:54:46 rillig Exp $
3 # Tests for the :localtime variable modifier, which formats a timestamp
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"
55 # negative time stamps to the :localtime modifier, resulting in dates before
60 .if ${:L:localtime=-1} != ""
70 .if ${:L:localtime= 1} != ""
80 .if !${:L:localtime
[all...]
H A Dvarmod-gmtime.mk7 # varmod-localtime.mk
42 .if ${gmtime:L:gm%=local%} != "localtime"
144 # Before var.c 1.1062 from 2023-08-19, ':gmtime' but not ':localtime' reported
147 .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}
/netbsd-src/external/bsd/unbound/dist/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.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
/netbsd-src/external/ibm-public/postfix/dist/examples/chroot-setup/
H A DLINUX270 lt=/etc/localtime
71 if test ! -f $lt ; then lt=/usr/lib/zoneinfo/localtime ; fi
72 if test ! -f $lt ; then lt=/usr/share/zoneinfo/localtime ; fi
74 rm -f etc/localtime
79 ln -s -f /etc/localtime usr/lib/zoneinfo
/netbsd-src/external/gpl2/xcvs/dist/lib/
H A Dgettimeofday.c34 #undef localtime
63 struct tm *tm = localtime (timep); in rpl_localtime()
98 localtime_buffer_addr = localtime (&t); in rpl_gettimeofday()
120 localtime_buffer_addr = localtime (&t); in rpl_tzset()
/netbsd-src/external/gpl2/xcvs/dist/m4/
H A Dgettimeofday.m410 dnl See if gettimeofday clobbers the static buffer that localtime uses
14 dnl If it does, then arrange to use gettimeofday and localtime only via
20 AC_CACHE_CHECK([whether gettimeofday clobbers localtime buffer],
46 lt = localtime (&t);
73 AC_DEFINE(localtime, rpl_localtime, definition
H A Dtzset.m412 # used by localtime.
19 AC_CACHE_CHECK([whether tzset clobbers localtime buffer],
41 p = localtime (&t1);
66 [Define if tzset clobbers localtime's static buffer.])
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/
H A Dtime.in.h266 # undef localtime
267 # define localtime rpl_localtime
269 _GL_FUNCDECL_RPL (localtime, struct tm *, (time_t const *__timer)
271 _GL_CXXALIAS_RPL (localtime, struct tm *, (time_t const *__timer));
273 _GL_CXXALIAS_SYS (localtime, struct tm *, (time_t const *__timer));
276 _GL_CXXALIASWARN (localtime);
/netbsd-src/external/bsd/dhcpcd/dist/hooks/
H A D15-timezone3 : ${localtime:=/etc/localtime}
33 if copy_file "$zone_file" "$localtime"; then
/netbsd-src/etc/rc.d/
H A Dnamed144 if [ -f /etc/localtime ]; then
145 cmp -s /etc/localtime "${named_chrootdir}/etc/localtime" ||
146 cp -p /etc/localtime "${named_chrootdir}/etc/localtime"
/netbsd-src/external/bsd/ntp/dist/tests/libntp/
H A Dhumandate.c31 tm = localtime(&sample); in test_RegularTime()
50 tm = localtime(&sample); in test_CurrentTime()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/c_compatibility/
H A Dtime.h43 #undef localtime
57 using std::localtime;
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/c_compatibility/
H A Dtime.h43 #undef localtime
57 using std::localtime;
/netbsd-src/external/public-domain/tz/dist/
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...]
/netbsd-src/lib/libc/time/
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...]
/netbsd-src/usr.bin/w/
H A Dpr_time.c63 tnow_yday = localtime(now)->tm_yday; in pr_attime()
64 tp = localtime(started); in pr_attime()
/netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/mipsn64el/gnulib/import/
H A Dtime.h777 # undef localtime
778 # define localtime rpl_localtime
780 _GL_FUNCDECL_RPL (localtime, struct tm *, (time_t const *__timer)
782 _GL_CXXALIAS_RPL (localtime, struct tm *, (time_t const *__timer));
784 _GL_CXXALIAS_SYS (localtime, struct tm *, (time_t const *__timer));
787 _GL_CXXALIASWARN (localtime);
/netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/ia64/gnulib/import/
H A Dtime.h777 # undef localtime
778 # define localtime rpl_localtime
780 _GL_FUNCDECL_RPL (localtime, struct tm *, (time_t const *__timer)
782 _GL_CXXALIAS_RPL (localtime, struct tm *, (time_t const *__timer));
784 _GL_CXXALIAS_SYS (localtime, struct tm *, (time_t const *__timer));
787 _GL_CXXALIASWARN (localtime);
/netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/m68000/gnulib/import/
H A Dtime.h777 # undef localtime
778 # define localtime rpl_localtime
780 _GL_FUNCDECL_RPL (localtime, struct tm *, (time_t const *__timer)
782 _GL_CXXALIAS_RPL (localtime, struct tm *, (time_t const *__timer));
784 _GL_CXXALIAS_SYS (localtime, struct tm *, (time_t const *__timer));
787 _GL_CXXALIASWARN (localtime);
/netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/aarch64/gnulib/import/
H A Dtime.h777 # undef localtime
778 # define localtime rpl_localtime
780 _GL_FUNCDECL_RPL (localtime, struct tm *, (time_t const *__timer)
782 _GL_CXXALIAS_RPL (localtime, struct tm *, (time_t const *__timer));
784 _GL_CXXALIAS_SYS (localtime, struct tm *, (time_t const *__timer));
787 _GL_CXXALIASWARN (localtime);
/netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/
H A Dtime.h777 # undef localtime
778 # define localtime rpl_localtime
780 _GL_FUNCDECL_RPL (localtime, struct tm *, (time_t const *__timer)
782 _GL_CXXALIAS_RPL (localtime, struct tm *, (time_t const *__timer));
784 _GL_CXXALIAS_SYS (localtime, struct tm *, (time_t const *__timer));
787 _GL_CXXALIASWARN (localtime);
/netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/aarch64eb/gnulib/import/
H A Dtime.h777 # undef localtime
778 # define localtime rpl_localtime
780 _GL_FUNCDECL_RPL (localtime, struct tm *, (time_t const *__timer)
782 _GL_CXXALIAS_RPL (localtime, struct tm *, (time_t const *__timer));
784 _GL_CXXALIAS_SYS (localtime, struct tm *, (time_t const *__timer));
787 _GL_CXXALIASWARN (localtime);

12345678910>>...13