/freebsd-11-stable/contrib/netbsd-tests/kernel/kqueue/ |
H A D | t_sig.c | 113 timeout.tv_sec = 1; 125 n, (long long)diff.tv_sec, (long)diff.tv_usec);
|
/freebsd-11-stable/sys/compat/linux/ |
H A D | linux_stats.c | 148 tbuf.st_atim.tv_sec = buf->st_atim.tv_sec; 150 tbuf.st_mtim.tv_sec = buf->st_mtim.tv_sec; 152 tbuf.st_ctim.tv_sec = buf->st_ctim.tv_sec; 241 lbuf.st_atim.tv_sec = buf->st_atim.tv_sec; 243 lbuf.st_mtim.tv_sec = buf->st_mtim.tv_sec; [all...] |
H A D | linux_misc.c | 158 ts.tv_sec++; 159 sysinfo.uptime = ts.tv_sec; 216 it.it_value.tv_sec = secs; 222 if ((old_it.it_value.tv_sec == 0 && old_it.it_value.tv_usec > 0) || 224 old_it.it_value.tv_sec++; 225 td->td_retval[0] = old_it.it_value.tv_sec; 520 utv.tv_sec = ltv.tv_sec; 525 (intmax_t)utv.tv_sec, utv.tv_usec); 533 utv.tv_sec [all...] |
/freebsd-11-stable/contrib/ntp/libparse/ |
H A D | clk_rawdcf.c | 609 delta.tv_sec = ref->tv.tv_sec - offset - base->tv.tv_sec; 613 delta.tv_sec -= 1; 625 delta_usec = 1000000 * (int32_t)delta.tv_sec + delta.tv_usec; 644 if (t != NULL && t->tminute.tv.tv_sec != 0) { 659 parseio->parse_dtime.parse_time.tv.tv_sec++; 701 if (t->timeout.tv.tv_sec != 0)
|
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | ntp_timer.c | 171 if (itimer.it_value.tv_sec < 0 || 172 itimer.it_value.tv_sec > (1 << EVENT_TIMEOUT)) 173 itimer.it_value.tv_sec = (1 << EVENT_TIMEOUT); 176 if (0 == itimer.it_value.tv_sec && 178 itimer.it_value.tv_sec = (1 << EVENT_TIMEOUT); 179 itimer.it_interval.tv_sec = (1 << EVENT_TIMEOUT); 221 itimer.it_interval.tv_sec = 222 itimer.it_value.tv_sec = (1 << EVENT_TIMEOUT);
|
/freebsd-11-stable/usr.sbin/jail/ |
H A D | command.c | 224 if ((j = TAILQ_FIRST(&sleeping)) && j->timeout.tv_sec) { 226 ts.tv_sec = j->timeout.tv_sec - ts.tv_sec; 229 ts.tv_sec--; 232 if (ts.tv_sec < 0 || 233 (ts.tv_sec == 0 && ts.tv_nsec == 0)) { 241 ts.tv_sec = 0; 628 j->timeout.tv_sec += timeout; 630 j->timeout.tv_sec [all...] |
/freebsd-11-stable/sys/netinet/ |
H A D | sctp_timer.c | 518 tv.tv_sec = cur_rto / 1000000; 522 if (min_wait.tv_sec < 0 || min_wait.tv_usec < 0) { 529 min_wait.tv_sec = min_wait.tv_usec = 0; 532 sctp_log_fr(cur_rto, now.tv_sec, now.tv_usec, SCTP_FR_T3_MARK_TIME); 533 sctp_log_fr(0, min_wait.tv_sec, min_wait.tv_usec, SCTP_FR_T3_MARK_TIME); 580 chk->sent_rcv_time.tv_sec, 584 if ((chk->sent_rcv_time.tv_sec > min_wait.tv_sec) && (window_probe == 0)) { 592 chk->sent_rcv_time.tv_sec, 597 } else if ((chk->sent_rcv_time.tv_sec [all...] |
/freebsd-11-stable/contrib/netbsd-tests/lib/libpthread/ |
H A D | t_sleep.c | 93 it.it_value.tv_sec = 1;
|
/freebsd-11-stable/contrib/ntp/lib/isc/pthreads/ |
H A D | condition.c | 43 * POSIX defines a timespec's tv_sec as time_t. 45 result = isc_time_secondsastimet(t, &ts.tv_sec);
|
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/ |
H A D | regress_minheap.c | 38 ev->ev_timeout.tv_sec = test_weakrand();
|
/freebsd-11-stable/contrib/gcclibs/libiberty/ |
H A D | mkstemps.c | 103 value += ((gcc_uint64_t) tv.tv_usec << 16) ^ tv.tv_sec ^ getpid ();
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/nfs/ |
H A D | tst.call.c | 68 timeout.tv_sec = 30;
|
/freebsd-11-stable/contrib/groff/src/libs/libgroff/ |
H A D | tmpname.cpp | 83 uint64_t random_time_bits = ((uint64_t)tv.tv_usec << 16) ^ tv.tv_sec;
|
/freebsd-11-stable/contrib/binutils/libiberty/ |
H A D | mkstemps.c | 103 value += ((gcc_uint64_t) tv.tv_usec << 16) ^ tv.tv_sec ^ getpid ();
|
/freebsd-11-stable/lib/libc/rpc/ |
H A D | pmap_getmaps.c | 82 minutetimeout.tv_sec = 60;
|
/freebsd-11-stable/sbin/fsck_ffs/ |
H A D | fsutil.c | 209 readtime[i].tv_sec = totalreadtime[i].tv_sec = 0; 302 (vvp)->tv_sec -= (uvp)->tv_sec; \ 305 (vvp)->tv_sec--; \ 311 (vvp)->tv_sec += (uvp)->tv_sec; \ 314 (vvp)->tv_sec++; \ 490 if (startpass.tv_sec == 0) 499 readtime[i].tv_sec [all...] |
/freebsd-11-stable/crypto/openssh/ |
H A D | loginrec.h | 75 * use time_t's value as tv_sec and set tv_usec to 0 77 unsigned int tv_sec; member in struct:logininfo
|
/freebsd-11-stable/crypto/heimdal/lib/krb5/ |
H A D | net_write.c | 66 tv.tv_sec = timeout;
|
/freebsd-11-stable/sys/sys/ |
H A D | stat.h | 179 #define st_atime st_atim.tv_sec 180 #define st_mtime st_mtim.tv_sec 181 #define st_ctime st_ctim.tv_sec 183 #define st_birthtime st_birthtim.tv_sec
|
/freebsd-11-stable/tools/regression/posixsem/ |
H A D | posixsem.c | 59 #define timespecclear(tvp) ((tvp)->tv_sec = (tvp)->tv_nsec = 0) 60 #define timespecisset(tvp) ((tvp)->tv_sec || (tvp)->tv_nsec) 62 (((tvp)->tv_sec == (uvp)->tv_sec) ? \ 64 ((tvp)->tv_sec cmp (uvp)->tv_sec)) 67 (vvp)->tv_sec += (uvp)->tv_sec; \ 70 (vvp)->tv_sec++; \ 76 (vvp)->tv_sec [all...] |
/freebsd-11-stable/usr.sbin/rtadvd/ |
H A D | timer_subr.c | 53 returnval.tv_sec = returnval.tv_nsec = 0;
|
/freebsd-11-stable/tools/tools/kttcp/sys/ |
H A D | kttcp.c | 92 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \ 95 (vvp)->tv_sec--; \
|
/freebsd-11-stable/contrib/libpcap/ |
H A D | dlpisubs.c | 181 pkthdr.ts.tv_sec = sbp->sbh_timestamp.tv_sec; 322 to.tv_sec = 0; 331 to.tv_sec = p->opt.timeout / 1000;
|
/freebsd-11-stable/contrib/netbsd-tests/net/in_cksum/ |
H A D | in_cksum.c | 249 (intmax_t)old_tv.tv_sec, (intmax_t)old_tv.tv_usec); 260 (intmax_t)tv.tv_sec, (intmax_t)tv.tv_usec); 262 100 * ((double)tv.tv_sec * 1e6 + tv.tv_usec) / 263 ((double)old_tv.tv_sec * 1e6 + old_tv.tv_usec + 1));
|
/freebsd-11-stable/contrib/ntp/sntp/tests/ |
H A D | packetHandling.c | 54 xmt.tv_sec += JAN_1970; 91 xmt.tv_sec += JAN_1970; 150 dst.tv_sec -= JAN_1970; 197 dst.tv_sec -= JAN_1970;
|