Searched refs:localtime (Results 1 - 25 of 340) sorted by relevance

1234567891011>>

/netbsd-current/external/gpl3/gdb.old/dist/gnulib/import/
H A Dlocaltime-buffer.c1 /* Provide access to the last buffer returned by localtime() or gmtime().
23 #include "localtime-buffer.h"
30 /* This is a wrapper for localtime.
33 localtime uses for its result. */
37 #undef localtime macro
39 struct tm *tm = localtime (timep);
47 /* Same as above, since gmtime and localtime use the same buffer. */
H A Dtime_r.c43 return copy_tm_result (tp, localtime (t));
H A Dtime.in.h214 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/localtime.html> and
219 # undef localtime
220 # define localtime rpl_localtime
222 _GL_FUNCDECL_RPL (localtime, struct tm *, (time_t const *__timer)
224 _GL_CXXALIAS_RPL (localtime, struct tm *, (time_t const *__timer));
226 _GL_CXXALIAS_SYS (localtime, struct tm *, (time_t const *__timer));
229 _GL_CXXALIASWARN (localtime);
/netbsd-current/external/ibm-public/postfix/dist/examples/chroot-setup/
H A DLINUX239 # remove /etc/localtime in case it's a broken symlink
69 # find localtime (SuSE 5.3 does not have /etc/localtime)
70 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
73 if test ! -f $lt ; then echo "cannot find localtime" ; exit 1 ; fi
74 rm -f etc/localtime
76 # copy localtime and some other system files into the chroot's etc
79 ln -s -f /etc/localtime us
[all...]
/netbsd-current/external/bsd/ntp/dist/tests/libntp/
H A Dhumandate.c31 tm = localtime(&sample);
50 tm = localtime(&sample);
/netbsd-current/external/bsd/ntp/dist/libntp/
H A Dhumandate.c26 tm = localtime(&cursec);
52 tm = localtime(&cursec);
/netbsd-current/external/gpl2/xcvs/dist/lib/
H A Dgettimeofday.c2 static buffer that localtime uses for it's return value. The gettimeofday
34 #undef localtime macro
54 /* This is a wrapper for localtime. It is used only on systems for which
55 gettimeofday clobbers the static buffer used for localtime's result.
58 localtime uses for its result. */
63 struct tm *tm = localtime (timep);
71 /* Same as above, since gmtime and localtime use the same buffer. */
84 gettimeofday clobbers the static buffer used for localtime's result.
86 Save and restore the contents of the buffer used for localtime's result
98 localtime_buffer_addr = localtime (
[all...]
H A Dtime_r.c71 return copy_tm_result (tp, localtime (t));
/netbsd-current/external/bsd/file/dist/src/
H A Dlocaltime_r.c20 struct tm *tmp = localtime(t);
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/c_compatibility/
H A Dtime.h43 #undef localtime macro
57 using std::localtime;
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/c_compatibility/
H A Dtime.h43 #undef localtime macro
57 using std::localtime;
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dlocaltime_r.c54 tm = localtime((time_t *)timer);
/netbsd-current/external/gpl3/gdb/dist/gnulib/import/
H A Dtime_r.c43 return copy_tm_result (tp, localtime (t));
H A Dtime.in.h261 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/localtime.html> and
266 # 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-current/external/bsd/unbound/dist/contrib/
H A Dunbound.init40 if [ -s /etc/localtime ]; then
42 if [ ! -e ${rootdir}/etc/localtime ] || ! /usr/bin/cmp -s /etc/localtime ${rootdir}/etc/localtime; then
43 cp -fp /etc/localtime ${rootdir}/etc/localtime
H A Dunbound.init_fedora41 if [ ! -e ${rootdir}/etc/localtime ] || /usr/bin/cmp -s /etc/localtime ${rootdir}/etc/localtime; then
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; then
43 cp -fp /etc/localtime ${rootdir}/etc/localtime
/netbsd-current/external/bsd/ntp/dist/scripts/build/
H A DupdateBEDate25 $stamp = localtime($mod_time);
27 localtime($mod_time);
/netbsd-current/lib/libc/time/
H A DMakefile.inc5 SRCS+= asctime.c difftime.c localtime.c getdate.c strftime.c strptime.c
17 ctime.3 localtime.3 \
/netbsd-current/usr.bin/chpass/
H A Dutil.c60 struct tm *tp = localtime(&tval);
85 lt = localtime(&tval);
/netbsd-current/external/bsd/libarchive/dist/cpio/test/
H A Dtest_option_t.c91 strftime(date2, sizeof(date2)-1, "%b %d %Y", localtime(&mtime));
94 strftime(date2, sizeof(date2)-1, "%b %e %Y", localtime(&mtime));
/netbsd-current/usr.bin/w/
H A Dpr_time.c63 tnow_yday = localtime(now)->tm_yday;
64 tp = localtime(started);
/netbsd-current/usr.bin/make/unit-tests/
H A Dvarmod-gmtime.mk7 # varmod-localtime.mk
42 .if ${gmtime:L:gm%=local%} != "localtime"
149 # Before var.c 1.1062 from 2023-08-19, ':gmtime' but not ':localtime' reported
152 .for t in ${%s:L:gmtime} ${%s:L:localtime}
156 .for t in ${%s:L:gmtime} ${%s:L:localtime}
160 .for t in ${%s:L:gmtime} ${%s:L:localtime}
164 .for t in ${%s:L:gmtime} ${%s:L:localtime}
168 .for t in ${%s:L:gmtime} ${%s:L:localtime}
H A Ddirective-export.mk56 # that only subprocesses access the environment variables. The ':localtime'
60 .info ${%T:L:localtime=86400}
65 .info ${%T:L:localtime=86400}
68 .info ${%T:L:localtime=86400}
/netbsd-current/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"

Completed in 196 milliseconds

1234567891011>>