Home
last modified time | relevance | path

Searched refs:PyOS_setsig (Results 1 – 21 of 21) sorted by relevance

/external/python/cpython2/Modules/
Dfpectlmodule.c137 PyOS_setsig(SIGFPE, handler); in fpe_reset()
157 PyOS_setsig(SIGFPE, handler); in fpe_reset()
166 PyOS_setsig(SIGFPE, handler); in fpe_reset()
174 PyOS_setsig(SIGFPE, handler); in fpe_reset()
185 PyOS_setsig(SIGFPE, handler); in fpe_reset()
193 PyOS_setsig(SIGFPE, handler); in fpe_reset()
206 PyOS_setsig(SIGFPE, handler); in fpe_reset()
210 PyOS_setsig(SIGFPE, handler); in fpe_reset()
218 PyOS_setsig(SIGFPE, handler); in fpe_reset()
224 PyOS_setsig(SIGFPE, handler); in fpe_reset()
[all …]
Dreadline.c838 PyOS_setsig(SIGWINCH, readline_sigwinch_handler); in readline_sigwinch_handler()
946 sigwinch_ohandler = PyOS_setsig(SIGWINCH, readline_sigwinch_handler); in setup_readline()
1101 old_inthandler = PyOS_setsig(SIGINT, onintr); in readline_until_enter_or_signal()
1107 PyOS_setsig(SIGINT, old_inthandler); in readline_until_enter_or_signal()
1113 PyOS_setsig(SIGINT, old_inthandler); in readline_until_enter_or_signal()
Dsignalmodule.c214 PyOS_setsig(sig_num, signal_handler); in signal_handler()
316 if (PyOS_setsig(sig_num, func) == SIG_ERR) { in signal_signal()
625 old_siginthandler = PyOS_setsig(SIGINT, signal_handler); in initsignal()
868 PyOS_setsig(SIGINT, old_siginthandler); in finisignal()
877 PyOS_setsig(i, SIG_DFL); in finisignal()
Dposixmodule.c3952 sig_saved = PyOS_setsig(SIGCHLD, SIG_DFL); in posix_openpty()
3955 PyOS_setsig(SIGCHLD, sig_saved); in posix_openpty()
3960 PyOS_setsig(SIGCHLD, sig_saved); in posix_openpty()
3963 PyOS_setsig(SIGCHLD, sig_saved); in posix_openpty()
/external/python/cpython3/Modules/
Dfpectlmodule.c134 PyOS_setsig(SIGFPE, handler); in fpe_reset()
154 PyOS_setsig(SIGFPE, handler); in fpe_reset()
163 PyOS_setsig(SIGFPE, handler); in fpe_reset()
171 PyOS_setsig(SIGFPE, handler); in fpe_reset()
179 PyOS_setsig(SIGFPE, handler); in fpe_reset()
187 PyOS_setsig(SIGFPE, handler); in fpe_reset()
193 PyOS_setsig(SIGFPE, handler); in fpe_reset()
210 PyOS_setsig(SIGFPE, handler); in fpe_reset()
219 PyOS_setsig(SIGFPE, handler); in fpe_reset()
Dsignalmodule.c317 PyOS_setsig(sig_num, signal_handler); in signal_handler()
444 if (PyOS_setsig(signalnum, func) == SIG_ERR) { in signal_signal_impl()
1265 old_siginthandler = PyOS_setsig(SIGINT, signal_handler); in PyInit__signal()
1471 PyOS_setsig(SIGINT, old_siginthandler); in finisignal()
1480 PyOS_setsig(i, SIG_DFL); in finisignal()
Dreadline.c993 PyOS_setsig(SIGWINCH, readline_sigwinch_handler); in readline_sigwinch_handler()
1131 sigwinch_ohandler = PyOS_setsig(SIGWINCH, readline_sigwinch_handler); in setup_readline()
1287 old_inthandler = PyOS_setsig(SIGINT, onintr); in readline_until_enter_or_signal()
1293 PyOS_setsig(SIGINT, old_inthandler); in readline_until_enter_or_signal()
1299 PyOS_setsig(SIGINT, old_inthandler); in readline_until_enter_or_signal()
Dposixmodule.c5818 sig_saved = PyOS_setsig(SIGCHLD, SIG_DFL); in os_openpty_impl()
5822 PyOS_setsig(SIGCHLD, sig_saved); in os_openpty_impl()
5828 PyOS_setsig(SIGCHLD, sig_saved); in os_openpty_impl()
5832 PyOS_setsig(SIGCHLD, sig_saved); in os_openpty_impl()
/external/python/cpython2/Parser/
Dintrcheck.c141 PyOS_setsig(SIGINT, intcatcher); in intcatcher()
150 if ((old_siginthandler = PyOS_setsig(SIGINT, SIG_IGN)) != SIG_IGN) in PyOS_InitInterrupts()
151 PyOS_setsig(SIGINT, intcatcher); in PyOS_InitInterrupts()
157 PyOS_setsig(SIGINT, old_siginthandler); in PyOS_FiniInterrupts()
/external/python/cpython3/Python/
Dpylifecycle.c1548 PyOS_setsig(SIGPIPE, SIG_IGN); in initsigs()
1551 PyOS_setsig(SIGXFZ, SIG_IGN); in initsigs()
1554 PyOS_setsig(SIGXFSZ, SIG_IGN); in initsigs()
1573 PyOS_setsig(SIGPIPE, SIG_DFL); in _Py_RestoreSignals()
1576 PyOS_setsig(SIGXFZ, SIG_DFL); in _Py_RestoreSignals()
1579 PyOS_setsig(SIGXFSZ, SIG_DFL); in _Py_RestoreSignals()
1645 PyOS_setsig(int sig, PyOS_sighandler_t handler) in PyOS_setsig() function
/external/python/cpython3/Include/
Dpylifecycle.h118 PyAPI_FUNC(PyOS_sighandler_t) PyOS_setsig(int, PyOS_sighandler_t);
/external/python/cpython2/Python/
Dpythonrun.c1792 PyOS_setsig(SIGPIPE, SIG_IGN); in initsigs()
1795 PyOS_setsig(SIGXFZ, SIG_IGN); in initsigs()
1798 PyOS_setsig(SIGXFSZ, SIG_IGN); in initsigs()
1898 PyOS_setsig(int sig, PyOS_sighandler_t handler) in PyOS_setsig() function
/external/python/cpython2/Include/
Dpythonrun.h174 PyAPI_FUNC(PyOS_sighandler_t) PyOS_setsig(int, PyOS_sighandler_t);
/external/python/cpython2/Doc/c-api/
Dsys.rst43 .. c:function:: PyOS_sighandler_t PyOS_setsig(int i, PyOS_sighandler_t h)
/external/python/cpython3/PC/
Dpython3.def437 PyOS_setsig=python36.PyOS_setsig
/external/python/cpython3/Doc/c-api/
Dsys.rst54 .. c:function:: PyOS_sighandler_t PyOS_setsig(int i, PyOS_sighandler_t h)
/external/python/cpython2/PC/os2emx/
Dpython27.def1095 "PyOS_setsig"
/external/python/cpython2/Doc/whatsnew/
D2.0.rst805 a signal handler and :func:`PyOS_setsig` will set a new handler.
/external/python/cpython3/Doc/whatsnew/
D2.0.rst805 a signal handler and :func:`PyOS_setsig` will set a new handler.
/external/python/cpython2/Misc/
DHISTORY2299 BSD systems. Consistently use PyOS_setsig() instead of signal().
8709 and PyOS_setsig() to set one. A new convenience typedef
/external/python/cpython3/Misc/
DHISTORY19683 BSD systems. Consistently use PyOS_setsig() instead of signal().
26088 and PyOS_setsig() to set one. A new convenience typedef