/openbsd-current/gnu/llvm/libcxx/include/__chrono/ |
H A D | steady_clock.h | 36 static time_point now() _NOEXCEPT;
|
/openbsd-current/usr.sbin/unbound/services/cache/ |
H A D | rrset.h | 217 * @param now: current time. 220 struct ub_packed_rrset_key* rrset, time_t now); 229 * @param now: current time. 232 struct ub_packed_rrset_key* rrset, time_t now); 241 * @param now: current time. 246 size_t* qnamelen, uint16_t searchtype, uint16_t qclass, time_t now, 256 * @param now: current time. 262 size_t* qnamelen, uint16_t searchtype, uint16_t qclass, time_t now,
|
H A D | dns.h | 136 * @param timenow: the time now, for checking if TTL on cache entries is OK. 157 * @param now: the time now, for check if TTL on cache entry is ok. 164 struct reply_info* r, struct regional* region, time_t now, 230 * @param now: now. 234 struct ub_packed_rrset_key* rrset, time_t now); 242 * @param now: now. 246 struct ub_packed_rrset_key* rrset, time_t now); [all...] |
/openbsd-current/sbin/unwind/libunbound/services/cache/ |
H A D | rrset.h | 217 * @param now: current time. 220 struct ub_packed_rrset_key* rrset, time_t now); 229 * @param now: current time. 232 struct ub_packed_rrset_key* rrset, time_t now); 241 * @param now: current time. 246 size_t* qnamelen, uint16_t searchtype, uint16_t qclass, time_t now, 256 * @param now: current time. 262 size_t* qnamelen, uint16_t searchtype, uint16_t qclass, time_t now,
|
H A D | dns.h | 136 * @param timenow: the time now, for checking if TTL on cache entries is OK. 157 * @param now: the time now, for check if TTL on cache entry is ok. 164 struct reply_info* r, struct regional* region, time_t now, 230 * @param now: now. 234 struct ub_packed_rrset_key* rrset, time_t now); 242 * @param now: now. 246 struct ub_packed_rrset_key* rrset, time_t now); [all...] |
/openbsd-current/games/backgammon/backgammon/ |
H A D | move.c | 192 struct BOARD *now; /* current position */ local 194 now = nextfree(); /* get free BOARD */ 198 now->b_board[i] = board[i]; 199 now->b_in[0] = in[0]; 200 now->b_in[1] = in[1]; 201 now->b_off[0] = off[0]; 202 now->b_off[1] = off[1]; 204 now->b_st[i] = p[i]; 205 now->b_fn[i] = g[i]; 207 return(now); 318 struct BOARD *now = bsave(); local [all...] |
/openbsd-current/usr.bin/rcs/ |
H A D | rcstime.c | 42 time_t now; local 45 now = mktime(&rdp->rd_date); 46 ltb = localtime(&now);
|
/openbsd-current/bin/dd/ |
H A D | misc.c | 51 struct timespec elapsed, now; local 57 clock_gettime(CLOCK_MONOTONIC, &now); 58 timespecsub(&now, &st.start, &elapsed);
|
/openbsd-current/usr.sbin/smtpd/ |
H A D | mail.mboxfile.c | 67 time_t now; local 69 time(&now); 78 fprintf(fp, "From %s %s", sender, ctime(&now));
|
H A D | runq.c | 45 time_t now; local 51 now = time(NULL); 52 if (job->when <= now) 55 tv.tv_sec = job->when - now; 65 time_t now; local 68 now = time(NULL); 71 if (job->when > now)
|
/openbsd-current/lib/libcrypto/asn1/ |
H A D | a_time.c | 99 time_t now; local 104 time(&now); 107 return asn1_time_time_t_to_tm(&now, tm);
|
/openbsd-current/usr.bin/dig/lib/isc/ |
H A D | timer.c | 167 struct timespec now; local 186 clock_gettime(CLOCK_MONOTONIC, &now); 196 timespecadd(&now, interval, &timer->idle); 235 struct timespec now; local 250 clock_gettime(CLOCK_MONOTONIC, &now); 260 timespecadd(&now, interval, &timer->idle); 272 struct timespec now; local 278 clock_gettime(CLOCK_MONOTONIC, &now); 279 timespecadd(&now, &timer->interval, &timer->idle); 306 dispatch(isc_timermgr_t *manager, struct timespec *now) { argument 490 struct timespec now; local [all...] |
/openbsd-current/usr.sbin/unbound/testcode/ |
H A D | delayer.c | 225 ring_add(struct ringbuf* r, sldns_buffer* pkt, struct timeval* now, argument 274 when = *now; 360 service_send(struct ringbuf* ring, struct timeval* now, sldns_buffer* pkt, argument 367 dl_tv_smaller(ring_peek_time(ring), now)) { 383 p->lastuse = *now; 424 sldns_buffer* pkt, struct timeval* now) 429 p->lastuse = *now; 439 struct timeval* now, struct timeval* reuse_timeout) 451 t = *now; 485 struct timeval* now, struc 423 service_proxy(fd_set* rset, int retsock, struct proxy* proxies, sldns_buffer* pkt, struct timeval* now) argument 437 find_create_proxy(struct sockaddr_storage* from, socklen_t from_len, fd_set* rorig, int* max, struct proxy** proxies, int serv_ip6, struct timeval* now, struct timeval* reuse_timeout) argument 482 service_recv(int s, struct ringbuf* ring, sldns_buffer* pkt, fd_set* rorig, int* max, struct proxy** proxies, struct sockaddr_storage* srv_addr, socklen_t srv_len, struct timeval* now, struct timeval* delay, struct timeval* reuse) argument 550 service_tcp_listen(int s, fd_set* rorig, int* max, struct tcp_proxy** proxies, struct sockaddr_storage* srv_addr, socklen_t srv_len, struct timeval* now, struct timeval* tcp_timeout) argument 618 tcp_relay_read(int s, struct tcp_send_list** first, struct tcp_send_list** last, struct timeval* now, struct timeval* delay, sldns_buffer* pkt) argument 670 tcp_relay_write(int s, struct tcp_send_list** first, struct tcp_send_list** last, struct timeval* now) argument 716 service_tcp_relay(struct tcp_proxy** tcp_proxies, struct timeval* now, struct timeval* delay, struct timeval* tcp_timeout, sldns_buffer* pkt, fd_set* rset, fd_set* rorig, fd_set* worig) argument 808 service_findwait(struct timeval* now, struct timeval* wait, struct ringbuf* ring, struct tcp_proxy* tcplist) argument 900 struct timeval now, wait; local [all...] |
H A D | perf.c | 270 perfsend(struct perfinfo* info, size_t n, struct timeval* now) argument 288 perf_tv_add(&info->io[n].timeout, now); 293 perfreply(struct perfinfo* info, size_t n, struct timeval* now) argument 307 perfsend(info, n, now); 312 perftimeout(struct perfinfo* info, size_t n, struct timeval* now) argument 316 perfsend(info, n, now); 321 stat_printout(struct perfinfo* info, struct timeval* now, argument 334 info->since = *now; 346 struct timeval timeout, now; local 349 if(gettimeofday(&now, NUL 400 struct timeval timeout, now; local [all...] |
/openbsd-current/usr.bin/ts/ |
H A D | ts.c | 52 struct timespec start, now, utc_offset, ts; local 114 clock_gettime(clock, &now); 116 timespecsub(&now, &start, &ts); 118 timespecadd(&now, &utc_offset, &ts); 120 ts = now; 123 start = now;
|
/openbsd-current/sys/arch/landisk/stand/boot/ |
H A D | delay.c | 122 uint32_t base, now; local 126 now = gettick(); 127 if (((now - base) / MS_PER_TICK) > ms) {
|
/openbsd-current/regress/usr.sbin/bgpd/integrationtests/ |
H A D | api-exabgp.c | 35 time_t end, now; local 63 now = time(NULL); 64 if (timeout != 0 && end < now) {
|
/openbsd-current/sbin/unwind/libunbound/validator/ |
H A D | val_kentry.h | 174 * @param now: current time (added to ttl). 180 time_t now); 192 * @param now: current time (added to ttl of rrset) 199 time_t now); 210 * @param now: current time (added to ttl). 216 time_t now);
|
H A D | val_kcache.h | 102 * @param now: current time. 109 struct regional* region, time_t now);
|
/openbsd-current/usr.sbin/unbound/validator/ |
H A D | val_kentry.h | 174 * @param now: current time (added to ttl). 180 time_t now); 192 * @param now: current time (added to ttl of rrset) 199 time_t now); 210 * @param now: current time (added to ttl). 216 time_t now);
|
H A D | val_kcache.h | 102 * @param now: current time. 109 struct regional* region, time_t now);
|
/openbsd-current/usr.sbin/bgpd/ |
H A D | timer.c | 52 timer_nextisdue(struct timer_head *th, time_t now) argument 57 if (t != NULL && t->val > 0 && t->val <= now) 63 timer_nextduein(struct timer_head *th, time_t now) argument 68 return (MAXIMUM(t->val - now, 0));
|
/openbsd-current/gnu/usr.bin/perl/dist/IO/t/ |
H A D | io_poll.t | 81 my $now = time; 83 my $diff = time - $now;
|
/openbsd-current/regress/sys/kern/select/ |
H A D | Makefile | 14 @echo Disabled for now, some of the tests are unreliable.
|
/openbsd-current/sys/net/ |
H A D | fq_codel.c | 296 codel_gettime(int64_t *now) argument 301 *now = tv.tv_sec * 1000000000LL + tv.tv_nsec; 323 codel_enqueue(struct codel *cd, int64_t now, struct mbuf *m) argument 325 m->m_pkthdr.ph_timestamp = now; 357 codel_next_packet(struct codel *cd, struct codel_params *cp, int64_t now, argument 372 if (now - m->m_pkthdr.ph_timestamp < cp->target || 390 cd->start = now + cp->interval; 391 } else if (now > cd->start) { 400 codel_state_change(struct codel *cd, int64_t now, struct mbuf *m, int drop, argument 409 else if (now > 421 codel_dequeue(struct codel *cd, struct codel_params *cp, int64_t now, struct mbuf_list *free_ml, uint64_t *dpkts, uint64_t *dbytes) argument 539 int64_t now; local 648 int64_t now; local [all...] |