Home
last modified time | relevance | path

Searched refs:tv_sec (Results 1 – 19 of 19) sorted by relevance

/openssh-portable/openbsd-compat/
H A Dbsd-misc.c114 ub.actime = tvp[0].tv_sec; in utimes()
115 ub.modtime = tvp[1].tv_sec; in utimes()
136 tv[0].tv_sec = times[0].tv_sec; in utimensat()
138 tv[1].tv_sec = times[1].tv_sec; in utimensat()
256 tremain.tv_sec = time2wait.tv_sec - in nanosleep()
257 (tstop.tv_sec - tstart.tv_sec); in nanosleep()
260 tremain.tv_sec += tremain.tv_usec / 1000000L; in nanosleep()
263 tremain.tv_sec = 0; in nanosleep()
278 ts.tv_sec = useconds / 1000000; in usleep()
304 sleepytime.tv_sec = 0; in tcsendbreak()
H A Dbsd-misc.h59 long tv_sec; member
85 time_t tv_sec; member
H A Dbsd-poll.c84 tv.tv_sec = timeout / 1000; in poll()
/openssh-portable/openbsd-compat/regress/
H A Dutimensattest.c70 ts[0].tv_sec = 12345678; in main()
72 ts[1].tv_sec = 34567890; in main()
106 ts[0].tv_sec = 11223344; in main()
107 ts[1].tv_sec = 55667788; in main()
/openssh-portable/
H A Ddefines.h499 (result)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
502 --(result)->tv_sec; \
510 (ts)->tv_sec = (tv)->tv_sec; \
517 (tv)->tv_sec = (ts)->tv_sec; \
524 (((tsp)->tv_sec == (usp)->tv_sec) ? \
526 ((tsp)->tv_sec cmp (usp)->tv_sec))
H A Dloginrec.c283 return (li.tv_sec); in login_get_lastlog_time()
415 li->tv_sec = tv.tv_sec; in login_set_current_time()
641 ut->ut_tv.tv_sec = li->tv_sec; in set_utmp_time()
644 ut->ut_time = li->tv_sec; in set_utmp_time()
733 utx->ut_tv.tv_sec = li->tv_sec; in set_utmpx_time()
736 utx->ut_time = li->tv_sec; in set_utmpx_time()
1224 li->tv_sec = ut.ut_time; in wtmp_get_entry()
1227 li->tv_sec = ut.ut_tv.tv_sec; in wtmp_get_entry()
1389 li->tv_sec = utx.ut_tv.tv_sec; in wtmpx_get_entry()
1583 li->tv_sec = ll->ll_tv.tv_sec; in lastlog_get_entry()
[all …]
H A Dloginrec.h79 unsigned int tv_sec; member
H A Dmisc.c1579 *ms -= (diff.tv_sec * 1000) + (diff.tv_usec / 1000); in ms_subtract_diff()
1587 tv->tv_sec = ms / 1000; in ms_to_timeval()
1618 ts->tv_sec = tv.tv_sec; in monotime_ts()
1628 tv->tv_sec = ts.tv_sec; in monotime_tv()
1638 return ts.tv_sec; in monotime()
1647 return ts.tv_sec + ((double)ts.tv_nsec / 1000000000); in monotime_double()
1684 bw->bwstart.tv_sec = waitlen / 1000000L; in bandwidth_limit()
1691 if (bw->bwend.tv_sec) { in bandwidth_limit()
H A Dsshlogin.c82 return (time_t)li.tv_sec; in get_last_login_time()
H A Dlogintest.c78 li->termination, li->tv_sec, li->tv_usec, in dump_logininfo()
H A Dauth2.c253 ts.tv_sec = remain; in ensure_minimum_time_since()
254 ts.tv_nsec = (remain - ts.tv_sec) * 1000000000; in ensure_minimum_time_since()
H A Dssh-keyscan.c416 fdcon[s].c_tv.tv_sec += timeout; in conalloc()
450 fdcon[s].c_tv.tv_sec += timeout; in contouch()
H A Dsftp-server.c891 tv[0].tv_sec = a->atime; in attrib_to_tv()
893 tv[1].tv_sec = a->mtime; in attrib_to_tv()
903 ts[0].tv_sec = a->atime; in attrib_to_ts()
905 ts[1].tv_sec = a->mtime; in attrib_to_ts()
H A Dsftp-client.c1468 tv[0].tv_sec = a->atime; in do_download()
1469 tv[1].tv_sec = a->mtime; in do_download()
1570 tv[0].tv_sec = dirattrib->atime; in download_dir_internal()
1571 tv[1].tv_sec = dirattrib->mtime; in download_dir_internal()
H A Dsk-usbhid.c276 ts_pause.tv_sec = 0; in sk_touch_poll()
447 ms_remain = SELECT_MS - tv_delta.tv_sec * 1000 - in sk_select_by_touch()
H A Dscp.c1329 mtime.tv_sec = ull;
1341 atime.tv_sec = ull;
H A Dserverloop.c285 tv.tv_sec = max_time_ms / 1000; in wait_until_can_do_something()
H A Dclientloop.c552 tv.tv_sec = timeout_secs; in client_wait_until_can_do_something()
H A Dconfigure.ac3515 tv.tv_sec = 1;
4137 [[ struct timeval tv; tv.tv_sec = 1;]])],
4156 [[ struct timespec ts; ts.tv_sec = 1;]])],

Completed in 35 milliseconds