Home
last modified time | relevance | path

Searched refs:atomic_flag_works (Results 1 - 5 of 5) sorted by relevance

/third_party/python/Python/
H A Dfileutils.c1329 set_inheritable(int fd, int inheritable, int raise, int *atomic_flag_works) in set_inheritable() argument
1344 /* atomic_flag_works can only be used to make the file descriptor in set_inheritable()
1346 assert(!(atomic_flag_works != NULL && inheritable)); in set_inheritable()
1348 if (atomic_flag_works != NULL && !inheritable) { in set_inheritable()
1349 if (*atomic_flag_works == -1) { in set_inheritable()
1353 *atomic_flag_works = !isInheritable; in set_inheritable()
1356 if (*atomic_flag_works) in set_inheritable()
1473 If atomic_flag_works is not NULL:
1475 * if *atomic_flag_works==-1, check if the inheritable is set on the file
1476 descriptor: if yes, set *atomic_flag_works t
1487 _Py_set_inheritable(int fd, int inheritable, int *atomic_flag_works) _Py_set_inheritable() argument
1496 _Py_set_inheritable_async_safe(int fd, int inheritable, int *atomic_flag_works) _Py_set_inheritable_async_safe() argument
1507 int *atomic_flag_works; _Py_open_impl() local
[all...]
/third_party/python/Include/internal/
H A Dpycore_fileutils.h151 int *atomic_flag_works);
154 int *atomic_flag_works);
/third_party/python/Modules/_io/
H A Dfileio.c237 int *atomic_flag_works = &_Py_open_cloexec_works; local
239 int *atomic_flag_works = NULL; local
398 atomic_flag_works = NULL;
431 if (_Py_set_inheritable(self->fd, 0, atomic_flag_works) < 0)
/third_party/python/Modules/
H A Dsocketmodule.c5192 int *atomic_flag_works = &sock_cloexec_works; local
5194 int *atomic_flag_works = NULL; local
5388 if (_Py_set_inheritable(fd, 0, atomic_flag_works) < 0) {
6113 int *atomic_flag_works = &sock_cloexec_works; local
6115 int *atomic_flag_works = NULL; local
6154 if (_Py_set_inheritable(sv[0], 0, atomic_flag_works) < 0)
6156 if (_Py_set_inheritable(sv[1], 0, atomic_flag_works) < 0)
H A Dposixmodule.c9290 int *atomic_flag_works = &_Py_open_cloexec_works; in os_open_impl() local
9292 int *atomic_flag_works = NULL; in os_open_impl() local
9342 if (_Py_set_inheritable(fd, 0, atomic_flag_works) < 0) { in os_open_impl()

Completed in 36 milliseconds