Searched refs:now (Results 76 - 100 of 555) sorted by relevance

1234567891011>>

/freebsd-9.3-release/contrib/ntp/sntp/libevent/
H A Devthread_pthread.c144 struct timeval now, abstime; local
146 evutil_gettimeofday(&now, NULL);
147 evutil_timeradd(&now, tv, &abstime);
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Dntp_timer.c210 * seconds from now and they continue on every 2**EVENT_TIMEOUT
230 sys$gettim(&vmstimer); /* that's "now" as abstime */
301 l_fp now; local
373 get_systime(&now);
381 check_leapsec(now.l_ui, &tnow,
443 check_leap_file(TRUE, now.l_ui, &tnow);
445 check_leap_file(FALSE, now.l_ui, &tnow);
526 u_int32 now ,
565 fired = leapsec_query(&lsdata, now, tpiv);
567 DPRINTF(3, ("*** leapsec_query: fired %i, now
[all...]
/freebsd-9.3-release/contrib/bind9/bin/named/
H A Dtsigconf.c51 isc_stdtime_t now; local
115 isc_stdtime_get(&now);
117 ISC_FALSE, NULL, now, now,
/freebsd-9.3-release/contrib/bind9/lib/dns/include/dns/
H A Drdatasetiter.h103 isc_stdtime_t now; member in struct:dns_rdatasetiter
H A Ddb.h100 isc_stdtime_t now,
105 unsigned int options, isc_stdtime_t now,
116 isc_stdtime_t now);
125 isc_stdtime_t now,
130 isc_stdtime_t now,
134 isc_stdtime_t now,
191 isc_stdtime_t now,
724 dns_rdatatype_t type, unsigned int options, isc_stdtime_t now,
730 dns_rdatatype_t type, unsigned int options, isc_stdtime_t now,
784 * \li The 'now' fiel
[all...]
/freebsd-9.3-release/contrib/sendmail/src/
H A Dtimers.c103 struct timeval now; local
105 if (getrusage(RUSAGE_SELF, &ru) < 0 || gettimeofday(&now, NULL) < 0)
107 ptimer->ti_wall_sec = now.tv_sec;
108 ptimer->ti_wall_usec = now.tv_usec;
182 /* now add the timer to the stack */
/freebsd-9.3-release/lib/libutil/
H A Dlogin_times.c118 u_short now = (u_short)((tt->tm_hour * 60) + tt->tm_min); local
121 ++now;
122 if (now >= ltm->lt_start && now < ltm->lt_end) {
/freebsd-9.3-release/share/examples/perfmon/
H A Dperfmon.c57 struct pmc_tstamp then, now; local
150 if (ioctl(fd, PMIOTSTAMP, &now) < 0)
160 printf("clocks (at %d-MHz): %qd\n", now.pmct_rate,
161 now.pmct_value - then.pmct_value);
/freebsd-9.3-release/usr.bin/make/
H A Dglobals.h106 extern time_t now;
/freebsd-9.3-release/usr.sbin/bluetooth/bthidd/
H A Dbthidd.c223 struct timeval now; local
225 gettimeofday(&now, NULL);
227 if (now.tv_sec - last.tv_sec >= tval) {
228 last = now;
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/
H A Dtest-dumpevents.c79 struct timeval now; local
148 evutil_gettimeofday(&now,NULL);
150 printf("Now= %ld.%06d\n",(long)now.tv_sec,(int)now.tv_usec);
/freebsd-9.3-release/contrib/wpa/src/ap/
H A Dieee802_11_auth.c73 time_t now; local
75 time(&now);
80 if (now - entry->timestamp > RADIUS_ACL_TIMEOUT)
305 static void hostapd_acl_expire_cache(struct hostapd_data *hapd, time_t now) argument
313 if (now - entry->timestamp > RADIUS_ACL_TIMEOUT) {
335 static void hostapd_acl_expire_queries(struct hostapd_data *hapd, time_t now) argument
343 if (now - entry->timestamp > RADIUS_ACL_TIMEOUT) {
371 time_t now; local
373 time(&now);
374 hostapd_acl_expire_cache(hapd, now);
[all...]
/freebsd-9.3-release/contrib/dialog/samples/
H A Deditbox-utf816 Try it now!
/freebsd-9.3-release/contrib/ipfilter/ipsd/
H A Dslinux.c72 time_t now = time(NULL); local
80 if ((time(NULL) - now) > timeout)
/freebsd-9.3-release/sys/dev/drm/
H A Dvia_irq.c95 static unsigned time_diff(struct timeval *now, struct timeval *then) argument
97 return (now->tv_usec >= then->tv_usec) ?
98 now->tv_usec - then->tv_usec :
99 1000000 - (then->tv_usec - now->tv_usec);
353 struct timeval now; local
387 microtime(&now);
388 irqwait->reply.tval_sec = now.tv_sec;
389 irqwait->reply.tval_usec = now.tv_usec;
/freebsd-9.3-release/sys/net80211/
H A Dieee80211_dfs.c208 int i, oldest, now; local
212 now = oldest = ticks;
216 if (time_after_eq(now, dfs->nol_event[i]+NOL_TIMEOUT)) {
236 if (oldest != now) {
238 callout_schedule(&dfs->nol_timer, oldest + NOL_TIMEOUT - now);
268 int i, now; local
278 now = ticks;
284 dfs->nol_event[i] = now;
/freebsd-9.3-release/usr.bin/find/
H A Dmain.c64 time_t now; /* time find was run */ variable
86 (void)time(&now); /* initialize the time-of-day */
/freebsd-9.3-release/usr.sbin/bluetooth/btpand/
H A Devent.c88 struct timeval now, timeout, t; local
95 gettimeofday(&now, NULL);
113 if (tv_cmp(&now, &ev->expire) >= 0)
117 tv_sub(&t, &now);
151 gettimeofday(&now, NULL);
188 if (tv_cmp(&now, &ev->expire) >= 0) {
/freebsd-9.3-release/contrib/ntp/sntp/tests/
H A DpacketHandling.c295 l_fp now; local
301 get_systime(&now);
302 HTONL_FP(&now, &rpkt.reftime);
303 HTONL_FP(&now, &rpkt.org);
304 HTONL_FP(&now, &rpkt.rec);
305 HTONL_FP(&now, &rpkt.xmt);
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dadb.c291 isc_stdtime_t now);
363 * are now equal to FETCH_V4 and FETCH_V6, respectively.
392 #define EXPIRE_OK(exp, now) ((exp == INT_MAX) || (exp < now))
818 isc_stdtime_t now)
875 now);
929 adbname->expire_v4, now + rdataset->ttl);
931 now + rdataset->ttl);
934 adbname->expire_v6, now + rdataset->ttl);
936 now
817 import_rdataset(dns_adbname_t *adbname, dns_rdataset_t *rdataset, isc_stdtime_t now) argument
1018 check_expire_namehooks(dns_adbname_t *name, isc_stdtime_t now) argument
1995 find_entry_and_lock(dns_adb_t *adb, isc_sockaddr_t *addr, int *bucketp, isc_stdtime_t now) argument
2033 entry_is_lame(dns_adb_t *adb, dns_adbentry_t *entry, dns_name_t *qname, dns_rdatatype_t qtype, isc_stdtime_t now) argument
2072 copy_namehook_lists(dns_adb_t *adb, dns_adbfind_t *find, dns_name_t *qname, dns_rdatatype_t qtype, dns_adbname_t *name, isc_stdtime_t now) argument
2172 check_expire_name(dns_adbname_t **namep, isc_stdtime_t now) argument
2215 check_stale_name(dns_adb_t *adb, int bucket, isc_stdtime_t now) argument
2262 check_expire_entry(dns_adb_t *adb, dns_adbentry_t **entryp, isc_stdtime_t now) argument
2293 cleanup_names(dns_adb_t *adb, int bucket, isc_stdtime_t now) argument
2323 cleanup_entries(dns_adb_t *adb, int bucket, isc_stdtime_t now) argument
2770 dns_adb_createfind(dns_adb_t *adb, isc_task_t *task, isc_taskaction_t action, void *arg, dns_name_t *name, dns_name_t *qname, dns_rdatatype_t qtype, unsigned int options, isc_stdtime_t now, dns_name_t *target, in_port_t port, dns_adbfind_t **findp) argument
2782 dns_adb_createfind2(dns_adb_t *adb, isc_task_t *task, isc_taskaction_t action, void *arg, dns_name_t *name, dns_name_t *qname, dns_rdatatype_t qtype, unsigned int options, isc_stdtime_t now, dns_name_t *target, in_port_t port, unsigned int depth, dns_adbfind_t **findp) argument
3243 isc_stdtime_t now; local
3268 dump_ttl(FILE *f, const char *legend, isc_stdtime_t value, isc_stdtime_t now) argument
3275 dump_adb(dns_adb_t *adb, FILE *f, isc_boolean_t debug, isc_stdtime_t now) argument
3357 dump_entry(FILE *f, dns_adbentry_t *entry, isc_boolean_t debug, isc_stdtime_t now) argument
3450 print_namehook_list(FILE *f, const char *legend, dns_adbnamehooklist_t *list, isc_boolean_t debug, isc_stdtime_t now) argument
3491 dbfind_name(dns_adbname_t *adbname, isc_stdtime_t now, dns_rdatatype_t rdtype) argument
3642 isc_stdtime_t now; local
3942 isc_stdtime_t now; local
3973 isc_stdtime_t now; local
3997 dns_adb_findaddrinfo(dns_adb_t *adb, isc_sockaddr_t *sa, dns_adbaddrinfo_t **addrp, isc_stdtime_t now) argument
4054 isc_stdtime_t now; local
[all...]
H A Drootns.c152 isc_stdtime_t now; local
157 isc_stdtime_get(&now);
164 now, NULL, name, &rootns, NULL);
173 result = dns_db_allrdatasets(db, node, NULL, now, &rdsiter);
323 dns_name_t *name, isc_stdtime_t now)
337 now, NULL, foundname, &hintrrset, NULL);
339 DNS_DBFIND_GLUEOK, now, NULL, foundname,
379 now, NULL, foundname, &hintrrset, NULL);
381 DNS_DBFIND_GLUEOK, now, NULL, foundname,
428 isc_stdtime_t now; local
322 check_address_records(dns_view_t *view, dns_db_t *hints, dns_db_t *db, dns_name_t *name, isc_stdtime_t now) argument
[all...]
/freebsd-9.3-release/contrib/pf/libevent/
H A Devent.c565 struct timeval now, res; local
581 gettime(&now);
582 timersub(&ev->ev_timeout, &now, &res);
584 gettimeofday(&now, NULL);
585 timeradd(&now, &res, tv);
609 struct timeval now; local
630 gettime(&now);
631 timeradd(&now, tv, &ev->ev_timeout);
718 struct timeval now; local
726 if (gettime(&now)
759 struct timeval now; local
[all...]
/freebsd-9.3-release/usr.sbin/rtsold/
H A Drtsold.c610 struct timeval now, rtsol_timer; local
616 gettimeofday(&now, NULL);
621 if (timercmp(&ifi->expire, &now, <=)) {
714 if (timercmp(&now, &rao->rao_expire,
738 } else if (timercmp(&rtsol_timer, &now, <))
742 timersub(&rtsol_timer, &now, &returnval);
744 now.tv_sec += returnval.tv_sec;
745 now.tv_usec += returnval.tv_usec;
747 sec2str(&now));
758 struct timeval now; local
[all...]
/freebsd-9.3-release/contrib/cvs/src/
H A Dlock.c167 that only if the actual operation fails. But for now we'll keep
614 /* we now own a writer - make sure there are no readers */
673 time_t now; local
674 (void)time (&now);
703 if (now >= (sb.st_ctime + CVSLCKAGE) &&
790 time_t now; local
850 (void) time (&now);
851 if (now >= (sb.st_ctime + CVSLCKAGE))
943 time_t now; local
947 (void) time (&now);
968 time_t now; local
[all...]
/freebsd-9.3-release/tools/tools/net80211/w00t/prga/
H A Dprga.c335 struct timeval now; local
343 if (gettimeofday(&now, NULL) == -1)
347 el = elapsed(&p->last, &now);
364 now.tv_sec = el/1000/1000;
365 now.tv_usec = el - now.tv_sec*1000*1000;
369 if (select(p->rx+1, &fds, NULL, NULL, &now) == -1)
403 struct timeval now; local
413 if (gettimeofday(&now, NULL) == -1)
416 el = elapsed(&p->last, &now);
[all...]

Completed in 322 milliseconds

1234567891011>>