Searched refs:_Py_set_inheritable (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Modules/ |
D | _posixsubprocess.c | 169 if (_Py_set_inheritable((int)fd, 1, NULL) < 0) in make_inheritable() 432 if (_Py_set_inheritable(p2cread, 1, NULL) < 0) in child_exec() 439 if (_Py_set_inheritable(c2pwrite, 1, NULL) < 0) in child_exec() 446 if (_Py_set_inheritable(errwrite, 1, NULL) < 0) in child_exec()
|
D | posixmodule.c | 5797 if (_Py_set_inheritable(master_fd, 0, NULL) < 0) in os_openpty_impl() 5799 if (_Py_set_inheritable(slave_fd, 0, NULL) < 0) in os_openpty_impl() 5806 if (_Py_set_inheritable(master_fd, 0, NULL) < 0) in os_openpty_impl() 5842 if (_Py_set_inheritable(master_fd, 0, NULL) < 0) in os_openpty_impl() 7589 if (_Py_set_inheritable(fd, 0, atomic_flag_works) < 0) { in os_open_impl() 7706 if (!inheritable && _Py_set_inheritable(fd2, 0, NULL) < 0) { in os_dup2_impl() 7745 if (!inheritable && _Py_set_inheritable(fd2, 0, NULL) < 0) { in os_dup2_impl() 8341 if (_Py_set_inheritable(fds[0], 0, NULL) < 0) { 8346 if (_Py_set_inheritable(fds[1], 0, NULL) < 0) { 11042 result = _Py_set_inheritable(fd, inheritable, NULL);
|
D | selectmodule.c | 1285 if (fd == -1 && _Py_set_inheritable(self->epfd, 0, NULL) < 0) { in newPyEpoll_Object() 2014 if (_Py_set_inheritable(self->kqfd, 0, NULL) < 0) { in newKqueue_Object()
|
D | socketmodule.c | 2406 if (_Py_set_inheritable(newfd, 0, NULL) < 0) { in sock_accept() 4770 if (_Py_set_inheritable(fd, 0, atomic_flag_works) < 0) { 5471 if (_Py_set_inheritable(sv[0], 0, atomic_flag_works) < 0) 5473 if (_Py_set_inheritable(sv[1], 0, atomic_flag_works) < 0)
|
D | _cursesmodule.c | 1737 if (_Py_set_inheritable(fd, 0, NULL) < 0) in PyCursesWindow_PutWin() 2302 if (_Py_set_inheritable(fd, 0, NULL) < 0) in PyCurses_GetWin()
|
/external/python/cpython3/Include/ |
D | fileutils.h | 111 PyAPI_FUNC(int) _Py_set_inheritable(int fd, int inheritable,
|
/external/python/cpython3/Python/ |
D | fileutils.c | 925 _Py_set_inheritable(int fd, int inheritable, int *atomic_flag_works) in _Py_set_inheritable() function 1491 if (_Py_set_inheritable(fd, 0, NULL) < 0) { in _Py_dup() 1520 if (_Py_set_inheritable(fd, 0, NULL) < 0) { in _Py_dup()
|
/external/python/cpython3/Modules/_io/ |
D | fileio.c | 436 if (_Py_set_inheritable(self->fd, 0, atomic_flag_works) < 0)
|