Searched refs:_Py_set_inheritable (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython3/Include/ |
D | fileutils.h | 165 PyAPI_FUNC(int) _Py_set_inheritable(int fd, int inheritable,
|
/external/python/cpython3/Python/ |
D | fileutils.c | 1140 _Py_set_inheritable(int fd, int inheritable, int *atomic_flag_works) in _Py_set_inheritable() function 1691 if (_Py_set_inheritable(fd, 0, NULL) < 0) { in _Py_dup() 1720 if (_Py_set_inheritable(fd, 0, NULL) < 0) { in _Py_dup()
|
/external/python/cpython3/Modules/ |
D | posixmodule.c | 5954 if (_Py_set_inheritable(master_fd, 0, NULL) < 0) in os_openpty_impl() 5956 if (_Py_set_inheritable(slave_fd, 0, NULL) < 0) in os_openpty_impl() 5963 if (_Py_set_inheritable(master_fd, 0, NULL) < 0) in os_openpty_impl() 5999 if (_Py_set_inheritable(master_fd, 0, NULL) < 0) in os_openpty_impl() 7753 if (_Py_set_inheritable(fd, 0, atomic_flag_works) < 0) { in os_open_impl() 7875 if (!inheritable && _Py_set_inheritable(fd2, 0, NULL) < 0) { in os_dup2_impl() 7920 if (!inheritable && _Py_set_inheritable(fd2, 0, NULL) < 0) { in os_dup2_impl() 8622 if (_Py_set_inheritable(fds[0], 0, NULL) < 0) { in os_pipe_impl() 8627 if (_Py_set_inheritable(fds[1], 0, NULL) < 0) { in os_pipe_impl() 11472 result = _Py_set_inheritable(fd, inheritable, NULL); in os_set_inheritable_impl()
|
D | selectmodule.c | 1285 if (fd == -1 && _Py_set_inheritable(self->epfd, 0, NULL) < 0) { in newPyEpoll_Object() 2027 if (_Py_set_inheritable(self->kqfd, 0, NULL) < 0) { in newKqueue_Object()
|
D | socketmodule.c | 2557 if (_Py_set_inheritable(newfd, 0, NULL) < 0) { in sock_accept() 5067 if (_Py_set_inheritable(fd, 0, atomic_flag_works) < 0) { 5794 if (_Py_set_inheritable(sv[0], 0, atomic_flag_works) < 0) 5796 if (_Py_set_inheritable(sv[1], 0, atomic_flag_works) < 0)
|
D | _cursesmodule.c | 1752 if (_Py_set_inheritable(fileno(fp), 0, NULL) < 0) in PyCursesWindow_PutWin() 2322 if (_Py_set_inheritable(fileno(fp), 0, NULL) < 0) in PyCurses_GetWin()
|
/external/python/cpython3/Modules/_io/ |
D | fileio.c | 426 if (_Py_set_inheritable(self->fd, 0, atomic_flag_works) < 0)
|