Searched refs:atomic_flag_works (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Python/ |
D | fileutils.c | 995 set_inheritable(int fd, int inheritable, int raise, int *atomic_flag_works) in set_inheritable() argument 1012 assert(!(atomic_flag_works != NULL && inheritable)); in set_inheritable() 1014 if (atomic_flag_works != NULL && !inheritable) { in set_inheritable() 1015 if (*atomic_flag_works == -1) { in set_inheritable() 1019 *atomic_flag_works = !isInheritable; in set_inheritable() 1022 if (*atomic_flag_works) in set_inheritable() 1140 _Py_set_inheritable(int fd, int inheritable, int *atomic_flag_works) in _Py_set_inheritable() argument 1142 return set_inheritable(fd, inheritable, 1, atomic_flag_works); in _Py_set_inheritable() 1149 _Py_set_inheritable_async_safe(int fd, int inheritable, int *atomic_flag_works) in _Py_set_inheritable_async_safe() argument 1151 return set_inheritable(fd, inheritable, 0, atomic_flag_works); in _Py_set_inheritable_async_safe() [all …]
|
/external/python/cpython3/Include/ |
D | fileutils.h | 166 int *atomic_flag_works); 169 int *atomic_flag_works);
|
/external/python/cpython3/Modules/_io/ |
D | fileio.c | 237 int *atomic_flag_works = &_Py_open_cloexec_works; local 239 int *atomic_flag_works = NULL; local 393 atomic_flag_works = NULL; 426 if (_Py_set_inheritable(self->fd, 0, atomic_flag_works) < 0)
|
/external/python/cpython3/Modules/ |
D | socketmodule.c | 4888 int *atomic_flag_works = &sock_cloexec_works; local 4890 int *atomic_flag_works = NULL; local 5067 if (_Py_set_inheritable(fd, 0, atomic_flag_works) < 0) { 5753 int *atomic_flag_works = &sock_cloexec_works; local 5755 int *atomic_flag_works = NULL; local 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 | posixmodule.c | 7718 int *atomic_flag_works = &_Py_open_cloexec_works; in os_open_impl() local 7720 int *atomic_flag_works = NULL; in os_open_impl() local 7753 if (_Py_set_inheritable(fd, 0, atomic_flag_works) < 0) { in os_open_impl()
|