Searched refs:atomic_flag_works (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Python/ |
D | fileutils.c | 781 set_inheritable(int fd, int inheritable, int raise, int *atomic_flag_works) in set_inheritable() argument 798 assert(!(atomic_flag_works != NULL && inheritable)); in set_inheritable() 800 if (atomic_flag_works != NULL && !inheritable) { in set_inheritable() 801 if (*atomic_flag_works == -1) { in set_inheritable() 805 *atomic_flag_works = !isInheritable; in set_inheritable() 808 if (*atomic_flag_works) in set_inheritable() 925 _Py_set_inheritable(int fd, int inheritable, int *atomic_flag_works) in _Py_set_inheritable() argument 927 return set_inheritable(fd, inheritable, 1, atomic_flag_works); in _Py_set_inheritable() 936 int *atomic_flag_works; in _Py_open_impl() local 942 atomic_flag_works = &_Py_open_cloexec_works; in _Py_open_impl() [all …]
|
/external/python/cpython3/Modules/_io/ |
D | fileio.c | 246 int *atomic_flag_works = &_Py_open_cloexec_works; local 248 int *atomic_flag_works = NULL; local 403 atomic_flag_works = NULL; 436 if (_Py_set_inheritable(self->fd, 0, atomic_flag_works) < 0)
|
/external/python/cpython3/Include/ |
D | fileutils.h | 112 int *atomic_flag_works);
|
/external/python/cpython3/Modules/ |
D | socketmodule.c | 4658 int *atomic_flag_works = &sock_cloexec_works; local 4660 int *atomic_flag_works = NULL; local 4770 if (_Py_set_inheritable(fd, 0, atomic_flag_works) < 0) { 5430 int *atomic_flag_works = &sock_cloexec_works; local 5432 int *atomic_flag_works = NULL; local 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 | posixmodule.c | 7554 int *atomic_flag_works = &_Py_open_cloexec_works; in os_open_impl() local 7556 int *atomic_flag_works = NULL; in os_open_impl() local 7589 if (_Py_set_inheritable(fd, 0, atomic_flag_works) < 0) { in os_open_impl()
|