Searched refs:tv_sec (Results 151 - 175 of 1050) sorted by relevance

1234567891011>>

/freebsd-11.0-release/sys/fs/smbfs/
H A Dsmbfs_subr.c54 *seconds = tsp->tv_sec - tzoff * 60 /*- tz_minuteswest * 60 -
61 tsp->tv_sec = seconds + tzoff * 60;
96 tt.tv_sec = t;
106 smb_time_server2local(tsp->tv_sec, tzoff, tsp);
/freebsd-11.0-release/sys/kern/
H A Dsubr_clock.c169 ts->tv_sec = (((time_t)days * 24 + ct->hour) * 60 + ct->min) * 60 +
174 printf(" = %ld.%09ld\n", (long)ts->tv_sec, (long)ts->tv_nsec);
185 secs = ts->tv_sec;
213 (long)ts->tv_sec, (long)ts->tv_nsec);
/freebsd-11.0-release/lib/libc/rpc/
H A Drpc_com.h58 #define __RPC_GETXID(now) ((u_int32_t)getpid() ^ (u_int32_t)(now)->tv_sec ^ \
H A Dsvc_run.c62 timeout.tv_sec = 30;
/freebsd-11.0-release/sys/boot/powerpc/kboot/
H A Dhost_syscall.h41 int tv_sec; member in struct:host_timeval
/freebsd-11.0-release/tools/tools/netrate/netblast/
H A Dnetblast.c90 it.it_interval.tv_sec = 0;
92 it.it_value.tv_sec = duration;
128 printf("start: %zd.%09lu\n", starttime.tv_sec,
130 printf("finish: %zd.%09lu\n", tmptime.tv_sec,
/freebsd-11.0-release/tools/test/ppsapi/
H A Dppsapitest.c24 printf("%jd .%09ld %u", (intmax_t)tsa->tv_sec, tsa->tv_nsec, sa);
25 printf(" %jd .%09ld %u\n", (intmax_t)tsc->tv_sec, tsc->tv_nsec, sc);
156 to.tv_sec = 0;
165 to.tv_sec = 0;
/freebsd-11.0-release/contrib/ntp/ntpd/
H A Drefclock_shm.c400 shm_stat->tvc.tv_sec = shm_stat->tvc.tv_nsec = 0;
405 shm_stat->tvc.tv_sec = now;
441 shm_stat->tvr.tv_sec = shmcopy.receiveTimeStampSec;
444 shm_stat->tvt.tv_sec = shmcopy.clockTimeStampSec;
472 shm_stat->tvr.tv_sec = shmcopy.receiveTimeStampSec;
475 shm_stat->tvt.tv_sec = shmcopy.clockTimeStampSec;
589 * tv_sec". I can't find a base for this claim, but we can work
593 tt = (time_t)shm_stat.tvt.tv_sec;
606 tt = shm_stat.tvc.tv_sec - shm_stat.tvr.tv_sec;
[all...]
/freebsd-11.0-release/usr.sbin/ac/
H A Dac.c264 (double)secs.tv_sec / 3600);
293 localtime(&yesterday.tv_sec));
307 (void)printf("%s %11.2f\n", date, (double)total.tv_sec / 3600);
429 ltm = localtime(&ut_timecopy.tv_sec);
436 secs.tv_sec -= ltm->tm_sec;
437 secs.tv_sec -= 60 * ltm->tm_min;
438 secs.tv_sec -= 3600 * ltm->tm_hour;
484 ltm = localtime(&ut_timecopy.tv_sec);
490 secs.tv_sec -= ltm->tm_sec;
491 secs.tv_sec
[all...]
/freebsd-11.0-release/usr.sbin/cron/cron/
H A Dcron.c384 result->tv_sec -= y->tv_sec;
387 result->tv_sec--;
405 ttime.tv_sec = TargetTime;
413 if (stime.tv_sec < -600 || stime.tv_sec > 600) {
419 seconds_to_wait = (stime.tv_nsec > 0) ? stime.tv_sec + 1 :
420 stime.tv_sec;
430 if (stime.tv_sec < 0)
440 stime.tv_sec
[all...]
/freebsd-11.0-release/crypto/heimdal/appl/login/
H A Dutmpx_login.c48 ut->ut_tv.tv_sec = tmp.tv_sec;
/freebsd-11.0-release/contrib/tcpdump/
H A Dprint-timed.c37 uint32_t tv_sec; member in struct:tsp_timeval
123 sec = EXTRACT_32BITS(&tsp->tsp_time.tv_sec);
/freebsd-11.0-release/contrib/tnftp/src/
H A Dprogressbar.c179 wait.tv_sec = 0;
182 if (quit_time > 0 && wait.tv_sec > quit_time) {
185 getprogname(), (unsigned long)wait.tv_sec);
253 elapsed = td.tv_sec + (td.tv_usec / 1000000.0);
272 } else if (wait.tv_sec >= STALLTIME) {
327 elapsed = td.tv_sec + (td.tv_usec / 1000000.0);
374 if (wait.tv_sec >= STALLTIME)
407 itv.it_value.tv_sec = wait;
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/gen/
H A Dt_time.c103 (int64_t)t, (int64_t)tv.tv_sec);
105 if (t != tv.tv_sec)
/freebsd-11.0-release/sys/compat/cloudabi/
H A Dcloudabi_clock.c67 if (in->tv_sec < 0) {
72 s = in->tv_sec;
/freebsd-11.0-release/sys/mips/cavium/
H A Docteon_rtc.c110 status = cvmx_rtc_write(ts->tv_sec);
126 ts->tv_sec = secs;
/freebsd-11.0-release/contrib/ntp/util/
H A Dhist.c49 t = ts.tv_sec * 1000000 + ts.tv_usec;
53 u = tr.tv_sec * 1000000 + tr.tv_usec;
59 printf("error <= 0 %ld %d %d, %d %d\n", w, ts.tv_sec,
60 ts.tv_usec, tr.tv_sec, tr.tv_usec);
H A Djitter.c107 now->l_i = ts.tv_sec + JAN_1970;
117 now->l_i = tv.tv_sec + JAN_1970;
/freebsd-11.0-release/usr.sbin/timed/timed/
H A Dcandidate.c61 wait.tv_sec = 0;
88 then.tv_sec += 3;
H A Dreadmsg.c173 if (rwait.tv_sec < 0)
174 rwait.tv_sec = rwait.tv_usec = 0;
175 else if (rwait.tv_sec == 0
181 (intmax_t)rwait.tv_sec, rwait.tv_usec, date());
188 if (rwait.tv_sec != 0
196 if (rwait.tv_sec == 0 && rwait.tv_usec == 0)
470 tsp_time_sec = msg->tsp_time.tv_sec;
487 msg->tsp_time.tv_sec,
/freebsd-11.0-release/contrib/sendmail/libsm/
H A Dlocal.h156 (time)->tv_sec = 0; \
161 (time)->tv_sec = (val) / 1000; \
162 (time)->tv_usec = ((val) - ((time)->tv_sec * 1000)) * 1000; \
245 sm_io_to.tv_sec = (to) / 1000; \
246 sm_io_to.tv_usec = ((to) - (sm_io_to.tv_sec * 1000)) * 1000; \
279 (to) -= (sm_io_to_diff.tv_sec * 1000); \
/freebsd-11.0-release/contrib/ntp/include/
H A Dtimepps-SunOS.h74 (x).tv_sec++; \
77 (x).tv_sec--; \
447 infobuf.assert_timestamp.tv_sec = ev.tv.tv_sec;
451 infobuf.assert_timestamp.tv_sec += handle->params.assert_offset.tv_sec;
/freebsd-11.0-release/sys/netgraph/
H A Dng_pipe.c114 ngp_f->vtime.tv_sec = now->tv_sec + \
118 if (ngp_f1->vtime.tv_sec > ngp_f->vtime.tv_sec || \
119 (ngp_f1->vtime.tv_sec == ngp_f->vtime.tv_sec && \
637 if (when->tv_sec < now->tv_sec || (when->tv_sec == now->tv_sec
[all...]
/freebsd-11.0-release/lib/libthr/thread/
H A Dthr_umtx.c196 if (timeout && (timeout->tv_sec < 0 || (timeout->tv_sec == 0 &&
208 if (timeout && (timeout->tv_sec < 0 || (timeout->tv_sec == 0 &&
260 if (timeout && (timeout->tv_sec < 0 || (timeout->tv_sec == 0 &&
/freebsd-11.0-release/usr.sbin/rtsold/
H A Drtsold.c181 tm_max.tv_sec = (-1) & ~((time_t)1 << ((sizeof(tm_max.tv_sec) * 8) - 1));
321 e = poll(set, 2, timeout ? (timeout->tv_sec * 1000 + timeout->tv_nsec / 1000 / 1000) : INFTIM);
611 ifi->timer.tv_sec) <= 0) {
685 returnval.tv_sec = returnval.tv_nsec = 0;
689 now.tv_sec += returnval.tv_sec;
712 ifi->timer.tv_sec = PROBE_INTERVAL;
714 ifi->timer.tv_sec = 1;
719 ifi->timer.tv_sec
[all...]

Completed in 120 milliseconds

1234567891011>>