/freebsd-11-stable/lib/libradius/ |
H A D | radlib.c | 666 time_t now; local 695 * would have exited this loop by now. 698 now = time(NULL); 703 h->servers[h->srv].next_probe = now + 713 h->servers[h->srv].next_probe <= now) { 974 time_t now; local 1029 now = time(NULL); 1037 h->servers[srv].next_probe <= now) {
|
/freebsd-11-stable/contrib/libarchive/cpio/ |
H A D | cpio.c | 624 * that can now be flushed. 1152 static time_t now; local 1162 if (!now) 1163 time(&now); 1196 if (mtime - now > 365*86400/2 1197 || mtime - now < -365*86400/2) 1202 if (mtime - now > 365*86400/2 1203 || mtime - now < -365*86400/2)
|
/freebsd-11-stable/contrib/wpa/src/radius/ |
H A D | radius_server.c | 456 "'now'),%u,%Q,%Q,%Q)", 877 struct os_time now; local 886 os_get_time(&now); 888 addr_txt, sess->username, now.sec, 1016 struct os_time now; local 1038 os_get_time(&now); 1040 hash_txt, imsi, addr_txt, eap_method, now.sec); 2572 struct os_reltime now; local 2583 os_get_reltime(&now); 2584 uptime = (now 2905 struct os_time now; local [all...] |
/freebsd-11-stable/contrib/wpa/wpa_supplicant/ |
H A D | wnm_sta.c | 742 struct os_reltime now; local 744 if (os_get_reltime(&now) == 0 && 745 os_reltime_expired(&now, &target->last_update, 959 struct os_reltime now; local 969 os_get_reltime(&now); 970 if (os_reltime_expired(&now, &wpa_s->last_scan, 10)) 1542 struct os_reltime now; local 1544 os_get_reltime(&now); 1545 if (!os_reltime_expired(&now, &wpa_s->last_scan, 10)) {
|
H A D | notify.c | 569 struct os_time now; local 576 os_get_time(&now); 577 slept = now.sec - global->suspend_time.sec;
|
H A D | dpp_supplicant.c | 254 struct os_reltime now, diff; local 262 os_get_reltime(&now); 263 os_reltime_sub(&now, &wpa_s->dpp_last_init, &diff); 350 struct os_reltime now, diff; local 382 os_get_reltime(&now); 383 os_reltime_sub(&now, &wpa_s->dpp_init_iter_start, &diff); 1328 struct os_time now; local 1421 os_get_time(&now); 1422 seconds = expiry - now.sec; 2007 struct os_time now; local [all...] |
/freebsd-11-stable/contrib/wpa/src/eap_server/ |
H A D | eap_server_teap.c | 140 struct os_time now; local 180 * failing the authentication completely. Provisioning can now 254 if (os_get_time(&now) < 0 || lifetime <= 0 || now.sec > lifetime) { 256 "EAP-TEAP: PAC-Key not valid anymore (lifetime=%ld now=%ld)", 257 lifetime, now.sec); 263 * able to validate server certificate now). However, reject 267 } else if (lifetime - now.sec < data->pac_key_refresh_time) { 660 struct os_time now; local 665 os_get_time(&now) < [all...] |
/freebsd-11-stable/contrib/sendmail/mail.local/ |
H A D | mail.local.c | 1178 ** open() was successful, now close it so can 1508 time_t now; local 1511 (void) time(&now); 1512 if (now > start + LOCKTO_GLOB) 1536 (void) time(&now); 1537 if (now < st.st_ctime + LOCKTO_RM)
|
/freebsd-11-stable/contrib/unbound/services/ |
H A D | outside_network.c | 547 * outside_network.tcpwaitlist, then the timer is reset now that 711 * lru_next is thus not NULL and thus reuse is now not the last in 1154 free(pend->pkt); /* freeing now makes get_mem correct */ 2064 /* select value now in 0 .. num free - 1 */ 2132 * that buffer and file descriptor now. */ 2171 /* we have a buffer available right now */ 2178 /* can we write right now? */ 2550 time_t now = *sq->outnet->now_secs; local 2553 sq->zonelen, now, &vs, &edns_lame_known, &rtt)) 2764 struct timeval now local 2889 struct timeval now = *sq->outnet->now_tv; local [all...] |
/freebsd-11-stable/contrib/ntp/lib/isc/unix/ |
H A D | app.c | 289 * We install them now because BSDI 3.1 won't block 433 isc_time_t when, now; local 465 TIME_NOW(&now); 466 us = isc_time_microdiff(&when, &now);
|
/freebsd-11-stable/sys/cam/scsi/ |
H A D | scsi_low.h | 697 scsi_low_assert_msg(slp, ti, msg, now) 701 int now; variable 705 if (now != 0)
|
/freebsd-11-stable/crypto/heimdal/appl/push/ |
H A D | push.c | 227 time_t now; local 267 now = time(NULL); 269 "From %s %s", "push", ctime(&now));
|
/freebsd-11-stable/sbin/routed/rtquery/ |
H A D | rtquery.c | 378 struct timeval now, delay; local 490 if (gettimeofday(&now, 0) < 0) { 491 perror("gettimeofday(now)"); 494 if (sent.tv_sec + wtime <= now.tv_sec)
|
/freebsd-11-stable/contrib/nvi/common/ |
H A D | recover.c | 330 time_t now; local 394 (void)time(&now); 428 "On ", ctime(&now), ", the user ", pw->pw_name,
|
/freebsd-11-stable/sys/rpc/ |
H A D | clnt_bck.c | 124 struct timeval now; local 151 getmicrotime(&now); 152 ct->ct_xid = ((uint32_t)++disrupt) ^ __RPC_GETXID(&now);
|
/freebsd-11-stable/contrib/tzcode/zic/ |
H A D | zdump.c | 247 time_t now; local 303 (void) time(&now); 334 show(argv[i], now, FALSE);
|
/freebsd-11-stable/libexec/tftpd/ |
H A D | tftpd.c | 676 * have no uid or gid, for now require 805 time_t now; local 809 now = time(NULL); 819 (intmax_t)ts.amount, (intmax_t)time(NULL) - now);
|
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | work_thread.c | 787 struct timespec now; local 800 getclock(TIMEOFDAY, &now); 801 delta = sub_tspec(*timeout, now);
|
/freebsd-11-stable/usr.bin/at/ |
H A D | at.c | 296 /* We no longer need suid root; now we just need to be able to write 647 time_t now; local 656 now = tv[0].tv_sec; 657 if ((t = localtime(&now)) == NULL) 878 * case, it's already been set. If not, set it now.
|
/freebsd-11-stable/usr.sbin/rwhod/ |
H A D | rwhod.c | 454 time_t now; local 464 now = time(NULL); 490 we->we_idle = htonl(now - stb.st_atime);
|
/freebsd-11-stable/usr.bin/mail/ |
H A D | names.c | 285 time_t now; local 291 (void)time(&now); 292 date = ctime(&now); 412 * the list; now for sake of header expansion
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | zfs_znode.c | 770 timestruc_t now; local 784 now = vap->va_ctime; /* see zfs_replay_create() */ 788 vfs_timestamp(&now); 875 ZFS_TIME_ENCODE(&now, crtime); 876 ZFS_TIME_ENCODE(&now, ctime); 881 ZFS_TIME_ENCODE(&now, atime); 887 ZFS_TIME_ENCODE(&now, mtime); 1363 * We call zfs_znode_dmu_fini() now to prevent any accesses to the 1467 timestruc_t now; local 1469 vfs_timestamp(&now); [all...] |
/freebsd-11-stable/contrib/wpa/src/ap/ |
H A D | gas_query_ap.c | 79 struct os_reltime now, res; local 81 os_get_reltime(&now); 82 os_reltime_sub(&now, last, &res);
|
/freebsd-11-stable/sys/dev/flash/ |
H A D | at45d.c | 215 struct timeval now, tout; local 221 getmicrouptime(&now); 222 if (now.tv_sec > tout.tv_sec)
|
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | keyword-gen.c | 321 time_t now; local 335 time(&now); 337 "%Y-%m-%d %H:%M:%S", gmtime(&now)))
|