Lines Matching refs:tv_sec
1128 sslsock->reneg->prev_handshake = now.tv_sec; in php_openssl_limit_handshake_reneg()
1132 elapsed_time = (now.tv_sec - sslsock->reneg->prev_handshake); in php_openssl_limit_handshake_reneg()
1133 sslsock->reneg->prev_handshake = now.tv_sec; in php_openssl_limit_handshake_reneg()
1936 …has_timeout = !sslsock->s.is_blocked && (timeout->tv_sec > 0 || (timeout->tv_sec == 0 && timeout->… in php_openssl_enable_crypto()
2070 …if (!sslsock->s.is_blocked && timeout && (timeout->tv_sec > 0 || (timeout->tv_sec == 0 && timeout-… in php_openssl_sockop_io()
2211 difference.tv_sec = a.tv_sec - b.tv_sec; in php_openssl_subtract_timeval()
2215 difference.tv_sec -= 1L; in php_openssl_subtract_timeval()
2225 if (a.tv_sec > b.tv_sec || (a.tv_sec == b.tv_sec && a.tv_usec > b.tv_usec) ) { in php_openssl_compare_timeval()
2227 } else if( a.tv_sec == b.tv_sec && a.tv_usec == b.tv_usec ) { in php_openssl_compare_timeval()
2454 if (sslsock->s.timeout.tv_sec == -1) { in php_openssl_sockop_set_option()
2456 tv.tv_sec = (long)FG(default_socket_timeout); in php_openssl_sockop_set_option()
2458 tv.tv_sec = (time_t)FG(default_socket_timeout); in php_openssl_sockop_set_option()
2465 tv.tv_sec = value; in php_openssl_sockop_set_option()
2498 …if (!sslsock->s.is_blocked && timeout && (timeout->tv_sec > 0 || (timeout->tv_sec == 0 && timeout-… in php_openssl_sockop_set_option()
2780 sslsock->s.timeout.tv_sec = (long)FG(default_socket_timeout); in php_openssl_ssl_socket_factory()
2782 sslsock->s.timeout.tv_sec = (time_t)FG(default_socket_timeout); in php_openssl_ssl_socket_factory()
2787 sslsock->connect_timeout.tv_sec = timeout->tv_sec; in php_openssl_ssl_socket_factory()