Searched refs:now (Results 376 - 400 of 672) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/lib/libradius/
H A Dradlib.c666 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 Dcpio.c624 * 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 Dradius_server.c456 "'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 Dwnm_sta.c742 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 Dnotify.c569 struct os_time now; local
576 os_get_time(&now);
577 slept = now.sec - global->suspend_time.sec;
H A Ddpp_supplicant.c254 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 Deap_server_teap.c140 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 Dmail.local.c1178 ** 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 Doutside_network.c547 * 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 Dapp.c289 * 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 Dscsi_low.h697 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 Dpush.c227 time_t now; local
267 now = time(NULL);
269 "From %s %s", "push", ctime(&now));
/freebsd-11-stable/sbin/routed/rtquery/
H A Drtquery.c378 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 Drecover.c330 time_t now; local
394 (void)time(&now);
428 "On ", ctime(&now), ", the user ", pw->pw_name,
/freebsd-11-stable/sys/rpc/
H A Dclnt_bck.c124 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 Dzdump.c247 time_t now; local
303 (void) time(&now);
334 show(argv[i], now, FALSE);
/freebsd-11-stable/libexec/tftpd/
H A Dtftpd.c676 * 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 Dwork_thread.c787 struct timespec now; local
800 getclock(TIMEOFDAY, &now);
801 delta = sub_tspec(*timeout, now);
/freebsd-11-stable/usr.bin/at/
H A Dat.c296 /* 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 Drwhod.c454 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 Dnames.c285 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 Dzfs_znode.c770 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 Dgas_query_ap.c79 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 Dat45d.c215 struct timeval now, tout; local
221 getmicrouptime(&now);
222 if (now.tv_sec > tout.tv_sec)
/freebsd-11-stable/contrib/ntp/ntpd/
H A Dkeyword-gen.c321 time_t now; local
335 time(&now);
337 "%Y-%m-%d %H:%M:%S", gmtime(&now)))

Completed in 429 milliseconds

<<11121314151617181920>>