/freebsd-9.3-release/sys/netgraph/ |
H A D | ng_pipe.c | 111 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 D | ng_source.c | 743 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 D | pmksa_cache_auth.c | 99 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 D | rriterator.c | 44 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 D | dnssec.c | 391 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 D | ser-e7kpc.c | 227 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 D | radius_client.c | 329 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 D | progressmeter.c | 123 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 D | hooks.c | 286 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 D | ar5210_recv.c | 215 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 D | altq_rmclass.c | 122 * 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 D | dnssec-keygen.c | 147 "(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 D | adb.h | 337 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 D | getdate.y | 120 ** 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 D | rpoll.c | 506 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 D | dump_state.c | 74 time_t now; local 96 time(&now); 97 fprintf(f, "hostapd state dump - %s", ctime(&now));
|
/freebsd-9.3-release/libexec/talkd/ |
H A D | announce.c | 100 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 D | bench_httpclient.c | 87 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 D | condition.c | 244 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 D | refclock_heath.c | 322 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 D | eloop_none.c | 314 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 D | auth_unix.c | 103 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 D | shutdown.c | 124 * "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 D | auth_unix.c | 135 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 D | touch.c | 248 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)
|