Home
last modified time | relevance | path

Searched refs:getsignal (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython3/Lib/unittest/test/
Dtest_break.py17 self._default_handler = signal.getsignal(signal.SIGINT)
28 default_handler = signal.getsignal(signal.SIGINT)
30 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
51 default_handler = signal.getsignal(signal.SIGINT)
57 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
75 if signal.getsignal(signal.SIGINT) == signal.SIG_IGN:
103 new_handler = signal.getsignal(signal.SIGINT)
107 self.assertEqual(signal.getsignal(signal.SIGINT), new_handler)
128 if signal.getsignal(signal.SIGINT) == signal.SIG_IGN:
135 handler = signal.getsignal(signal.SIGINT)
[all …]
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/test/
Dtest_break.py18 self._default_handler = signal.getsignal(signal.SIGINT)
26 default_handler = signal.getsignal(signal.SIGINT)
28 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
51 default_handler = signal.getsignal(signal.SIGINT)
57 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
97 new_handler = signal.getsignal(signal.SIGINT)
101 self.assertEqual(signal.getsignal(signal.SIGINT), new_handler)
124 handler = signal.getsignal(signal.SIGINT)
182 default_handler = signal.getsignal(signal.SIGINT)
215 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
[all …]
/external/python/cpython2/Lib/unittest/test/
Dtest_break.py21 self._default_handler = signal.getsignal(signal.SIGINT)
32 default_handler = signal.getsignal(signal.SIGINT)
34 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
58 default_handler = signal.getsignal(signal.SIGINT)
64 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
82 if signal.getsignal(signal.SIGINT) == signal.SIG_IGN:
110 new_handler = signal.getsignal(signal.SIGINT)
114 self.assertEqual(signal.getsignal(signal.SIGINT), new_handler)
135 if signal.getsignal(signal.SIGINT) == signal.SIG_IGN:
142 handler = signal.getsignal(signal.SIGINT)
[all …]
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/
Dsignals.py16 installed_handler = signal.getsignal(signal.SIGINT)
44 default_handler = signal.getsignal(signal.SIGINT)
53 initial = signal.getsignal(signal.SIGINT)
/external/python/cpython3/Lib/unittest/
Dsignals.py29 installed_handler = signal.getsignal(signal.SIGINT)
52 default_handler = signal.getsignal(signal.SIGINT)
61 initial = signal.getsignal(signal.SIGINT)
/external/python/cpython2/Lib/unittest/
Dsignals.py29 installed_handler = signal.getsignal(signal.SIGINT)
52 default_handler = signal.getsignal(signal.SIGINT)
61 initial = signal.getsignal(signal.SIGINT)
/external/python/cpython3/Lib/
Dsignal.py51 @_wraps(_signal.getsignal)
52 def getsignal(signalnum): function
53 handler = _signal.getsignal(signalnum)
/external/chromium-trace/catapult/devil/devil/utils/
Dsignal_handler.py17 existing_handler = signal.getsignal(signalnum)
37 existing_handler = signal.getsignal(signalnum)
/external/autotest/client/common_lib/cros/
Dretry.py43 installed_handler = signal.getsignal(signal.SIGALRM)
111 old_handler = signal.getsignal(signal.SIGALRM)
/external/python/cpython2/Lib/test/
Dtest_signal.py200 self.assertRaises(ValueError, signal.getsignal, 4242)
211 self.assertEqual(signal.getsignal(signal.SIGHUP),
214 self.assertEqual(signal.getsignal(signal.SIGHUP), hup)
/external/python/cpython3/Lib/test/
Dtest_signal.py41 self.assertRaises(ValueError, signal.getsignal, 4242)
55 self.assertEqual(signal.getsignal(signal.SIGHUP),
58 self.assertEqual(signal.getsignal(signal.SIGHUP), hup)
118 if signal.getsignal(sig) is not None:
Dtest_threading.py1419 handler = signal.getsignal(signal.SIGINT)
/external/python/cpython2/Doc/library/
Dsignal.rst42 of execution. Any thread can perform an :func:`alarm`, :func:`getsignal`,
146 .. function:: getsignal(signalnum)
231 signal handler will be returned (see the description of :func:`getsignal`
/external/python/cpython3/Doc/library/
Dsignal.rst72 :func:`getsignal`, :func:`pthread_sigmask`, :func:`sigpending` and
306 .. function:: getsignal(signalnum)
520 signal handler will be returned (see the description of :func:`getsignal`
/external/python/cpython3/Lib/asyncio/
Dunix_events.py1234 handler = signal.getsignal(signal.SIGCHLD)
/external/python/cpython2/Lib/test/support/
D__init__.py2149 handler = self.signal.getsignal(signum)
/external/python/cpython3/Lib/test/support/
D__init__.py2874 handler = self.signal.getsignal(signum)
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_events.py461 self.assertEqual(signal.getsignal(signal.SIGINT),