/freebsd/sbin/shutdown/ |
H A D | shutdown.c | 62 int timeleft, timetowait; member 264 if (tp->timeleft < offset) in loop() 265 (void)sleep((u_int)(offset - tp->timeleft)); in loop() 267 while (tp->timeleft && offset < tp->timeleft) in loop() 273 if ((sltime = offset - tp->timeleft)) { in loop() 281 timewarn(tp->timeleft); in loop() 282 if (!logged && tp->timeleft <= NOLOG_TIME) { in loop() 287 if (!tp->timeleft) in loop() 301 timewarn(int timeleft) in timewarn() argument 321 timeleft ? "": "FINAL ", whom, hostname); in timewarn() [all …]
|
/freebsd/crypto/openssl/ssl/ |
H A D | d1_lib.c | 304 struct timeval *dtls1_get_timeout(SSL *s, struct timeval *timeleft) in dtls1_get_timeout() argument 320 memset(timeleft, 0, sizeof(*timeleft)); in dtls1_get_timeout() 321 return timeleft; in dtls1_get_timeout() 325 memcpy(timeleft, &(s->d1->next_timeout), sizeof(struct timeval)); in dtls1_get_timeout() 326 timeleft->tv_sec -= timenow.tv_sec; in dtls1_get_timeout() 327 timeleft->tv_usec -= timenow.tv_usec; 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() [all …]
|
H A D | ssl_local.h | 2567 __owur struct timeval *dtls1_get_timeout(SSL *s, struct timeval *timeleft);
|
/freebsd/crypto/openssl/crypto/bio/ |
H A D | bss_dgram.c | 201 struct timeval timenow, timeleft; in dgram_adjust_rcv_timeout() local 228 memcpy(&timeleft, &(data->next_timeout), sizeof(struct timeval)); in dgram_adjust_rcv_timeout() 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() [all …]
|
/freebsd/sys/dev/watchdog/ |
H A D | watchdog.c | 320 time_t timeleft; in wd_ioctl() local 361 error = wd_get_time_left(td, &timeleft); in wd_ioctl() 364 *(int *)data = (int)timeleft; in wd_ioctl()
|
/freebsd/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/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/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/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/contrib/ncurses/ncurses/ |
H A D | llib-ltinfow | 1364 int *timeleft)
|
H A D | llib-ltinfo | 1331 int *timeleft)
|
H A D | llib-ltinfotw | 1465 int *timeleft)
|
H A D | llib-ltinfot | 1432 int *timeleft)
|
H A D | llib-lncursest | 4170 int *timeleft)
|
H A D | llib-lncurses | 4060 int *timeleft)
|
H A D | llib-lncursestw | 5142 int *timeleft)
|
H A D | llib-lncursesw | 5032 int *timeleft)
|
/freebsd/sys/netinet/tcp_stacks/ |
H A D | rack.c | 2253 uint64_t timenow, timeleft, lenleft, lengone, calcbw; in rack_rate_cap_bw() local 2279 timeleft = rack->r_ctl.rc_last_sft->deadline - timenow; in rack_rate_cap_bw() 2280 if (timeleft < HPTS_MSEC_IN_SEC) { in rack_rate_cap_bw() 2283 0, timeleft, 0, HYBRID_LOG_OUTOFTIME, 0, ent, __LINE__); in rack_rate_cap_bw() 2299 0, timeleft, 0, HYBRID_LOG_CAPERROR, 0, ent, __LINE__); in rack_rate_cap_bw() 2318 0, timeleft, lengone, HYBRID_LOG_CAPERROR, 0, ent, __LINE__); in rack_rate_cap_bw() 2326 0, timeleft, lenleft, HYBRID_LOG_ALLSENT, 0, ent, __LINE__); in rack_rate_cap_bw() 2333 calcbw /= timeleft; in rack_rate_cap_bw() 2350 calcbw, timeleft, lenleft, HYBRID_LOG_CAP_CALC, 0, ent, __LINE__); in rack_rate_cap_bw()
|
/freebsd/contrib/ncurses/ |
H A D | NEWS | 12858 was the assumption of !GOOD_SELECT && HAVE_GETTIMEOFDAY in *timeleft
|