Searched refs:now (Results 101 - 125 of 555) sorted by relevance

1234567891011>>

/freebsd-9.3-release/sys/netgraph/
H A Dng_pipe.c111 ngp_f->vtime.tv_usec = now->tv_usec + ((uint64_t) (plen) \
114 ngp_f->vtime.tv_sec = now->tv_sec + \
594 struct timeval *now = &uuptime; local
630 microuptime(now);
637 if (when->tv_sec < now->tv_sec || (when->tv_sec == now->tv_sec
638 && when->tv_usec < now->tv_usec)) {
639 when->tv_sec = now->tv_sec;
640 when->tv_usec = now->tv_usec;
742 pipe_dequeue(hinfo, now);
761 pipe_dequeue(struct hookinfo *hinfo, struct timeval *now) argument
924 struct timeval now; local
[all...]
H A Dng_source.c743 struct timeval now, elapsed; local
747 getmicrotime(&now);
748 elapsed = now;
752 sc->stats.lastTime = now;
909 struct timeval now; local
910 getmicrotime(&now);
911 now.tv_sec = htonl(now.tv_sec);
912 now.tv_usec = htonl(now
[all...]
/freebsd-9.3-release/contrib/wpa/src/ap/
H A Dpmksa_cache_auth.c99 struct os_time now; local
101 os_get_time(&now);
102 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) {
117 struct os_time now; local
122 os_get_time(&now);
123 sec = pmksa->pmksa->expiration - now.sec;
241 struct os_time now; local
253 os_get_time(&now);
254 entry->expiration = now.sec;
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Drriterator.c44 isc_stdtime_t now)
51 it->now = now;
88 it->now, &it->rdatasetit);
135 it->now, &it->rdatasetit);
43 dns_rriterator_init(dns_rriterator_t *it, dns_db_t *db, dns_dbversion_t *ver, isc_stdtime_t now) argument
H A Ddnssec.c391 isc_stdtime_t now; local
418 isc_stdtime_get(&now);
423 if (isc_serial_lt((isc_uint32_t)now, sig.timesigned)) {
426 } else if (isc_serial_lt(sig.timeexpire, (isc_uint32_t)now)) {
613 dns_dnssec_keyactive(dst_key_t *key, isc_stdtime_t now) { argument
652 if ((inactset && inactive <= now) || (delset && delete <= now))
655 if (revset && revoke <= now && pubset && publish <= now)
658 if (actset && active <= now)
679 isc_stdtime_t now; local
835 isc_stdtime_t now; local
968 isc_stdtime_t now; local
1214 get_hints(dns_dnsseckey_t *key, isc_stdtime_t now) argument
1319 isc_stdtime_t now; local
1694 isc_stdtime_t now; local
[all...]
/freebsd-9.3-release/contrib/gdb/gdb/
H A Dser-e7kpc.c227 long now; local
232 time (&now);
233 then = now + timeout;
252 time (&now);
256 if (now >= then && timeout > 0)
/freebsd-9.3-release/contrib/wpa/src/radius/
H A Dradius_client.c329 os_time_t now)
365 entry->next_try = now + entry->next_wait;
383 struct os_time now; local
393 os_get_time(&now);
398 if (now.sec >= entry->next_try &&
399 radius_client_retransmit(radius, entry, now.sec)) {
428 if (first < now.sec)
429 first = now.sec;
430 eloop_register_timeout(first - now.sec, 0,
435 (long int) (first - now
327 radius_client_retransmit(struct radius_client_data *radius, struct radius_msg_list *entry, os_time_t now) argument
491 struct os_time now; local
703 struct os_time now; local
[all...]
/freebsd-9.3-release/crypto/openssh/
H A Dprogressmeter.c123 time_t now; local
135 now = monotime();
139 elapsed = now - last_update;
141 elapsed = now - start;
227 last_update = now;
/freebsd-9.3-release/sbin/hastd/
H A Dhooks.c286 time_t now; local
295 now = time(NULL);
316 if (now - hp->hp_lastreport < REPORT_INTERVAL)
323 (uintmax_t)(now - hp->hp_birthtime), hp->hp_pid,
325 hp->hp_lastreport = now;
/freebsd-9.3-release/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_recv.c215 uint32_t now, rstamp; local
233 now = (OS_REG_READ(ah, AR_TSF_L32) >> 10) & 0xffff;
234 if ((now & 0x1fff) < rstamp)
235 rstamp |= (now - 0x2000) & 0xffff;
237 rstamp |= now;
/freebsd-9.3-release/sys/contrib/altq/altq/
H A Daltq_rmclass.c122 * now heuristics for setting the top-level variable (cutoff_) becomes:
760 struct timeval now; local
765 RM_GETTIME(now);
767 if (TV_LT(&cl->undertime_, &now)) {
783 if (TV_LT(&borrow->undertime_, &now)) {
793 if (TV_LT(&cl->borrow_->undertime_, &now)) {
821 * rmc_tl_satisfied(struct rm_ifdat *ifd, struct timeval *now) - Check all
826 rmc_tl_satisfied(struct rm_ifdat *ifd, struct timeval *now) argument
835 if (!rmc_satisfied(p, now)) {
852 rmc_satisfied(struct rm_class *cl, struct timeval *now) argument
885 rmc_under_limit(struct rm_class *cl, struct timeval *now) argument
973 struct timeval now; local
1128 struct timeval now; local
[all...]
/freebsd-9.3-release/contrib/bind9/bin/dnssec/
H A Ddnssec-keygen.c147 "(default: now)\n");
149 "(default: now)\n");
237 isc_stdtime_t now; local
283 isc_stdtime_get(&now);
409 now, now);
421 now, now);
433 now, now);
[all...]
/freebsd-9.3-release/contrib/bind9/lib/dns/include/dns/
H A Dadb.h337 isc_stdtime_t now, dns_name_t *target,
343 isc_stdtime_t now, dns_name_t *target, in_port_t port,
372 * The "now" parameter is used only for determining which entries that
504 * expire 10 minutes in the future, it should set it to (now + 10 * 60).
578 dns_adbaddrinfo_t **addrp, isc_stdtime_t now);
/freebsd-9.3-release/contrib/cvs/lib/
H A Dgetdate.y120 ** yacc had the %union construct.) Maybe someday; right now we only use
432 { "now", tMINUTE_UNIT, 0 },
694 time_t now;
696 now = Start;
697 tm = localtime(&now);
698 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7);
699 now += 7 * SECSPERDAY * (DayOrdinal <= 0 ? DayOrdinal : DayOrdinal - 1);
700 return DSTcorrect(Start, now);
910 get_date(p, now)
912 struct timeb *now;
[all...]
/freebsd-9.3-release/contrib/libbegemot/
H A Drpoll.c506 tval_t now; local
529 now = GETUSECS();
532 fprintf(stderr, "now=%llu", now);
535 i, tfd[i]->when - now);
538 if((tout = tims[tfd[0]].when - now) < 0)
624 now = GETUSECS();
628 if(tims[tfd[i]].when > now)
636 tims[tfd[i]].when = now + tims[tfd[i]].usecs;
650 struct timeval start, now; variable in typeref:struct:
[all...]
/freebsd-9.3-release/contrib/wpa/hostapd/
H A Ddump_state.c74 time_t now; local
96 time(&now);
97 fprintf(f, "hostapd state dump - %s", ctime(&now));
/freebsd-9.3-release/libexec/talkd/
H A Dannounce.c100 struct timeval now; local
112 gettimeofday(&now, NULL);
113 clock_sec = now.tv_sec;
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/
H A Dbench_httpclient.c87 struct timeval now, diff; local
91 evutil_gettimeofday(&now, NULL);
92 evutil_timersub(&now, &ri->started, &diff);
/freebsd-9.3-release/contrib/ntp/lib/isc/win32/
H A Dcondition.c244 isc_time_t now; local
246 if (isc_time_now(&now) != ISC_R_SUCCESS) {
251 microseconds = isc_time_microdiff(t, &now);
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Drefclock_heath.c322 time_t now;
324 time(&now); /* we should grab 'now' earlier */
325 tm_time_p = gmtime(&now);
/freebsd-9.3-release/contrib/wpa/src/utils/
H A Deloop_none.c314 struct os_time tv, now; local
319 os_get_time(&now);
320 if (os_time_before(&now, &eloop.timeout->time))
321 os_time_sub(&eloop.timeout->time, &now, &tv);
338 os_get_time(&now);
339 if (!os_time_before(&now, &eloop.timeout->time)) {
/freebsd-9.3-release/lib/libc/rpc/
H A Dauth_unix.c103 struct timeval now; local
135 (void)gettimeofday(&now, NULL);
136 aup.aup_time = now.tv_sec;
280 struct timeval now; local
302 (void)gettimeofday(&now, NULL);
303 aup.aup_time = now.tv_sec;
/freebsd-9.3-release/sbin/shutdown/
H A Dshutdown.c124 * "poweroff", for which it runs 'shutdown -p now'.
266 * Warn now, if going to sleep more than a fifth of
417 time_t now; local
420 (void)time(&now);
422 if (!strcasecmp(timearg, "now")) { /* now */
424 shuttime = now;
433 shuttime = now + offset;
450 lt = localtime(&now); /* current time val */
486 if ((offset = shuttime - now) <
[all...]
/freebsd-9.3-release/sys/rpc/
H A Dauth_unix.c135 struct timeval now; local
195 getmicrotime(&now);
196 time = now.tv_sec;
303 struct timeval now; local
321 getmicrotime(&now);
322 time = now.tv_sec;
/freebsd-9.3-release/usr.bin/touch/
H A Dtouch.c248 time_t now; local
253 now = tvp[0].tv_sec;
254 if ((t = localtime(&now)) == NULL)
309 time_t now; local
312 now = tvp[0].tv_sec;
313 if ((t = localtime(&now)) == NULL)

Completed in 309 milliseconds

1234567891011>>