Home
last modified time | relevance | path

Searched refs:_Py_set_inheritable (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Include/cpython/
Dfileutils.h152 PyAPI_FUNC(int) _Py_set_inheritable(int fd, int inheritable,
/third_party/python/Python/
Dfileutils.c1463 _Py_set_inheritable(int fd, int inheritable, int *atomic_flag_works) in _Py_set_inheritable() function
2136 if (_Py_set_inheritable(fd, 0, NULL) < 0) { in _Py_dup()
2164 if (_Py_set_inheritable(fd, 0, NULL) < 0) { in _Py_dup()
/third_party/python/Modules/_io/
Dfileio.c433 if (_Py_set_inheritable(self->fd, 0, atomic_flag_works) < 0)
/third_party/python/Modules/
Dselectmodule.c1278 if (fd == -1 && _Py_set_inheritable(self->epfd, 0, NULL) < 0) { in newPyEpoll_Object()
1961 if (_Py_set_inheritable(self->kqfd, 0, NULL) < 0) { in newKqueue_Object()
Dposixmodule.c7250 if (_Py_set_inheritable(master_fd, 0, NULL) < 0) in os_openpty_impl()
7252 if (_Py_set_inheritable(slave_fd, 0, NULL) < 0) in os_openpty_impl()
7259 if (_Py_set_inheritable(master_fd, 0, NULL) < 0) in os_openpty_impl()
7295 if (_Py_set_inheritable(master_fd, 0, NULL) < 0) in os_openpty_impl()
9178 if (_Py_set_inheritable(fd, 0, atomic_flag_works) < 0) { in os_open_impl()
9295 if (!inheritable && _Py_set_inheritable(fd2, 0, NULL) < 0) { in os_dup2_impl()
9340 if (!inheritable && _Py_set_inheritable(fd2, 0, NULL) < 0) { in os_dup2_impl()
10140 if (_Py_set_inheritable(fds[0], 0, NULL) < 0) { in os_pipe_impl()
10145 if (_Py_set_inheritable(fds[1], 0, NULL) < 0) { in os_pipe_impl()
13298 result = _Py_set_inheritable(fd, inheritable, NULL); in os_set_inheritable_impl()
D_cursesmodule.c2165 if (_Py_set_inheritable(fileno(fp), 0, NULL) < 0) in _curses_window_putwin()
3057 if (_Py_set_inheritable(fileno(fp), 0, NULL) < 0) in _curses_getwin()
Dsocketmodule.c2736 if (_Py_set_inheritable(newfd, 0, NULL) < 0) { in sock_accept()
5297 if (_Py_set_inheritable(fd, 0, atomic_flag_works) < 0) {
6051 if (_Py_set_inheritable(sv[0], 0, atomic_flag_works) < 0)
6053 if (_Py_set_inheritable(sv[1], 0, atomic_flag_works) < 0)