Searched refs:fdobj (Results 1 - 5 of 5) sorted by relevance
/third_party/python/Modules/clinic/ |
H A D | socketmodule.c.h | 7 PyObject *fdobj); 22 PyObject *fdobj = NULL; in sock_initobj() local 58 fdobj = fastargs[3]; in sock_initobj() 60 return_value = sock_initobj_impl((PySocketSockObject *)self, family, type, proto, fdobj); in sock_initobj()
|
/third_party/python/Modules/_io/ |
H A D | fileio.c | 394 PyObject *fdobj; local 401 fdobj = PyObject_CallFunction(opener, "Oi", nameobj, flags); 402 if (fdobj == NULL) 404 if (!PyLong_Check(fdobj)) { 405 Py_DECREF(fdobj); 411 self->fd = _PyLong_AsInt(fdobj); 412 Py_DECREF(fdobj);
|
/third_party/python/Modules/ |
H A D | _posixsubprocess.c | 179 PyObject* fdobj = PyTuple_GET_ITEM(py_fds_to_keep, i); in convert_fds_to_keep_to_c() local 180 long fd = PyLong_AsLong(fdobj); in convert_fds_to_keep_to_c()
|
H A D | socketmodule.c | 5179 fileno as fdobj: object = NULL 5184 PyObject *fdobj) 5200 if (fdobj == NULL || fdobj == Py_None) 5209 if (fdobj != NULL && fdobj != Py_None) { 5212 if (PyBytes_Check(fdobj)) { 5214 if (PyBytes_GET_SIZE(fdobj) != sizeof(info)) { 5220 memcpy(&info, PyBytes_AS_STRING(fdobj), sizeof(info)); 5243 fd = PyLong_AsSocket_t(fdobj); 5183 sock_initobj_impl(PySocketSockObject *self, int family, int type, int proto, PyObject *fdobj) global() argument 6022 socket_close(PyObject *self, PyObject *fdobj) global() argument 6051 socket_dup(PyObject *self, PyObject *fdobj) global() argument [all...] |
H A D | signalmodule.c | 759 PyObject *fdobj; local 767 &fdobj, &warn_on_full_buffer)) 770 sockfd = PyLong_AsSocket_t(fdobj);
|
Completed in 13 milliseconds