Lines Matching refs:tv_sec
1035 sslsock->reneg->prev_handshake = now.tv_sec; in limit_handshake_reneg()
1039 elapsed_time = (now.tv_sec - sslsock->reneg->prev_handshake); in limit_handshake_reneg()
1040 sslsock->reneg->prev_handshake = now.tv_sec; in limit_handshake_reneg()
1789 has_timeout = !sslsock->s.is_blocked && (timeout->tv_sec || timeout->tv_usec); in php_openssl_enable_crypto()
1941 if (!sslsock->s.is_blocked && timeout && (timeout->tv_sec || timeout->tv_usec)) { in php_openssl_sockop_io()
2083 difference.tv_sec = a.tv_sec - b.tv_sec; in subtract_timeval()
2087 b.tv_sec -= 1L; in subtract_timeval()
2096 if (a.tv_sec > b.tv_sec || (a.tv_sec == b.tv_sec && a.tv_usec > b.tv_usec) ) { in compare_timeval()
2098 } else if( a.tv_sec == b.tv_sec && a.tv_usec == b.tv_usec ) { in compare_timeval()
2320 if (sslsock->s.timeout.tv_sec == -1) { in php_openssl_sockop_set_option()
2322 tv.tv_sec = (long)FG(default_socket_timeout); in php_openssl_sockop_set_option()
2324 tv.tv_sec = (time_t)FG(default_socket_timeout); in php_openssl_sockop_set_option()
2331 tv.tv_sec = value; in php_openssl_sockop_set_option()
2548 sslsock->s.timeout.tv_sec = (long)FG(default_socket_timeout); in php_openssl_ssl_socket_factory()
2550 sslsock->s.timeout.tv_sec = (time_t)FG(default_socket_timeout); in php_openssl_ssl_socket_factory()
2555 sslsock->connect_timeout.tv_sec = timeout->tv_sec; in php_openssl_ssl_socket_factory()