• Home
  • Raw
  • Download

Lines Matching refs:sockstate

684     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()
1780 if (sockstate == SOCKET_HAS_TIMED_OUT) { in PySSL_SSLwrite()
1784 } else if (sockstate == SOCKET_HAS_BEEN_CLOSED) { in PySSL_SSLwrite()
1788 } else if (sockstate == SOCKET_TOO_LARGE_FOR_SELECT) { in PySSL_SSLwrite()
1802 sockstate = check_socket_and_wait_for_timeout(sock, 0); in PySSL_SSLwrite()
1804 sockstate = check_socket_and_wait_for_timeout(sock, 1); in PySSL_SSLwrite()
1806 sockstate = SOCKET_OPERATION_OK; in PySSL_SSLwrite()
1808 if (sockstate == SOCKET_HAS_TIMED_OUT) { in PySSL_SSLwrite()
1812 } else if (sockstate == SOCKET_HAS_BEEN_CLOSED) { in PySSL_SSLwrite()
1816 } else if (sockstate == SOCKET_IS_NONBLOCKING) { in PySSL_SSLwrite()
1866 int sockstate; in PySSL_SSLread() local
1922 sockstate = check_socket_and_wait_for_timeout(sock, 0); in PySSL_SSLread()
1924 sockstate = check_socket_and_wait_for_timeout(sock, 1); in PySSL_SSLread()
1932 sockstate = SOCKET_OPERATION_OK; in PySSL_SSLread()
1934 if (sockstate == SOCKET_HAS_TIMED_OUT) { in PySSL_SSLread()
1938 } else if (sockstate == SOCKET_IS_NONBLOCKING) { in PySSL_SSLread()
1974 int err, ssl_err, sockstate, nonblocking; in PySSL_SSLshutdown() local
2022 sockstate = check_socket_and_wait_for_timeout(sock, 0); in PySSL_SSLshutdown()
2024 sockstate = check_socket_and_wait_for_timeout(sock, 1); in PySSL_SSLshutdown()
2027 if (sockstate == SOCKET_HAS_TIMED_OUT) { in PySSL_SSLshutdown()
2036 else if (sockstate == SOCKET_TOO_LARGE_FOR_SELECT) { in PySSL_SSLshutdown()
2041 else if (sockstate != SOCKET_OPERATION_OK) in PySSL_SSLshutdown()