Home
last modified time | relevance | path

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

123

/external/python/cpython2/Parser/
Dintrcheck.c112 extern int PyErr_CheckSignals(void);
117 return PyErr_CheckSignals(); in checksignals_witharg()
Dmyreadline.c86 s = PyErr_CheckSignals(); in my_fgets()
/external/python/cpython3/Modules/
Dfcntlmodule.c83 } while (ret == -1 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in fcntl_fcntl_impl()
104 } while (ret == -1 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in fcntl_fcntl_impl()
296 } while (ret == -1 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in fcntl_flock_impl()
323 } while (ret == -1 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in fcntl_flock_impl()
422 } while (ret == -1 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in fcntl_lockf_impl()
Dsignalmodule.c375 if (PyErr_CheckSignals()) in signal_pause_impl()
448 if (PyErr_CheckSignals()) { in signal_signal_impl()
863 if (PyErr_CheckSignals()) in signal_pthread_sigmask_impl()
1023 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in signal_sigwaitinfo()
1090 if (PyErr_CheckSignals()) in signal_sigtimedwait_impl()
1132 if (PyErr_CheckSignals()) in signal_pthread_kill_impl()
1511 PyErr_CheckSignals(void) in PyErr_CheckSignals() function
Dposixmodule.c1508 } while (res != 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in posix_fildes_fd()
2902 } while (res != 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in os_fchmod_impl()
3221 } while (res != 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in os_fchown_impl()
6930 } while (pid < 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in os_wait3_impl()
6967 } while (res < 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in os_wait4_impl()
7009 } while (res < 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in os_waitid_impl()
7063 } while (res < 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in os_waitpid_impl()
7099 } while (res < 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in os_waitpid_impl()
7132 } while (pid < 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in os_wait_impl()
7743 } while (fd < 0 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in os_open_impl()
[all …]
Dselectmodule.c276 if (PyErr_CheckSignals()) in select_select()
597 if (PyErr_CheckSignals()) { in poll_poll()
943 if (PyErr_CheckSignals()) in devpoll_poll()
1569 if (PyErr_CheckSignals()) in pyepoll_poll()
2217 if (PyErr_CheckSignals()) in kqueue_queue_control()
/external/python/cpython2/Python/
Dsigcheck.c13 PyErr_CheckSignals(void) in PyErr_CheckSignals() function
Dtraceback.c252 err = PyErr_CheckSignals(); in tb_printinternal()
/external/python/cpython2/RISCOS/
Dsleep.c31 if (PyErr_CheckSignals()) { in riscos_sleep()
/external/python/cpython2/Modules/
Dsignalmodule.c163 return PyErr_CheckSignals(); in checksignals_witharg()
248 if (PyErr_CheckSignals()) in signal_pause()
314 if (PyErr_CheckSignals()) { in signal_signal()
889 PyErr_CheckSignals(void) in PyErr_CheckSignals() function
/external/python/cpython2/Modules/_multiprocessing/
Dsemaphore.c126 if (PyErr_CheckSignals()) in semlock_acquire()
262 res = PyErr_CheckSignals(); in sem_timedwait_save()
325 } while (res < 0 && errno == EINTR && !PyErr_CheckSignals()); in semlock_acquire()
Dpipe_connection.c134 res = PyErr_CheckSignals(); in conn_poll()
Dsocket_connection.c35 res = PyErr_CheckSignals(); in check_signals()
/external/python/cpython3/Parser/
Dmyreadline.c80 s = PyErr_CheckSignals(); in my_fgets()
138 s = PyErr_CheckSignals(); in _PyOS_WindowsConsoleReadline()
/external/python/cpython3/Python/
Dbootstrap_hash.c177 if (PyErr_CheckSignals()) { in py_getrandom()
249 if (PyErr_CheckSignals()) { in py_getentropy()
Dfileutils.c1178 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in _Py_open_impl()
1334 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in _Py_fopen_obj()
1350 && errno == EINTR && !(async_err = PyErr_CheckSignals())); in _Py_fopen_obj()
1414 !(async_err = PyErr_CheckSignals())); in _Py_read()
1468 !(async_err = PyErr_CheckSignals())); in _Py_write_impl()
/external/python/cpython3/Modules/_multiprocessing/
Dsemaphore.c255 res = PyErr_CheckSignals(); in sem_timedwait_save()
311 } while (res < 0 && errno == EINTR && !PyErr_CheckSignals()); in semlock_acquire()
328 } while (res < 0 && errno == EINTR && !PyErr_CheckSignals()); in semlock_acquire()
/external/python/cpython2/Objects/
Dfileobject.c1111 if (PyErr_CheckSignals()) { in file_read()
1183 if (PyErr_CheckSignals()) { in file_readinto()
1299 if (PyErr_CheckSignals()) in getline_via_fgets()
1374 if (PyErr_CheckSignals()) { in getline_via_fgets()
1485 if (PyErr_CheckSignals()) { in get_line()
1511 if (PyErr_CheckSignals()) { in get_line()
1526 if (PyErr_CheckSignals()) { in get_line()
1726 if (PyErr_CheckSignals()) { in file_readlines()
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dcompletion_queue.pyx.pxi45 cpython.PyErr_CheckSignals()
/external/python/cpython2/PC/os2vacpp/
Dpython.def135 PyErr_CheckSignals
/external/python/cpython2/Include/
Dpyerrors.h231 PyAPI_FUNC(int) PyErr_CheckSignals(void);
/external/python/cpython3/Objects/
Dobject.c342 if (PyErr_CheckSignals()) in PyObject_Print()
485 if (PyErr_CheckSignals()) in PyObject_Repr()
532 if (PyErr_CheckSignals()) in PyObject_Str()
/external/python/cpython3/Include/
Dpyerrors.h355 PyAPI_FUNC(int) PyErr_CheckSignals(void);
/external/python/cpython2/Doc/c-api/
Dexceptions.rst189 this calls :c:func:`PyErr_CheckSignals`, and if that set the error indicator,
327 .. c:function:: int PyErr_CheckSignals()
351 next time :c:func:`PyErr_CheckSignals` is called, :exc:`KeyboardInterrupt` will
/external/python/cpython3/PC/
Dpython3.def119 PyErr_CheckSignals=python37.PyErr_CheckSignals

123