Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_multiprocessing/
Dposixshmem.c50 int async_err = 0; in _posixshmem_shm_open_impl() local
64 } while (fd < 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in _posixshmem_shm_open_impl()
67 if (!async_err) in _posixshmem_shm_open_impl()
94 int async_err = 0; in _posixshmem_shm_unlink_impl() local
108 } while (rv < 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in _posixshmem_shm_unlink_impl()
111 if (!async_err) in _posixshmem_shm_unlink_impl()
/external/python/cpython3/Modules/
Dfcntlmodule.c62 int async_err = 0; in fcntl_fcntl_impl() local
82 } while (ret == -1 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in fcntl_fcntl_impl()
84 return !async_err ? PyErr_SetFromErrno(PyExc_OSError) : NULL; in fcntl_fcntl_impl()
103 } while (ret == -1 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in fcntl_fcntl_impl()
105 return !async_err ? PyErr_SetFromErrno(PyExc_OSError) : NULL; in fcntl_fcntl_impl()
294 int async_err = 0; in fcntl_flock_impl() local
305 } while (ret == -1 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in fcntl_flock_impl()
332 } while (ret == -1 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in fcntl_flock_impl()
336 return !async_err ? PyErr_SetFromErrno(PyExc_OSError) : NULL; in fcntl_flock_impl()
382 int async_err = 0; in fcntl_lockf_impl() local
[all …]
Dposixmodule.c1825 int async_err = 0; in posix_fildes_fd() local
1833 } while (res != 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in posix_fildes_fd()
1835 return (!async_err) ? posix_error() : NULL; in posix_fildes_fd()
3686 int async_err = 0; in os_fchmod_impl() local
3691 } while (res != 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in os_fchmod_impl()
3693 return (!async_err) ? posix_error() : NULL; in os_fchmod_impl()
4035 int async_err = 0; in os_fchown_impl() local
4045 } while (res != 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in os_fchown_impl()
4047 return (!async_err) ? posix_error() : NULL; in os_fchown_impl()
7563 int async_err = 0; in _rtp_spawn() local
[all …]
Dsignalmodule.c1174 int async_err = 0; local
1181 && errno == EINTR && !(async_err = PyErr_CheckSignals()));
1183 return (!async_err) ? PyErr_SetFromErrno(PyExc_OSError) : NULL;
Dselectmodule.c627 int async_err = 0; in select_poll_poll_impl() local
676 async_err = 0; in select_poll_poll_impl()
688 async_err = 1; in select_poll_poll_impl()
706 if (!async_err) in select_poll_poll_impl()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dnccl_utils.cc178 ncclResult_t async_err; in CheckNcclAsyncError() local
179 XLA_CUDA_RETURN_IF_ERROR(ncclCommGetAsyncError(comm, &async_err)); in CheckNcclAsyncError()
180 if (async_err != ncclSuccess) { in CheckNcclAsyncError()
183 << ncclGetErrorString(async_err); in CheckNcclAsyncError()
186 return XLA_CUDA_STATUS(async_err); in CheckNcclAsyncError()
/external/python/cpython3/Python/
Dfileutils.c1623 int async_err = 0; in _Py_open_impl() local
1652 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in _Py_open_impl()
1653 if (async_err) { in _Py_open_impl()
1768 int async_err = 0; in _Py_fopen_obj() local
1802 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in _Py_fopen_obj()
1825 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in _Py_fopen_obj()
1829 if (async_err) in _Py_fopen_obj()
1863 int async_err = 0; in _Py_read() local
1898 !(async_err = PyErr_CheckSignals())); in _Py_read()
1901 if (async_err) { in _Py_read()
[all …]
/external/python/cpython3/Modules/_io/
Dfileio.c256 int async_err = 0; local
404 !(async_err = PyErr_CheckSignals()));
406 if (async_err)