Searched refs:atomic_flag_works (Results 1 – 5 of 5) sorted by relevance
/third_party/python/Python/ |
D | fileutils.c | 1305 set_inheritable(int fd, int inheritable, int raise, int *atomic_flag_works) in set_inheritable() argument 1322 assert(!(atomic_flag_works != NULL && inheritable)); in set_inheritable() 1324 if (atomic_flag_works != NULL && !inheritable) { in set_inheritable() 1325 if (*atomic_flag_works == -1) { in set_inheritable() 1329 *atomic_flag_works = !isInheritable; in set_inheritable() 1332 if (*atomic_flag_works) in set_inheritable() 1463 _Py_set_inheritable(int fd, int inheritable, int *atomic_flag_works) in _Py_set_inheritable() argument 1465 return set_inheritable(fd, inheritable, 1, atomic_flag_works); in _Py_set_inheritable() 1472 _Py_set_inheritable_async_safe(int fd, int inheritable, int *atomic_flag_works) in _Py_set_inheritable_async_safe() argument 1474 return set_inheritable(fd, inheritable, 0, atomic_flag_works); in _Py_set_inheritable_async_safe() [all …]
|
/third_party/python/Include/cpython/ |
D | fileutils.h | 153 int *atomic_flag_works); 156 int *atomic_flag_works);
|
/third_party/python/Modules/_io/ |
D | fileio.c | 239 int *atomic_flag_works = &_Py_open_cloexec_works; local 241 int *atomic_flag_works = NULL; local 400 atomic_flag_works = NULL; 433 if (_Py_set_inheritable(self->fd, 0, atomic_flag_works) < 0)
|
/third_party/python/Modules/ |
D | socketmodule.c | 5098 int *atomic_flag_works = &sock_cloexec_works; local 5100 int *atomic_flag_works = NULL; local 5297 if (_Py_set_inheritable(fd, 0, atomic_flag_works) < 0) { 6010 int *atomic_flag_works = &sock_cloexec_works; local 6012 int *atomic_flag_works = NULL; local 6051 if (_Py_set_inheritable(sv[0], 0, atomic_flag_works) < 0) 6053 if (_Py_set_inheritable(sv[1], 0, atomic_flag_works) < 0)
|
D | posixmodule.c | 9126 int *atomic_flag_works = &_Py_open_cloexec_works; in os_open_impl() local 9128 int *atomic_flag_works = NULL; in os_open_impl() local 9178 if (_Py_set_inheritable(fd, 0, atomic_flag_works) < 0) { in os_open_impl()
|