Home
last modified time | relevance | path

Searched refs:next_timeout (Results 1 – 7 of 7) sorted by relevance

/external/boringssl/src/ssl/
Dd1_lib.cc122 if (ssl->d1->next_timeout.tv_sec == 0 && ssl->d1->next_timeout.tv_usec == 0) { in dtls1_start_timer()
127 ssl_get_current_time(ssl, &ssl->d1->next_timeout); in dtls1_start_timer()
130 ssl->d1->next_timeout.tv_sec += ssl->d1->timeout_duration_ms / 1000; in dtls1_start_timer()
131 ssl->d1->next_timeout.tv_usec += (ssl->d1->timeout_duration_ms % 1000) * 1000; in dtls1_start_timer()
132 if (ssl->d1->next_timeout.tv_usec >= 1000000) { in dtls1_start_timer()
133 ssl->d1->next_timeout.tv_sec++; in dtls1_start_timer()
134 ssl->d1->next_timeout.tv_usec -= 1000000; in dtls1_start_timer()
164 OPENSSL_memset(&ssl->d1->next_timeout, 0, sizeof(ssl->d1->next_timeout)); in dtls1_stop_timer()
204 if (ssl->d1->next_timeout.tv_sec == 0 && ssl->d1->next_timeout.tv_usec == 0) { in DTLSv1_get_timeout()
212 if (ssl->d1->next_timeout.tv_sec < timenow.tv_sec || in DTLSv1_get_timeout()
[all …]
Dinternal.h2446 struct OPENSSL_timeval next_timeout = {0, 0};
/external/webrtc/webrtc/base/
Dtaskrunner.cc214 int64_t next_timeout = next_task_timeout(); in CheckForTimeoutChange() local
215 bool timeout_change = (previous_timeout_time == 0 && next_timeout != 0) || in CheckForTimeoutChange()
216 next_timeout < previous_timeout_time || in CheckForTimeoutChange()
218 previous_timeout_time != next_timeout); in CheckForTimeoutChange()
/external/grpc-grpc/src/core/lib/backoff/
Dbackoff.cc66 const grpc_millis next_timeout = in NextAttemptTime() local
68 return next_timeout + grpc_core::ExecCtx::Get()->Now(); in NextAttemptTime()
/external/libkmsxx/py/tests/
Dsync.py39 def next_timeout(_class): member in Timer
221 timeout = Timer.next_timeout()
/external/libusb/libusb/
Dio.c2553 struct timeval next_timeout = { 0, 0 }; in libusb_get_next_timeout() local
2576 next_timeout = transfer->timeout; in libusb_get_next_timeout()
2581 if (!timerisset(&next_timeout)) { in libusb_get_next_timeout()
2593 if (!timercmp(&cur_tv, &next_timeout, <)) { in libusb_get_next_timeout()
2597 timersub(&next_timeout, &cur_tv, tv); in libusb_get_next_timeout()
/external/scapy/scapy/
Dautomaton.py801 next_timeout,timeout_func = next(expirations)
811 if next_timeout is not None:
812 if next_timeout <= t:
814 next_timeout,timeout_func = next(expirations)
815 if next_timeout is None:
818 remain = next_timeout-t