Home
last modified time | relevance | path

Searched refs:PySocketModule (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Modules/
Dsocketmodule.h218 PySocketModule_APIObject PySocketModule; variable
237 memcpy(&PySocketModule, api, sizeof(PySocketModule)); in PySocketModule_ImportModuleAndAPI()
D_ssl.c3110 PySocketModule.Sock_Type, in context_wrap_socket()
3116 PySocketModule.Sock_Type, in context_wrap_socket()
4196 PySocketModule.error, NULL); in init_ssl()
/external/python/cpython3/Modules/
D_ssl.c40 static PySocketModule_APIObject PySocketModule; variable
1090 PyErr_SetString(PySocketModule.timeout_error, in _ssl__SSLSocket_do_handshake_impl()
2407 PyErr_SetString(PySocketModule.timeout_error, in _ssl__SSLSocket_write_impl()
2442 PyErr_SetString(PySocketModule.timeout_error, in _ssl__SSLSocket_write_impl()
2597 PyErr_SetString(PySocketModule.timeout_error, in _ssl__SSLSocket_read_impl()
2712 PyErr_SetString(PySocketModule.timeout_error, in _ssl__SSLSocket_shutdown_impl()
2715 PyErr_SetString(PySocketModule.timeout_error, in _ssl__SSLSocket_shutdown_impl()
5996 PySocketModule = *socket_api; in PyInit__ssl()
/external/python/cpython3/Modules/clinic/
D_ssl.c.h692 if (!PyObject_TypeCheck(args[0], PySocketModule.Sock_Type)) { in _ssl__SSLContext__wrap_socket()
693 …_PyArg_BadArgument("_wrap_socket", "argument 'sock'", (PySocketModule.Sock_Type)->tp_name, args[0]… in _ssl__SSLContext__wrap_socket()