Lines Matching refs:elapsed_time
1072 zend_long elapsed_time; in php_openssl_limit_handshake_reneg() local
1084 elapsed_time = (now.tv_sec - sslsock->reneg->prev_handshake); in php_openssl_limit_handshake_reneg()
1086 sslsock->reneg->tokens -= (elapsed_time * (sslsock->reneg->limit / sslsock->reneg->window)); in php_openssl_limit_handshake_reneg()
1880 struct timeval cur_time, elapsed_time; in php_openssl_enable_crypto() local
1891 elapsed_time = php_openssl_subtract_timeval(cur_time, start_time); in php_openssl_enable_crypto()
1893 if (php_openssl_compare_timeval( elapsed_time, *timeout) > 0) { in php_openssl_enable_crypto()
1909 left_time = php_openssl_subtract_timeval(*timeout, elapsed_time); in php_openssl_enable_crypto()
2015 struct timeval cur_time, elapsed_time, left_time; in php_openssl_sockop_io() local
2022 elapsed_time = php_openssl_subtract_timeval(cur_time, start_time); in php_openssl_sockop_io()
2025 if (php_openssl_compare_timeval(elapsed_time, *timeout) > 0 ) { in php_openssl_sockop_io()
2054 left_time = php_openssl_subtract_timeval( *timeout, elapsed_time ); in php_openssl_sockop_io()