/netbsd-current/external/gpl3/gdb.old/dist/gnulib/import/ |
H A D | localtime-buffer.c | 1 /* 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 D | time_r.c | 43 return copy_tm_result (tp, localtime (t));
|
H A D | time.in.h | 214 <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 D | LINUX2 | 39 # 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 D | humandate.c | 31 tm = localtime(&sample); 50 tm = localtime(&sample);
|
/netbsd-current/external/bsd/ntp/dist/libntp/ |
H A D | humandate.c | 26 tm = localtime(&cursec); 52 tm = localtime(&cursec);
|
/netbsd-current/external/gpl2/xcvs/dist/lib/ |
H A D | gettimeofday.c | 2 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 D | time_r.c | 71 return copy_tm_result (tp, localtime (t));
|
/netbsd-current/external/bsd/file/dist/src/ |
H A D | localtime_r.c | 20 struct tm *tmp = localtime(t);
|
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/c_compatibility/ |
H A D | time.h | 43 #undef localtime macro 57 using std::localtime;
|
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/c_compatibility/ |
H A D | time.h | 43 #undef localtime macro 57 using std::localtime;
|
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | localtime_r.c | 54 tm = localtime((time_t *)timer);
|
/netbsd-current/external/gpl3/gdb/dist/gnulib/import/ |
H A D | time_r.c | 43 return copy_tm_result (tp, localtime (t));
|
H A D | time.in.h | 261 <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 D | unbound.init | 40 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 D | unbound.init_fedora | 41 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 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; then 43 cp -fp /etc/localtime ${rootdir}/etc/localtime
|
/netbsd-current/external/bsd/ntp/dist/scripts/build/ |
H A D | updateBEDate | 25 $stamp = localtime($mod_time); 27 localtime($mod_time);
|
/netbsd-current/lib/libc/time/ |
H A D | Makefile.inc | 5 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 D | util.c | 60 struct tm *tp = localtime(&tval); 85 lt = localtime(&tval);
|
/netbsd-current/external/bsd/libarchive/dist/cpio/test/ |
H A D | test_option_t.c | 91 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 D | pr_time.c | 63 tnow_yday = localtime(now)->tm_yday; 64 tp = localtime(started);
|
/netbsd-current/usr.bin/make/unit-tests/ |
H A D | varmod-gmtime.mk | 7 # 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 D | directive-export.mk | 56 # 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 D | named | 144 if [ -f /etc/localtime ]; then 145 cmp -s /etc/localtime "${named_chrootdir}/etc/localtime" || 146 cp -p /etc/localtime "${named_chrootdir}/etc/localtime"
|