Searched refs:_Py_set_inheritable (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython3/Include/ |
D | fileutils.h | 166 PyAPI_FUNC(int) _Py_set_inheritable(int fd, int inheritable,
|
/external/python/cpython3/Python/ |
D | fileutils.c | 1244 _Py_set_inheritable(int fd, int inheritable, int *atomic_flag_works) in _Py_set_inheritable() function 1814 if (_Py_set_inheritable(fd, 0, NULL) < 0) { in _Py_dup() 1842 if (_Py_set_inheritable(fd, 0, NULL) < 0) { in _Py_dup()
|
/external/python/cpython3/Modules/ |
D | posixmodule.c | 6589 if (_Py_set_inheritable(master_fd, 0, NULL) < 0) in os_openpty_impl() 6591 if (_Py_set_inheritable(slave_fd, 0, NULL) < 0) in os_openpty_impl() 6598 if (_Py_set_inheritable(master_fd, 0, NULL) < 0) in os_openpty_impl() 6634 if (_Py_set_inheritable(master_fd, 0, NULL) < 0) in os_openpty_impl() 8384 if (_Py_set_inheritable(fd, 0, atomic_flag_works) < 0) { in os_open_impl() 8531 if (!inheritable && _Py_set_inheritable(fd2, 0, NULL) < 0) { in os_dup2_impl() 8576 if (!inheritable && _Py_set_inheritable(fd2, 0, NULL) < 0) { in os_dup2_impl() 9303 if (_Py_set_inheritable(fds[0], 0, NULL) < 0) { in os_pipe_impl() 9308 if (_Py_set_inheritable(fds[1], 0, NULL) < 0) { in os_pipe_impl() 12265 result = _Py_set_inheritable(fd, inheritable, NULL); in os_set_inheritable_impl()
|
D | selectmodule.c | 1258 if (fd == -1 && _Py_set_inheritable(self->epfd, 0, NULL) < 0) { in newPyEpoll_Object() 1920 if (_Py_set_inheritable(self->kqfd, 0, NULL) < 0) { in newKqueue_Object()
|
D | _cursesmodule.c | 2026 if (_Py_set_inheritable(fileno(fp), 0, NULL) < 0) in _curses_window_putwin() 2918 if (_Py_set_inheritable(fileno(fp), 0, NULL) < 0) in _curses_getwin()
|
D | socketmodule.c | 2698 if (_Py_set_inheritable(newfd, 0, NULL) < 0) { in sock_accept() 5264 if (_Py_set_inheritable(fd, 0, atomic_flag_works) < 0) { 6018 if (_Py_set_inheritable(sv[0], 0, atomic_flag_works) < 0) 6020 if (_Py_set_inheritable(sv[1], 0, atomic_flag_works) < 0)
|
/external/python/cpython3/Modules/_io/ |
D | fileio.c | 432 if (_Py_set_inheritable(self->fd, 0, atomic_flag_works) < 0)
|