Home
last modified time | relevance | path

Searched refs:PyErr_CheckSignals (Results 1 – 25 of 33) sorted by relevance

12

/third_party/python/Modules/_multiprocessing/
Dposixshmem.c53 } while (fd < 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in _posixshmem_shm_open_impl()
92 } while (rv < 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in _posixshmem_shm_unlink_impl()
Dsemaphore.c281 res = PyErr_CheckSignals(); in sem_timedwait_save()
342 } while (res < 0 && errno == EINTR && !PyErr_CheckSignals()); in _multiprocessing_SemLock_acquire_impl()
359 } while (res < 0 && errno == EINTR && !PyErr_CheckSignals()); in _multiprocessing_SemLock_acquire_impl()
/third_party/python/Modules/
Dfcntlmodule.c75 } while (ret == -1 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in fcntl_fcntl_impl()
96 } while (ret == -1 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in fcntl_fcntl_impl()
297 } while (ret == -1 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in fcntl_flock_impl()
324 } while (ret == -1 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in fcntl_flock_impl()
428 } while (ret == -1 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in fcntl_lockf_impl()
Dsignalmodule.c438 if (PyErr_CheckSignals()) in signal_pause_impl()
1000 if (PyErr_CheckSignals())
1201 && errno == EINTR && !(async_err = PyErr_CheckSignals()));
1264 if (PyErr_CheckSignals())
1311 if (PyErr_CheckSignals())
1761 PyErr_CheckSignals(void) function
Dposixmodule.c1770 } while (res != 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in posix_fildes_fd()
3368 } while (res != 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in os_fchmod_impl()
3711 } while (res != 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in os_fchown_impl()
6372 } while (res < 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in _rtp_spawn()
8286 } while (pid < 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in os_wait3_impl()
8323 } while (res < 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in os_wait4_impl()
8365 } while (res < 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in os_waitid_impl()
8420 } while (res < 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in os_waitpid_impl()
8456 } while (res < 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in os_waitpid_impl()
8491 } while (pid < 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in os_wait_impl()
[all …]
Dselectmodule.c334 if (PyErr_CheckSignals()) in select_select_impl()
643 if (PyErr_CheckSignals()) { in select_poll_poll_impl()
955 if (PyErr_CheckSignals()) in select_devpoll_poll_impl()
1583 if (PyErr_CheckSignals()) in select_epoll_poll_impl()
2189 if (PyErr_CheckSignals()) in select_kqueue_control_impl()
Dreadline.c1355 s = PyErr_CheckSignals(); in readline_until_enter_or_signal()
Dfaulthandler.c290 if (PyErr_CheckSignals()) in faulthandler_dump_traceback_py()
D_cursesmodule.c1451 PyErr_CheckSignals(); in _curses_window_getkey_impl()
1507 if (PyErr_CheckSignals()) in _curses_window_get_wch_impl()
Dtimemodule.c2117 if (PyErr_CheckSignals())
Dsocketmodule.c866 if (PyErr_CheckSignals()) { in sock_call_ex()
913 if (PyErr_CheckSignals()) { in sock_call_ex()
3219 if (PyErr_CheckSignals()) in internal_connect()
4225 if (PyErr_CheckSignals()) in sock_sendall()
/third_party/python/Python/
Dbootstrap_hash.c186 if (PyErr_CheckSignals()) { in py_getrandom()
268 if (PyErr_CheckSignals()) { in py_getentropy()
Dfileutils.c1510 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in _Py_open_impl()
1665 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in _Py_fopen_obj()
1689 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in _Py_fopen_obj()
1753 !(async_err = PyErr_CheckSignals())); in _Py_read()
1817 !(async_err = PyErr_CheckSignals())); in _Py_write_impl()
Dtraceback.c582 err = PyErr_CheckSignals(); in tb_printinternal()
Derrors.c710 if (i == EINTR && PyErr_CheckSignals()) in PyErr_SetFromErrnoWithFilenameObjects()
/third_party/python/Parser/
Dmyreadline.c91 int s = PyErr_CheckSignals(); in my_fgets()
152 s = PyErr_CheckSignals(); in _PyOS_WindowsConsoleReadline()
/third_party/grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dcompletion_queue.pyx.pxi42 cpython.PyErr_CheckSignals()
/third_party/python/Include/
Dpyerrors.h226 PyAPI_FUNC(int) PyErr_CheckSignals(void);
/third_party/python/Objects/
Dobject.c267 if (PyErr_CheckSignals()) in PyObject_Print()
412 if (PyErr_CheckSignals()) in PyObject_Repr()
465 if (PyErr_CheckSignals()) in PyObject_Str()
/third_party/python/Doc/c-api/
Dexceptions.rst158 this calls :c:func:`PyErr_CheckSignals`, and if that set the error indicator,
501 .. c:function:: int PyErr_CheckSignals()
519 next :c:func:`PyErr_CheckSignals()` invocation).
554 :c:func:`PyErr_CheckSignals` is called, the Python signal handler for
/third_party/python/Modules/_io/
Dfileio.c390 !(async_err = PyErr_CheckSignals()));
Dwinconsoleio.c565 sig = PyErr_CheckSignals(); in read_console_w()
Dbufferedio.c1896 if (PyErr_CheckSignals() < 0) in _bufferedwriter_flush_unlocked()
2046 if (PyErr_CheckSignals() < 0) in _io_BufferedWriter_write_impl()
/third_party/python/PC/
Dpython3dll.c188 EXPORT_FUNC(PyErr_CheckSignals)
/third_party/python/Doc/data/
Dstable_abi.dat124 function,PyErr_CheckSignals,3.2,

12