/freebsd-current/contrib/xz/src/xz/ |
H A D | file_io.c | 474 struct timespec tv[2]; local 475 tv[0].tv_sec = pair->src_st.st_atime; 476 tv[0].tv_nsec = atime_nsec; 477 tv[1].tv_sec = pair->src_st.st_mtime; 478 tv[1].tv_nsec = mtime_nsec; 480 (void)futimens(pair->dest_fd, tv); 484 struct timeval tv[2]; local 485 tv[0].tv_sec = pair->src_st.st_atime; 486 tv[0].tv_usec = atime_nsec / 1000; 487 tv[ [all...] |
/freebsd-current/lib/libradius/ |
H A D | radlib.c | 671 * 0 The application should select on *fd with a timeout of tv before 678 struct timeval *tv) 781 tv->tv_sec = 1; /* Do not wait full timeout if send failed. */ 783 tv->tv_sec = h->servers[h->srv].timeout; 785 tv->tv_usec = 0; 986 rad_init_send_request(struct rad_handle *h, int *fd, struct timeval *tv) argument 1068 return rad_continue_send_request(h, 0, fd, tv); 1236 struct timeval tv; local 1240 n = rad_init_send_request(h, &fd, &tv); 1246 timeradd(&tv, 677 rad_continue_send_request(struct rad_handle *h, int selected, int *fd, struct timeval *tv) argument [all...] |
/freebsd-current/contrib/libxo/libxo/ |
H A D | xo_syslog.c | 544 struct timeval tv; local 548 tv.tv_sec = 1435085229; 549 tv.tv_usec = 123456; 551 gettimeofday(&tv, NULL); 553 (void) localtime_r(&tv.tv_sec, &tm); 580 ".%03.3u", tv.tv_usec / 1000);
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_netbsd.cpp | 244 timeval tv; local 246 internal_memset(&tv, 0, sizeof(tv)); 247 _REAL(__gettimeofday50, &tv, 0); 248 return (u64)tv.tv_sec * 1000 * 1000 * 1000 + tv.tv_usec * 1000;
|
/freebsd-current/contrib/unbound/util/ |
H A D | mini_event.c | 253 struct timeval* ATTR_UNUSED(tv)) 292 int event_add(struct event* ev, struct timeval* tv) argument 311 if(tv && (ev->ev_events&EV_TIMEOUT)) { 314 ev->ev_timeout.tv_sec = tv->tv_sec + now->tv_sec; 315 ev->ev_timeout.tv_usec = tv->tv_usec + now->tv_usec; 370 int signal_add(struct event* ev, struct timeval* ATTR_UNUSED(tv))
|
/freebsd-current/bin/pax/ |
H A D | file_subs.c | 627 static struct timeval tv[2] = {{0L, 0L}, {0L, 0L}}; local 630 tv[0].tv_sec = atime; 631 tv[1].tv_sec = mtime; 639 tv[0].tv_sec = sb.st_atime; 641 tv[1].tv_sec = sb.st_mtime; 649 if (lutimes(fnm, tv) < 0)
|
/freebsd-current/sys/netinet/tcp_stacks/ |
H A D | rack_pcm.c | 234 struct timeval tv; local 240 (void)tcp_get_usecs(&tv); 245 log.u_bbr.timeStamp = tcp_tv_to_usectick(&tv); 282 0, &log, false, NULL, NULL, 0, &tv); 289 log.u_bbr.timeStamp = tcp_tv_to_usectick(&tv); 305 0, &log, false, NULL, NULL, 0, &tv);
|
/freebsd-current/sys/netinet/ |
H A D | tcp_log_buf.h | 474 #define TCP_LOG_EVENT_VERBOSE(tp, th, rxbuf, txbuf, eventid, errornum, len, stackinfo, th_hostorder, tv) \ 479 tp->t_output_caller, __func__, __LINE__, tv);\ 552 #define TCP_LOG_EVENTP(tp, th, rxbuf, txbuf, eventid, errornum, len, stackinfo, th_hostorder, tv) \ 557 NULL, NULL, 0, tv); \ 568 const char *output_caller, const char *func, int line, const struct timeval *tv); 591 const struct timeval *tv) 587 tcp_log_event(struct tcpcb *tp, struct tcphdr *th, struct sockbuf *rxbuf, struct sockbuf *txbuf, uint8_t eventid, int errornum, uint32_t len, union tcp_log_stackspecific *stackinfo, int th_hostorder, const char *output_caller, const char *func, int line, const struct timeval *tv) argument
|
/freebsd-current/sbin/devd/ |
H A D | devd.cc | 851 struct timeval tv; local 865 gettimeofday(&tv, NULL); 866 asprintf(×tr, "%jd.%06ld", (uintmax_t)tv.tv_sec, tv.tv_usec); 1041 timeval tv; local 1054 tv.tv_sec = 0; 1055 tv.tv_usec = 0; 1058 rv = select(fd + 1, &fds, NULL, NULL, &tv); 1087 tv.tv_sec = 60; 1088 tv [all...] |
/freebsd-current/contrib/netbsd-tests/lib/librt/ |
H A D | t_sched.c | 198 struct timespec tv; local 207 ATF_REQUIRE(sched_rr_get_interval(-INT_MAX, &tv) != 0);
|
/freebsd-current/sys/contrib/libsodium/test/default/ |
H A D | generichash.c | 1295 tv(void) function 1345 tv();
|
/freebsd-current/contrib/wpa/src/common/ |
H A D | wpa_ctrl.c | 485 struct timeval tv; local 543 tv.tv_sec = 10; 544 tv.tv_usec = 0; 547 res = select(ctrl->s + 1, &rfds, NULL, NULL, &tv); 627 struct timeval tv; local 629 tv.tv_sec = 0; 630 tv.tv_usec = 0; 633 select(ctrl->s + 1, &rfds, NULL, NULL, &tv);
|
/freebsd-current/contrib/libpcap/ |
H A D | pcap-enet.c | 55 static struct timeval tv = { 0 }; 95 (*printit)(buf.hdr.packet, &tv, cc, caplen);
|
/freebsd-current/contrib/ntp/sntp/libevent/test/ |
H A D | bench_http.c | 188 struct timeval tv={99999999,0}; local 189 event_base_loopexit(base, &tv);
|
/freebsd-current/crypto/openssl/providers/implementations/rands/seeding/ |
H A D | rand_unix.c | 822 struct timeval tv; local 824 if (gettimeofday(&tv, NULL) == 0) 825 return TWO32TO64(tv.tv_sec, tv.tv_usec); 873 struct timeval tv; local 875 if (gettimeofday(&tv, NULL) == 0) 876 return TWO32TO64(tv.tv_sec, tv.tv_usec);
|
/freebsd-current/sys/dev/ocs_fc/ |
H A D | ocs_os.h | 301 struct timeval tv; local 303 getmicrotime(&tv); 304 return (tv.tv_sec*1000) + (tv.tv_usec / 1000); 743 struct timeval tv; local 746 tv.tv_sec = timeout_usec / 1000000; 747 tv.tv_usec = timeout_usec % 1000000; 748 ticks = tvtohz(&tv);
|
H A D | ocs_os.c | 944 struct timeval tv; local 961 tv.tv_sec = timeout_ms / 1000; 962 tv.tv_usec = (timeout_ms % 1000) * 1000; 964 hz = tvtohz(&tv); 980 struct timeval tv; local 988 tv.tv_sec = timeout_ms / 1000; 989 tv.tv_usec = (timeout_ms % 1000) * 1000; 991 hz = tvtohz(&tv);
|
/freebsd-current/contrib/libevent/test/ |
H A D | bench_http.c | 188 struct timeval tv={99999999,0}; local 189 event_base_loopexit(base, &tv);
|
H A D | regress_iocp.c | 93 struct timeval tv; local 99 tv.tv_sec = 0; 100 tv.tv_usec = ms * 1000; 102 EVTHREAD_COND_WAIT_TIMED(count_cond, count_lock, &tv);
|
/freebsd-current/lib/libsys/ |
H A D | __vdso_gettimeofday.c | 134 __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) argument 151 bintime2timeval(&bt, tv);
|
/freebsd-current/contrib/ntp/libntp/ |
H A D | adjtime.c | 227 msgp->msgb.tv = *delta; 242 *olddelta = msgp->msgb.tv;
|
/freebsd-current/contrib/libevent/include/event2/ |
H A D | tag.h | 109 struct timeval *tv);
|
/freebsd-current/contrib/ntp/util/ |
H A D | tg.c | 257 struct timeval tv; /* system clock at startup */ local 352 gettimeofday(&tv, NULL); 353 tm = gmtime(&tv.tv_sec); 365 delay(SECOND - tv.tv_usec * 8 / 1000);
|
H A D | ntptime.c | 97 struct timeval tv; local 306 tv.tv_sec = ntv.time.tv_sec; 307 tv.tv_usec = ntv.time.tv_frac_sec; 308 TVTOTS(&tv, &ts);
|
/freebsd-current/contrib/ntp/sntp/libevent/include/event2/ |
H A D | tag.h | 109 struct timeval *tv);
|