| /freebsd-14.2/sbin/shutdown/ |
| H A D | shutdown.c | 73 int timeleft, timetowait; member 268 if (tp->timeleft < offset) in loop() 271 while (tp->timeleft && offset < tp->timeleft) in loop() 277 if ((sltime = offset - tp->timeleft)) { in loop() 284 timewarn(tp->timeleft); in loop() 290 if (!tp->timeleft) in loop() 304 timewarn(int timeleft) in timewarn() argument 326 if (timeleft > 10*60) in timewarn() 329 else if (timeleft > 59) in timewarn() 331 timeleft / 60, (timeleft > 60) ? "s" : ""); in timewarn() [all …]
|
| /freebsd-14.2/crypto/openssl/ssl/ |
| H A D | d1_lib.c | 320 memset(timeleft, 0, sizeof(*timeleft)); in dtls1_get_timeout() 321 return timeleft; in dtls1_get_timeout() 326 timeleft->tv_sec -= timenow.tv_sec; in dtls1_get_timeout() 328 if (timeleft->tv_usec < 0) { in dtls1_get_timeout() 329 timeleft->tv_sec--; in dtls1_get_timeout() 330 timeleft->tv_usec += 1000000; in dtls1_get_timeout() 337 if (timeleft->tv_sec == 0 && timeleft->tv_usec < 15000) { in dtls1_get_timeout() 338 memset(timeleft, 0, sizeof(*timeleft)); in dtls1_get_timeout() 341 return timeleft; in dtls1_get_timeout() 346 struct timeval timeleft; in dtls1_is_timer_expired() local [all …]
|
| H A D | ssl_local.h | 2567 __owur struct timeval *dtls1_get_timeout(SSL *s, struct timeval *timeleft);
|
| /freebsd-14.2/crypto/openssl/crypto/bio/ |
| H A D | bss_dgram.c | 201 struct timeval timenow, timeleft; in dgram_adjust_rcv_timeout() local 229 if (timeleft.tv_usec < timenow.tv_usec) { in dgram_adjust_rcv_timeout() 230 timeleft.tv_usec = 1000000 - timenow.tv_usec + timeleft.tv_usec; in dgram_adjust_rcv_timeout() 231 timeleft.tv_sec--; in dgram_adjust_rcv_timeout() 233 timeleft.tv_usec -= timenow.tv_usec; in dgram_adjust_rcv_timeout() 235 if (timeleft.tv_sec < timenow.tv_sec) { in dgram_adjust_rcv_timeout() 236 timeleft.tv_sec = 0; in dgram_adjust_rcv_timeout() 237 timeleft.tv_usec = 1; in dgram_adjust_rcv_timeout() 239 timeleft.tv_sec -= timenow.tv_sec; in dgram_adjust_rcv_timeout() 248 || (data->socket_timeout.tv_sec > timeleft.tv_sec) in dgram_adjust_rcv_timeout() [all …]
|
| /freebsd-14.2/sys/dev/watchdog/ |
| H A D | watchdog.c | 321 time_t timeleft; in wd_ioctl() local 362 error = wd_get_time_left(td, &timeleft); in wd_ioctl() 365 *(int *)data = (int)timeleft; in wd_ioctl()
|
| /freebsd-14.2/contrib/ncurses/ncurses/tty/ |
| H A D | lib_twait.c | 174 int *timeleft in _nc_timed_wait() 474 if (timeleft) in _nc_timed_wait() 475 *timeleft = milliseconds; in _nc_timed_wait()
|
| /freebsd-14.2/contrib/ncurses/ncurses/base/ |
| H A D | lib_getch.c | 722 int timeleft = forever ? 9999999 : GetEscdelay(sp); in kgetch() local 784 rc = check_mouse_activity(sp, timeleft EVENTLIST_2nd(evl)); in kgetch()
|
| /freebsd-14.2/contrib/ncurses/ncurses/tinfo/ |
| H A D | lib_win32con.c | 835 int *timeleft in _nc_console_twait() 991 if (timeleft) in _nc_console_twait() 992 *timeleft = milliseconds; in _nc_console_twait()
|
| H A D | tinfo_driver.c | 1254 int *timeleft in drv_twait() 1266 timeleft EVENTLIST_2nd(evl)); in drv_twait() 1268 return _nc_timed_wait(sp, mode, milliseconds, timeleft EVENTLIST_2nd(evl)); in drv_twait()
|
| /freebsd-14.2/contrib/ncurses/ncurses/win32con/ |
| H A D | win_driver.c | 1532 int *timeleft in console_twait() 1632 if (timeleft) in console_twait() 1633 *timeleft = milliseconds; in console_twait() 1642 int *timeleft in wcon_twait() 1655 timeleft EVENTLIST_2nd(evl)); in wcon_twait()
|
| H A D | win32_driver.c | 1072 int *timeleft in wcon_twait() 1085 timeleft EVENTLIST_2nd(evl)); in wcon_twait()
|
| /freebsd-14.2/contrib/ncurses/ncurses/ |
| H A D | llib-ltinfo | 1331 int *timeleft)
|
| H A D | llib-ltinfow | 1364 int *timeleft)
|
| H A D | llib-ltinfotw | 1465 int *timeleft)
|
| H A D | llib-ltinfot | 1432 int *timeleft)
|
| H A D | llib-lncurses | 4060 int *timeleft)
|
| H A D | llib-lncursest | 4170 int *timeleft)
|
| H A D | llib-lncursestw | 5142 int *timeleft)
|
| H A D | llib-lncursesw | 5032 int *timeleft)
|
| /freebsd-14.2/sys/netinet/tcp_stacks/ |
| H A D | rack.c | 2190 uint64_t timenow, timeleft, lenleft, lengone, calcbw; in rack_rate_cap_bw() local 2216 timeleft = rack->r_ctl.rc_last_sft->deadline - timenow; in rack_rate_cap_bw() 2217 if (timeleft < HPTS_MSEC_IN_SEC) { in rack_rate_cap_bw() 2220 0, timeleft, 0, HYBRID_LOG_OUTOFTIME, 0, ent, __LINE__); in rack_rate_cap_bw() 2236 0, timeleft, 0, HYBRID_LOG_CAPERROR, 0, ent, __LINE__); in rack_rate_cap_bw() 2255 0, timeleft, lengone, HYBRID_LOG_CAPERROR, 0, ent, __LINE__); in rack_rate_cap_bw() 2263 0, timeleft, lenleft, HYBRID_LOG_ALLSENT, 0, ent, __LINE__); in rack_rate_cap_bw() 2270 calcbw /= timeleft; in rack_rate_cap_bw() 2287 calcbw, timeleft, lenleft, HYBRID_LOG_CAP_CALC, 0, ent, __LINE__); in rack_rate_cap_bw()
|
| /freebsd-14.2/contrib/ncurses/ |
| H A D | NEWS | 12858 was the assumption of !GOOD_SELECT && HAVE_GETTIMEOFDAY in *timeleft
|