Searched refs:timeleft (Results 1 – 7 of 7) sorted by relevance
/third_party/node/deps/openssl/openssl/ssl/ |
D | d1_lib.c | 287 struct timeval *dtls1_get_timeout(SSL *s, struct timeval *timeleft) in dtls1_get_timeout() argument 303 memset(timeleft, 0, sizeof(*timeleft)); in dtls1_get_timeout() 304 return timeleft; in dtls1_get_timeout() 308 memcpy(timeleft, &(s->d1->next_timeout), sizeof(struct timeval)); in dtls1_get_timeout() 309 timeleft->tv_sec -= timenow.tv_sec; in dtls1_get_timeout() 310 timeleft->tv_usec -= timenow.tv_usec; in dtls1_get_timeout() 311 if (timeleft->tv_usec < 0) { in dtls1_get_timeout() 312 timeleft->tv_sec--; in dtls1_get_timeout() 313 timeleft->tv_usec += 1000000; in dtls1_get_timeout() 320 if (timeleft->tv_sec == 0 && timeleft->tv_usec < 15000) { in dtls1_get_timeout() [all …]
|
D | ssl_local.h | 2623 __owur struct timeval *dtls1_get_timeout(SSL *s, struct timeval *timeleft);
|
/third_party/openssl/ssl/ |
D | d1_lib.c | 287 struct timeval *dtls1_get_timeout(SSL *s, struct timeval *timeleft) in dtls1_get_timeout() argument 303 memset(timeleft, 0, sizeof(*timeleft)); in dtls1_get_timeout() 304 return timeleft; in dtls1_get_timeout() 308 memcpy(timeleft, &(s->d1->next_timeout), sizeof(struct timeval)); in dtls1_get_timeout() 309 timeleft->tv_sec -= timenow.tv_sec; in dtls1_get_timeout() 310 timeleft->tv_usec -= timenow.tv_usec; in dtls1_get_timeout() 311 if (timeleft->tv_usec < 0) { in dtls1_get_timeout() 312 timeleft->tv_sec--; in dtls1_get_timeout() 313 timeleft->tv_usec += 1000000; in dtls1_get_timeout() 320 if (timeleft->tv_sec == 0 && timeleft->tv_usec < 15000) { in dtls1_get_timeout() [all …]
|
D | ssl_local.h | 2567 __owur struct timeval *dtls1_get_timeout(SSL *s, struct timeval *timeleft);
|
/third_party/openssl/crypto/bio/ |
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 …]
|
/third_party/node/deps/openssl/openssl/crypto/bio/ |
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 …]
|
/third_party/curl/tests/ |
D | runtests.pl | 1727 my $timeleft=sprintf("remaining: %02d:%02d", 1735 $count, $total, $timeleft, $took, $duration);
|