/dragonfly/crypto/openssh/ |
H A D | sftp-common.c | 222 time_t now; in ls_file() local 241 now = time(NULL); in ls_file() 242 if (now - (365*24*60*60)/2 < st->st_mtime && in ls_file() 243 now >= st->st_mtime) in ls_file()
|
/dragonfly/usr.sbin/pw/ |
H A D | pw_user.c | 483 time_t now = time(NULL); in pw_user() local 484 time_t expire = parse_date(now, arg->val); in pw_user() 486 if (now == expire) in pw_user() 503 time_t now = time(NULL); in pw_user() local 506 if (now == expire) in pw_user() 919 time_t now = time(NULL); in pw_pwdpolicy() local 923 if ((result = parse_date(now, arg->val)) == now) in pw_pwdpolicy() 926 result = now + ((long) cnf->password_days * 86400L); in pw_pwdpolicy() 935 time_t now = time(NULL); in pw_exppolicy() local 939 if ((result = parse_date(now, arg->val)) == now) in pw_exppolicy() [all …]
|
H A D | pw_log.c | 47 time_t now = time(NULL); in pw_log() local 48 struct tm *t = localtime(&now); in pw_log()
|
/dragonfly/contrib/dhcpcd/src/ |
H A D | ipv6.c | 714 if (now == NULL) { in ipv6_addaddr1() 716 now = &n; in ipv6_addaddr1() 987 if (!timespecisset(now)) in ipv6_doaddr() 989 ipv6_addaddr(ia, now); in ipv6_doaddr() 996 struct timespec now; in ipv6_addaddrs() local 1001 timespecclear(&now); in ipv6_addaddrs() 1046 struct timespec now; in ipv6_freedrop_addrs() local 1051 timespecclear(&now); in ipv6_freedrop_addrs() 1083 &now); in ipv6_freedrop_addrs() 1993 ia->created = ia->acquired = now ? *now : ia0->acquired; in ipv6_createtempaddr() [all …]
|
/dragonfly/lib/libc/isc/ |
H A D | ev_timers.c | 115 struct timeval now; in evNowTime() local 127 if (gettimeofday(&now, NULL) < 0) in evNowTime() 129 return (evTimeSpec(now)); in evNowTime() 134 struct timeval now; in evUTCTime() local 140 if (gettimeofday(&now, NULL) < 0) in evUTCTime() 142 return (evTimeSpec(now)); in evUTCTime()
|
/dragonfly/sys/sys/ |
H A D | indefinite2.h | 52 char now, char type) in indefinite_init() argument 58 info->reported = now; in indefinite_init() 67 if (now && info->ident) { in indefinite_init()
|
/dragonfly/sbin/newfs_hammer2/ |
H A D | mkfs_hammer2.c | 320 uint64_t now; in format_hammer2_inode() local 327 now = nowtime(); in format_hammer2_inode() 346 rawip->meta.ctime = now; in format_hammer2_inode() 347 rawip->meta.mtime = now; in format_hammer2_inode() 349 rawip->meta.btime = now; in format_hammer2_inode() 425 rawip->meta.ctime = now; in format_hammer2_inode() 426 rawip->meta.mtime = now; in format_hammer2_inode() 428 rawip->meta.btime = now; in format_hammer2_inode()
|
/dragonfly/contrib/awk/ |
H A D | FIXES.1e | 83 As per IEEE Std 1003.1-2008, -F "str" is now consistent with 203 Additional small cleanups from Christos Zoulas. awk is now 450 split(s, a, //) now behaves the same as split(s, a, "") 469 now allows -ffoo as well as -f foo arguments. 562 core dump on linux with BEGIN {nextfile}, now fixed. 823 with code kindly provided by Bruce Lilly, awk now parses 1059 think i now understand.) 1107 cleaned up some error messages; "out of space" now means 1229 srand now returns previous seed value (0 to start). 1310 Debugging output now includes a version date, [all …]
|
/dragonfly/ |
H A D | UPDATING | 31 custom kernel configuration can remove this option from it now. 44 The accepted values of BINUTILSVER are now "binutils234" (default) and 62 removed, and we are now using the POSIX "utmpx" API (getutxent(), 162 Upgrading to 5.1 and later versions now require at least 4.4 in 185 can remove this option from it now. 209 It has been broken for a long time now. 313 into a no-op for now and can be removed from custom configurations. 479 master. That period is now over, so any configs still having those 486 now compiled in by default. The options are no-ops for now. 603 DragonFly has switched base compilers. GCC 4.7 is now the default [all …]
|
/dragonfly/contrib/gcc-4.7/libstdc++-v3/src/c++11/ |
H A D | chrono.cc | 45 system_clock::now() noexcept in now() function in std::chrono::system_clock 69 steady_clock::now() noexcept in now() function in std::chrono::steady_clock
|
/dragonfly/contrib/gcc-8.0/libstdc++-v3/src/c++11/ |
H A D | compatibility-chrono.cc | 65 now() noexcept; 71 system_clock::now() noexcept in now() function in std::chrono::system_clock
|
/dragonfly/contrib/smbfs/ |
H A D | HISTORY | 12 - Charset specifications now accepted in the [default] section. 43 - It is possible to use smbfs with devfs now, but it wasn't tested under 55 - smbfs now can talk to the NetApp servers (thanks to Jonathan Hanna). 82 now it is excluded from the list of supported systems. 88 - smbfs now known to work with IBM LanManager (special thanks to 126 mount_smbfs(8) manpage has now proper description for an '-N' option.
|
/dragonfly/usr.sbin/rtadvd/ |
H A D | rrenum.c | 219 struct timespec now; in do_use_prefix() local 231 &now); in do_use_prefix() 233 now.tv_sec + in do_use_prefix() 239 &now); in do_use_prefix() 241 now.tv_sec + in do_use_prefix()
|
/dragonfly/contrib/dhcpcd/hooks/ |
H A D | 20-resolv.conf | 114 eval now=\$nd${i}_now 115 [ -z "$now" ] && break 116 offset=$(($now - $acquired))
|
/dragonfly/usr.bin/top/ |
H A D | display.h | 63 void i_message(struct timeval *now); 64 void u_message(struct timeval *now);
|
/dragonfly/usr.bin/find/ |
H A D | main.c | 53 time_t now; /* time find was run */ variable 75 (void)time(&now); /* initialize the time-of-day */ in main()
|
/dragonfly/sys/platform/pc64/apic/ |
H A D | lapic.c | 668 uint64_t diff, now, val; in lapic_timer_tscdlt_reload() local 682 now = rdtsc(); in lapic_timer_tscdlt_reload() 683 val = now + diff; in lapic_timer_tscdlt_reload() 686 if (deadline == 0 || now > deadline || val < deadline) { in lapic_timer_tscdlt_reload() 1027 uint64_t now; in read_apic_timer() local 1030 now = rdtsc(); in read_apic_timer() 1031 if (val == 0 || now > val) { in read_apic_timer() 1034 val -= now; in read_apic_timer()
|
/dragonfly/tools/tools/net80211/w00t/libw00t/ |
H A D | w00t.c | 376 int elapsed(struct timeval *past, struct timeval *now) in elapsed() argument 380 el = now->tv_sec - past->tv_sec; in elapsed() 383 el = now->tv_usec - past->tv_usec; in elapsed() 387 el += now->tv_usec; in elapsed()
|
/dragonfly/usr.bin/systat/ |
H A D | vmstat.c | 295 time_t now; in fetchkre() local 302 time(&now); in fetchkre() 303 tp = localtime(&now); in fetchkre() 996 dinfo(int dn, int lc, struct statinfo *now, struct statinfo *then) in dinfo() argument 1008 elapsed_time = compute_etime(now->busy_time, then ? in dinfo() 1010 now->dinfo->devices[di].dev_creation_time); in dinfo() 1012 device_busy = compute_etime(now->dinfo->devices[di].busy_time, then ? in dinfo() 1014 now->dinfo->devices[di].dev_creation_time); in dinfo() 1017 &now->dinfo->devices[di], in dinfo() 1028 &now->dinfo->devices[di], in dinfo() [all …]
|
/dragonfly/lib/libc/stdtime/ |
H A D | getdate.c | 72 time_t now; in getdate() local 124 time(&now); in getdate() 125 tmp = localtime(&now); in getdate()
|
/dragonfly/libexec/rbootd/ |
H A D | rbootd.c | 298 struct timeval now; in DoTimeout() local 300 (void) gettimeofday(&now, NULL); in DoTimeout() 307 if ((rtmp->tstamp.tv_sec + RMP_TIMEOUT) < now.tv_sec) { in DoTimeout()
|
/dragonfly/usr.sbin/rpc.umntall/ |
H A D | rpc.umntall.c | 60 time_t expire, now; in main() local 95 time(&now); in main() 110 if (mtab->mtab_time + expire < now) { in main()
|
/dragonfly/usr.bin/wall/ |
H A D | wall.c | 171 time_t now; in makemsg() local 192 (void)time(&now); in makemsg() 193 lt = localtime(&now); in makemsg()
|
/dragonfly/usr.bin/write/ |
H A D | write.c | 228 time_t now; in do_write() local 249 now = time(NULL); in do_write() 250 nows = ctime(&now); in do_write()
|
/dragonfly/contrib/libarchive/tar/ |
H A D | util.c | 668 static time_t now; local 689 if (!now) 690 time(&now); 744 if (tim < now - HALF_YEAR || tim > now + HALF_YEAR)
|