Home
last modified time | relevance | path

Searched refs:sockstate (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
D_ssl.c684 int sockstate, nonblocking; in PySSL_SSLdo_handshake() local
704 sockstate = check_socket_and_wait_for_timeout(sock, 0); in PySSL_SSLdo_handshake()
706 sockstate = check_socket_and_wait_for_timeout(sock, 1); in PySSL_SSLdo_handshake()
708 sockstate = SOCKET_OPERATION_OK; in PySSL_SSLdo_handshake()
710 if (sockstate == SOCKET_HAS_TIMED_OUT) { in PySSL_SSLdo_handshake()
714 } else if (sockstate == SOCKET_HAS_BEEN_CLOSED) { in PySSL_SSLdo_handshake()
718 } else if (sockstate == SOCKET_TOO_LARGE_FOR_SELECT) { in PySSL_SSLdo_handshake()
722 } else if (sockstate == SOCKET_IS_NONBLOCKING) { in PySSL_SSLdo_handshake()
1756 int sockstate; in PySSL_SSLwrite() local
1779 sockstate = check_socket_and_wait_for_timeout(sock, 1); in PySSL_SSLwrite()
[all …]
/external/python/cpython3/Modules/
D_ssl.c1057 int sockstate, nonblocking; in _ssl__SSLSocket_do_handshake_impl() local
1097 sockstate = PySSL_select(sock, 0, timeout); in _ssl__SSLSocket_do_handshake_impl()
1099 sockstate = PySSL_select(sock, 1, timeout); in _ssl__SSLSocket_do_handshake_impl()
1101 sockstate = SOCKET_OPERATION_OK; in _ssl__SSLSocket_do_handshake_impl()
1104 if (sockstate == SOCKET_HAS_TIMED_OUT) { in _ssl__SSLSocket_do_handshake_impl()
1108 } else if (sockstate == SOCKET_HAS_BEEN_CLOSED) { in _ssl__SSLSocket_do_handshake_impl()
1112 } else if (sockstate == SOCKET_TOO_LARGE_FOR_SELECT) { in _ssl__SSLSocket_do_handshake_impl()
1116 } else if (sockstate == SOCKET_IS_NONBLOCKING) { in _ssl__SSLSocket_do_handshake_impl()
2386 int sockstate; in _ssl__SSLSocket_write_impl() local
2420 sockstate = PySSL_select(sock, 1, timeout); in _ssl__SSLSocket_write_impl()
[all …]