/freebsd-11-stable/contrib/unbound/validator/ |
H A D | val_kcache.c | 129 uint16_t key_class, struct regional* region, time_t now) 139 if(now <= d->ttl) { 128 key_cache_obtain(struct key_cache* kcache, uint8_t* name, size_t namelen, uint16_t key_class, struct regional* region, time_t now) argument
|
H A D | val_neg.c | 259 /* check if the zone is now unused */ 728 * now, because we are walking the tree still ... */ 731 /* now delete the original element, this may trigger 1055 * @param now: to check ttl against 1062 time_t now) 1065 qname, qname_len, qtype, qclass, flags, now, 0); 1069 if(d->ttl < now) { 1089 r = packed_rrset_copy_region(k, region, now); 1103 * @param now: to check ttl against 1109 uint16_t qclass, struct rrset_cache* rrset_cache, time_t now, 1059 grab_nsec(struct rrset_cache* rrset_cache, uint8_t* qname, size_t qname_len, uint16_t qtype, uint16_t qclass, uint32_t flags, struct regional* region, int checkbit, uint16_t checktype, time_t now) argument 1108 neg_find_nsec(struct val_neg_cache* neg_cache, uint8_t* qname, size_t qname_len, uint16_t qclass, struct rrset_cache* rrset_cache, time_t now, struct regional* region) argument 1214 neg_nsec3_getnc(struct val_neg_zone* zone, uint8_t* hashnc, size_t nclen, struct rrset_cache* rrset_cache, struct regional* region, time_t now, uint8_t* b32, size_t maxb32) argument 1247 neg_nsec3_proof_ds(struct val_neg_zone* zone, uint8_t* qname, size_t qname_len, int qlabs, sldns_buffer* buf, struct rrset_cache* rrset_cache, struct regional* region, time_t now, uint8_t* topname) argument 1347 add_soa(struct rrset_cache* rrset_cache, time_t now, struct regional* region, struct dns_msg* msg, struct val_neg_zone* zone) argument 1377 val_neg_getmsg(struct val_neg_cache* neg, struct query_info* qinfo, struct regional* region, struct rrset_cache* rrset_cache, sldns_buffer* buf, time_t now, int addsoa, uint8_t* topname, struct config_file* cfg) argument [all...] |
/freebsd-11-stable/contrib/sendmail/libmilter/ |
H A D | worker.c | 382 time_t now; local 389 now = time(NULL); 392 if (lastcheck + DT_CHECK_OLD_SESSIONS < now) 403 ctx->ctx_wait = now; 405 < now) 423 lastcheck = now; 450 ctx->ctx_wait = now; 503 WAITFN, now, nfd));
|
H A D | libmilter.h | 158 struct timeval now; \ 159 gettimeofday(&now, NULL); \ 160 timeout.tv_sec = now.tv_sec + to; \ 161 timeout.tv_nsec = now.tv_usec / 1000; \
|
/freebsd-11-stable/contrib/amd/amd/ |
H A D | map.c | 861 * Pretend it succeeded for now... 975 time_t now = clocktime(NULL); local 999 if (now >= mp->am_autofs_ttl) 1020 if (now >= mp->am_ttl) { 1031 mp->am_ttl = now + mp->am_timeo_w; 1040 mp->am_ttl = now + backoff + 1; 1065 t = now + ONE_HOUR; 1073 if (t <= now) { 1074 t = now + 6; /* XXX */ 1082 t = now [all...] |
H A D | info_exec.c | 67 time_t start, now; local 98 now = clocktime(NULL) - start; 101 else if (now < secs) 102 timeo.tv_sec = secs - now; 104 /* timed out (now>=secs) */
|
H A D | nfs_start.c | 201 time_t now; local 222 now = clocktime(NULL); 224 if (next_softclock <= now) { 229 tvv.tv_sec = next_softclock - now;
|
/freebsd-11-stable/contrib/wpa/src/ap/ |
H A D | ieee802_11_auth.c | 97 struct os_reltime now; local 99 os_get_reltime(&now); 105 if (os_reltime_expired(&now, &entry->timestamp, 364 struct os_reltime *now) 372 if (os_reltime_expired(now, &entry->timestamp, 394 struct os_reltime *now) 402 if (os_reltime_expired(now, &entry->timestamp, 429 struct os_reltime now; local 431 os_get_reltime(&now); 432 hostapd_acl_expire_cache(hapd, &now); 363 hostapd_acl_expire_cache(struct hostapd_data *hapd, struct os_reltime *now) argument 393 hostapd_acl_expire_queries(struct hostapd_data *hapd, struct os_reltime *now) argument [all...] |
/freebsd-11-stable/contrib/unbound/util/ |
H A D | winsock_event.c | 163 static void handle_timeouts(struct event_base* base, struct timeval* now, argument 175 if(p->ev_timeout.tv_sec > now->tv_sec || 176 (p->ev_timeout.tv_sec==now->tv_sec && 177 p->ev_timeout.tv_usec > now->tv_usec)) { 179 wait->tv_sec = p->ev_timeout.tv_sec - now->tv_sec; 180 if(now->tv_usec > p->ev_timeout.tv_usec) { 182 wait->tv_usec = 1000000 - (now->tv_usec - 186 - now->tv_usec; 558 struct timeval *now = ev->ev_base->time_tv; local 559 ev->ev_timeout.tv_sec = tv->tv_sec + now [all...] |
/freebsd-11-stable/contrib/ntp/sntp/libevent/ |
H A D | bufferevent_ratelim.c | 117 struct timeval now; local 119 event_base_gettimeofday_cached(bev->bev.ev_base, &now); 120 tick = ev_token_bucket_get_tick_(&now, bev->rate_limiting->cfg); 397 struct timeval now; local 407 event_base_gettimeofday_cached(bev->bev.ev_base, &now); 408 tick = ev_token_bucket_get_tick_(&now, 533 struct timeval now; local 535 event_base_gettimeofday_cached(event_get_base(&g->master_refill_event), &now); 539 tick = ev_token_bucket_get_tick_(&now, &g->rate_limit_cfg); 567 struct timeval now; local 643 struct timeval now; local [all...] |
/freebsd-11-stable/contrib/wpa/src/radius/ |
H A D | radius_client.c | 367 os_time_t now) 447 delay_time = now - entry->first_try; 481 entry->next_try = now + entry->next_wait; 493 struct os_reltime now; local 504 os_get_reltime(&now); 507 if (now.sec >= entry->next_try) { 534 if (now.sec >= entry->next_try && 535 radius_client_retransmit(radius, entry, now.sec)) { 564 if (first < now.sec) 565 first = now 365 radius_client_retransmit(struct radius_client_data *radius, struct radius_msg_list *entry, os_time_t now) argument 638 struct os_reltime now; local 825 struct os_reltime now; local [all...] |
/freebsd-11-stable/contrib/wpa/src/utils/ |
H A D | eloop.c | 855 struct os_reltime now; local 857 os_get_reltime(&now); 866 if (os_reltime_before(&now, &timeout->time)) 867 os_reltime_sub(&timeout->time, &now, remaining); 896 struct os_reltime now, requested, remaining; local 905 os_get_reltime(&now); 906 os_reltime_sub(&tmp->time, &now, &remaining); 928 struct os_reltime now, requested, remaining; local 937 os_get_reltime(&now); 938 os_reltime_sub(&tmp->time, &now, 1078 struct os_reltime tv, now; local 1255 struct os_reltime now; local [all...] |
H A D | os_win32.c | 54 struct os_time now; local 55 int res = os_get_time(&now); 56 t->sec = now.sec; 57 t->usec = now.usec;
|
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/ |
H A D | check-dumpevents.py | 26 now,T= text[1].split()
|
/freebsd-11-stable/sys/arm/amlogic/aml8726/ |
H A D | aml8726_timer.c | 340 uint32_t delta, now, previous, remaining; local 373 now = aml8726_get_timecount(&aml8726_timer_sc->tc); 378 * if (previous > now) { 379 * delta = (0 - previous) + now 385 * delta = now - previous. 387 delta = now - previous; 392 previous = now;
|
/freebsd-11-stable/libexec/rpc.rusersd/ |
H A D | rusers_proc.c | 112 time_t now; local 141 time(&now); 143 printf("%s: now=%d atime=%d\n", ttyname, now, 146 idle = now - st.st_atime;
|
/freebsd-11-stable/crypto/heimdal/lib/wind/ |
H A D | generate.py | 49 datetime.datetime.now().isoformat() +
|
/freebsd-11-stable/sys/net/altq/ |
H A D | altq_red.c | 364 struct timeval now; local 368 microtime(&now); 369 t = (now.tv_sec - rp->red_last.tv_sec); 377 t = t * 1000000 + (now.tv_usec - rp->red_last.tv_usec); 497 * now the range of d is [1..600] in fixed-point. (when 1152 flowlist_lookup(fv, pktattr, now) 1155 struct timeval *now; 1168 tthresh.tv_sec = now->tv_sec - FV_TTHRESH; 1376 struct timeval now; local 1379 FV_TIMESTAMP(&now); 1455 struct timeval now; local [all...] |
/freebsd-11-stable/tools/tools/net80211/w00t/libw00t/ |
H A D | w00t.h | 54 int elapsed(struct timeval *past, struct timeval *now);
|
/freebsd-11-stable/tools/tools/netrate/netreceive/ |
H A D | netreceive.c | 162 struct timespec now, then, delta; local 163 /* now the parent collects and prints results */ 180 clock_gettime(CLOCK_REALTIME, &now); 181 delta = now; 183 then = now;
|
/freebsd-11-stable/crypto/openssh/ |
H A D | sftp-common.c | 222 time_t now; local 238 now = time(NULL); 239 if (now - (365*24*60*60)/2 < st->st_mtime && 240 now >= st->st_mtime)
|
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_scalars.c | 80 uint64_t now; local 106 now = ((uint64_t)right_now.tv_sec * 100) + (right_now.tv_usec / 10000); 108 if (now - kernel_boot > UINT32_MAX) 111 *ut = now - kernel_boot; 331 /* now make UTC from it */ 335 /* now apply timezone if specified */
|
/freebsd-11-stable/contrib/unbound/sldns/ |
H A D | parseutil.h | 59 * with respect to now using serial arithmetics (rfc1982). 65 * to be interpreted as a serial arithmetics number relative to now. 66 * \param[in] now number of seconds since epoch (midnight, January 1st, 1970) 71 struct tm * sldns_serial_arithmetics_gmtime_r(int32_t time, time_t now, struct tm *result);
|
/freebsd-11-stable/sys/dev/sound/ |
H A D | clone.c | 403 struct timespec now; local 411 snd_timestamp(&now); 418 !SND_CLONE_EXPIRED(c, &now, &c->tsp)) 432 SND_CLONE_EXPIRED(c, &now, &ce->tsp))) { 614 struct timespec now; local 642 snd_timestamp(&now); 768 ce->tsp = now; 776 c->tsp = now; 792 ce->tsp = now; 795 c->tsp = now; [all...] |
/freebsd-11-stable/sbin/ifconfig/ |
H A D | af_inet6.c | 102 struct timespec now; local 106 clock_gettime(CLOCK_MONOTONIC_FAST, &now); 113 in6_addreq.ifra_lifetime.ia6t_expire = now.tv_sec + newval; 116 in6_addreq.ifra_lifetime.ia6t_preferred = now.tv_sec + newval; 177 struct timespec now; local 180 clock_gettime(CLOCK_MONOTONIC_FAST, &now); 278 printf(" %s", lifetime.ia6t_preferred < now.tv_sec 280 sec2str(lifetime.ia6t_preferred - now.tv_sec)); 286 printf(" %s", lifetime.ia6t_expire < now.tv_sec 288 sec2str(lifetime.ia6t_expire - now [all...] |