Searched refs:next_timeout (Results 1 – 9 of 9) sorted by relevance
/external/boringssl/src/ssl/ |
D | d1_lib.cc | 122 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 …]
|
D | internal.h | 2652 struct OPENSSL_timeval next_timeout = {0, 0};
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/ |
D | d1_lib.cc | 122 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 …]
|
D | internal.h | 2612 struct OPENSSL_timeval next_timeout = {0, 0};
|
/external/grpc-grpc/src/core/lib/backoff/ |
D | backoff.cc | 66 const grpc_millis next_timeout = in NextAttemptTime() local 68 return next_timeout + grpc_core::ExecCtx::Get()->Now(); in NextAttemptTime()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/backoff/ |
D | backoff.cc | 66 const grpc_millis next_timeout = in NextAttemptTime() local 68 return next_timeout + grpc_core::ExecCtx::Get()->Now(); in NextAttemptTime()
|
/external/libusb/libusb/ |
D | io.c | 2548 struct timespec next_timeout = { 0, 0 }; in libusb_get_next_timeout() local 2570 next_timeout = itransfer->timeout; in libusb_get_next_timeout() 2575 if (!TIMESPEC_IS_SET(&next_timeout)) { in libusb_get_next_timeout() 2582 if (!TIMESPEC_CMP(&systime, &next_timeout, <)) { in libusb_get_next_timeout() 2586 TIMESPEC_SUB(&next_timeout, &systime, &next_timeout); in libusb_get_next_timeout() 2587 TIMESPEC_TO_TIMEVAL(tv, &next_timeout); in libusb_get_next_timeout()
|
/external/libkmsxx/py/tests/ |
D | sync.py | 39 def next_timeout(_class): member in Timer 221 timeout = Timer.next_timeout()
|
/external/scapy/scapy/ |
D | automaton.py | 801 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
|