Home
last modified time | relevance | path

Searched refs:async_err (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython3/Modules/_multiprocessing/
Dposixshmem.c44 int async_err = 0; in _posixshmem_shm_open_impl() local
53 } while (fd < 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in _posixshmem_shm_open_impl()
56 if (!async_err) in _posixshmem_shm_open_impl()
83 int async_err = 0; in _posixshmem_shm_unlink_impl() local
92 } while (rv < 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in _posixshmem_shm_unlink_impl()
95 if (!async_err) in _posixshmem_shm_unlink_impl()
/external/python/cpython3/Modules/
Dfcntlmodule.c67 int async_err = 0; in fcntl_fcntl_impl() local
87 } while (ret == -1 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in fcntl_fcntl_impl()
89 return !async_err ? PyErr_SetFromErrno(PyExc_OSError) : NULL; in fcntl_fcntl_impl()
108 } while (ret == -1 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in fcntl_fcntl_impl()
110 return !async_err ? PyErr_SetFromErrno(PyExc_OSError) : NULL; in fcntl_fcntl_impl()
298 int async_err = 0; in fcntl_flock_impl() local
309 } while (ret == -1 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in fcntl_flock_impl()
336 } while (ret == -1 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in fcntl_flock_impl()
340 return !async_err ? PyErr_SetFromErrno(PyExc_OSError) : NULL; in fcntl_flock_impl()
386 int async_err = 0; in fcntl_lockf_impl() local
[all …]
Dposixmodule.c1697 int async_err = 0; in posix_fildes_fd() local
1705 } while (res != 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in posix_fildes_fd()
1707 return (!async_err) ? posix_error() : NULL; in posix_fildes_fd()
3278 int async_err = 0; in os_fchmod_impl() local
3288 } while (res != 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in os_fchmod_impl()
3290 return (!async_err) ? posix_error() : NULL; in os_fchmod_impl()
3621 int async_err = 0; in os_fchown_impl() local
3631 } while (res != 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in os_fchown_impl()
3633 return (!async_err) ? posix_error() : NULL; in os_fchown_impl()
6221 int async_err = 0; in _rtp_spawn() local
[all …]
Dsignalmodule.c1139 int async_err = 0; in signal_sigwaitinfo_impl() local
1146 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in signal_sigwaitinfo_impl()
1148 return (!async_err) ? PyErr_SetFromErrno(PyExc_OSError) : NULL; in signal_sigwaitinfo_impl()
Dselectmodule.c599 int async_err = 0; in select_poll_poll_impl() local
648 async_err = 0; in select_poll_poll_impl()
660 async_err = 1; in select_poll_poll_impl()
678 if (!async_err) in select_poll_poll_impl()
/external/python/cpython3/Python/
Dfileutils.c1262 int async_err = 0; in _Py_open_impl() local
1291 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in _Py_open_impl()
1292 if (async_err) { in _Py_open_impl()
1434 int async_err = 0; in _Py_fopen_obj() local
1467 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in _Py_fopen_obj()
1488 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in _Py_fopen_obj()
1492 if (async_err) in _Py_fopen_obj()
1525 int async_err = 0; in _Py_read() local
1552 !(async_err = PyErr_CheckSignals())); in _Py_read()
1555 if (async_err) { in _Py_read()
[all …]
/external/python/cpython3/Modules/_io/
Dfileio.c245 int async_err = 0; local
389 !(async_err = PyErr_CheckSignals()));
391 if (async_err)