/freebsd-11.0-release/sys/fs/smbfs/ |
H A D | smbfs_subr.c | 54 *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 D | subr_clock.c | 169 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 D | rpc_com.h | 58 #define __RPC_GETXID(now) ((u_int32_t)getpid() ^ (u_int32_t)(now)->tv_sec ^ \
|
H A D | svc_run.c | 62 timeout.tv_sec = 30;
|
/freebsd-11.0-release/sys/boot/powerpc/kboot/ |
H A D | host_syscall.h | 41 int tv_sec; member in struct:host_timeval
|
/freebsd-11.0-release/tools/tools/netrate/netblast/ |
H A D | netblast.c | 90 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 D | ppsapitest.c | 24 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 D | refclock_shm.c | 400 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 D | ac.c | 264 (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 D | cron.c | 384 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 D | utmpx_login.c | 48 ut->ut_tv.tv_sec = tmp.tv_sec;
|
/freebsd-11.0-release/contrib/tcpdump/ |
H A D | print-timed.c | 37 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 D | progressbar.c | 179 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 D | t_time.c | 103 (int64_t)t, (int64_t)tv.tv_sec); 105 if (t != tv.tv_sec)
|
/freebsd-11.0-release/sys/compat/cloudabi/ |
H A D | cloudabi_clock.c | 67 if (in->tv_sec < 0) { 72 s = in->tv_sec;
|
/freebsd-11.0-release/sys/mips/cavium/ |
H A D | octeon_rtc.c | 110 status = cvmx_rtc_write(ts->tv_sec); 126 ts->tv_sec = secs;
|
/freebsd-11.0-release/contrib/ntp/util/ |
H A D | hist.c | 49 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 D | jitter.c | 107 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 D | candidate.c | 61 wait.tv_sec = 0; 88 then.tv_sec += 3;
|
H A D | readmsg.c | 173 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 D | local.h | 156 (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 D | timepps-SunOS.h | 74 (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 D | ng_pipe.c | 114 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 D | thr_umtx.c | 196 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 D | rtsold.c | 181 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...] |