| /freebsd/sbin/shutdown/ |
| H A D | shutdown.c | 63 int timeleft, timetowait; member 276 if (tp->timeleft < offset) in loop() 277 (void)sleep((u_int)(offset - tp->timeleft)); in loop() 279 while (tp->timeleft && offset < tp->timeleft) in loop() 285 if ((sltime = offset - tp->timeleft)) { in loop() 293 timewarn(tp->timeleft); in loop() 294 if (!logged && tp->timeleft <= NOLOG_TIME) { in loop() 299 if (!tp->timeleft) in loop() 313 timewarn(int timeleft) in timewarn() argument 333 timeleft ? "": "FINAL ", whom, hostname); in timewarn() [all …]
|
| /freebsd/crypto/krb5/src/lib/ |
| H A D | win_glue.c | 239 long timeleft; in do_timebomb() local 242 timeleft = TIMEBOMB - time(0); in do_timebomb() 243 if (timeleft <= 0) { in do_timebomb() 257 timeleft = timeleft / ((long) 60*60*24); in do_timebomb() 258 if (timeleft < TIMEBOMB_WARN) { in do_timebomb() 261 TIMEBOMB_PRODUCT, timeleft); in do_timebomb()
|
| /freebsd/sys/dev/watchdog/ |
| H A D | watchdog.c | 324 time_t timeleft; in wd_ioctl() local 366 error = wd_get_time_left(td, &timeleft); in wd_ioctl() 369 *(int *)data = (int)timeleft; in wd_ioctl() 396 error = wd_get_time_left(td, &timeleft); in wd_ioctl() 399 *(sbintime_t *)data = (sbintime_t)timeleft * SBT_1S; in wd_ioctl()
|
| /freebsd/crypto/openssl/ssl/ |
| H A D | d1_lib.c | 310 int dtls1_get_timeout(const SSL_CONNECTION *s, OSSL_TIME *timeleft) in dtls1_get_timeout() argument 326 *timeleft = ossl_time_subtract(s->d1->next_timeout, timenow); in dtls1_get_timeout() 327 if (ossl_time_compare(*timeleft, ossl_ms2time(15)) <= 0) in dtls1_get_timeout() 328 *timeleft = ossl_time_zero(); in dtls1_get_timeout() 334 OSSL_TIME timeleft; in dtls1_is_timer_expired() local 337 if (!dtls1_get_timeout(s, &timeleft)) in dtls1_is_timer_expired() 341 if (!ossl_time_is_zero(timeleft)) in dtls1_is_timer_expired()
|
| H A D | ssl_local.h | 2740 __owur int dtls1_get_timeout(const SSL_CONNECTION *s, OSSL_TIME *timeleft);
|
| /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 | 699 int timeleft = forever ? 9999999 : GetEscdelay(sp); in kgetch() local 761 rc = check_mouse_activity(sp, timeleft EVENTLIST_2nd(evl)); in kgetch()
|
| /freebsd/crypto/openssl/crypto/bio/ |
| H A D | bss_dgram.c | 316 OSSL_TIME timeleft; in dgram_adjust_rcv_timeout() local 344 timeleft = ossl_time_subtract(data->next_timeout, ossl_time_now()); in dgram_adjust_rcv_timeout() 345 if (ossl_time_compare(timeleft, ossl_ticks2time(OSSL_TIME_US)) < 0) in dgram_adjust_rcv_timeout() 346 timeleft = ossl_ticks2time(OSSL_TIME_US); in dgram_adjust_rcv_timeout() 353 || ossl_time_compare(data->socket_timeout, timeleft) >= 0) { in dgram_adjust_rcv_timeout() 355 timeout = (int)ossl_time2ms(timeleft); in dgram_adjust_rcv_timeout() 362 tv = ossl_time_to_timeval(timeleft); in dgram_adjust_rcv_timeout()
|
| /freebsd/contrib/ncurses/ncurses/tinfo/ |
| H A D | lib_win32con.c | 822 int *timeleft in _nc_console_twait() 978 if (timeleft) in _nc_console_twait() 979 *timeleft = milliseconds; in _nc_console_twait()
|
| H A D | tinfo_driver.c | 1266 int *timeleft in drv_twait() 1278 timeleft EVENTLIST_2nd(evl)); in drv_twait() 1280 return _nc_timed_wait(sp, mode, milliseconds, timeleft EVENTLIST_2nd(evl)); in drv_twait()
|
| /freebsd/contrib/ncurses/ncurses/win32con/ |
| H A D | win32_driver.c | 1063 int *timeleft in wcon_twait() 1076 timeleft EVENTLIST_2nd(evl)); in wcon_twait()
|
| /freebsd/contrib/ncurses/ncurses/ |
| H A D | llib-ltinfow | 1370 int *timeleft)
|
| H A D | llib-ltinfo | 1337 int *timeleft)
|
| H A D | llib-ltinfot | 1438 int *timeleft)
|
| H A D | llib-ltinfotw | 1471 int *timeleft)
|
| H A D | llib-lncursest | 4176 int *timeleft)
|
| H A D | llib-lncurses | 4066 int *timeleft)
|
| H A D | llib-lncursestw | 5148 int *timeleft)
|
| H A D | llib-lncursesw | 5038 int *timeleft)
|
| /freebsd/sys/netinet/tcp_stacks/ |
| H A D | rack.c | 2103 uint64_t timenow, timeleft, lenleft, lengone, calcbw; in rack_rate_cap_bw() local 2129 timeleft = rack->r_ctl.rc_last_sft->deadline - timenow; in rack_rate_cap_bw() 2130 if (timeleft < HPTS_MSEC_IN_SEC) { in rack_rate_cap_bw() 2133 0, timeleft, 0, HYBRID_LOG_OUTOFTIME, 0, ent, __LINE__); in rack_rate_cap_bw() 2149 0, timeleft, 0, HYBRID_LOG_CAPERROR, 0, ent, __LINE__); in rack_rate_cap_bw() 2168 0, timeleft, lengone, HYBRID_LOG_CAPERROR, 0, ent, __LINE__); in rack_rate_cap_bw() 2176 0, timeleft, lenleft, HYBRID_LOG_ALLSENT, 0, ent, __LINE__); in rack_rate_cap_bw() 2183 calcbw /= timeleft; in rack_rate_cap_bw() 2200 calcbw, timeleft, lenleft, HYBRID_LOG_CAP_CALC, 0, ent, __LINE__); in rack_rate_cap_bw()
|
| /freebsd/contrib/ncurses/ |
| H A D | NEWS | 13427 was the assumption of !GOOD_SELECT && HAVE_GETTIMEOFDAY in *timeleft
|