Home
last modified time | relevance | path

Searched refs:default_handler (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython3/Lib/unittest/
Dsignals.py10 def __init__(self, default_handler): argument
12 self.original_handler = default_handler
13 if isinstance(default_handler, int):
14 if default_handler == signal.SIG_DFL:
16 default_handler = signal.default_int_handler
17 elif default_handler == signal.SIG_IGN:
20 def default_handler(unused_signum, unused_frame): function
26 self.default_handler = default_handler
33 self.default_handler(signum, frame)
36 self.default_handler(signum, frame)
[all …]
/external/python/cpython2/Lib/unittest/
Dsignals.py10 def __init__(self, default_handler): argument
12 self.original_handler = default_handler
13 if isinstance(default_handler, (int, long)):
14 if default_handler == signal.SIG_DFL:
16 default_handler = signal.default_int_handler
17 elif default_handler == signal.SIG_IGN:
20 def default_handler(unused_signum, unused_frame): function
26 self.default_handler = default_handler
33 self.default_handler(signum, frame)
36 self.default_handler(signum, frame)
[all …]
/external/arm-trusted-firmware/plat/rockchip/rk3399/drivers/m0/src/
Dstartup.c30 static void default_handler(void);
76 #pragma weak nmi_handler = default_handler
77 #pragma weak hardware_fault_handler = default_handler
78 #pragma weak svc_handler = default_handler
79 #pragma weak pend_sv_handler = default_handler
80 #pragma weak systick_handler = default_handler
87 static void default_handler(void) in default_handler() function
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/
Dsignals.py11 def __init__(self, default_handler): argument
13 self.default_handler = default_handler
20 self.default_handler(signum, frame)
23 self.default_handler(signum, frame)
44 default_handler = signal.getsignal(signal.SIGINT)
45 _interrupt_handler = _InterruptHandler(default_handler)
63 signal.signal(signal.SIGINT, _interrupt_handler.default_handler)
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/test/
Dtest_break.py26 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)
182 default_handler = signal.getsignal(signal.SIGINT)
215 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
228 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
231 default_handler = signal.getsignal(signal.SIGINT)
234 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
238 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
[all …]
/external/python/cpython3/Lib/unittest/test/
Dtest_break.py28 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)
192 default_handler = signal.getsignal(signal.SIGINT)
225 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
240 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
243 default_handler = signal.getsignal(signal.SIGINT)
246 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
250 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
[all …]
/external/python/cpython2/Lib/unittest/test/
Dtest_break.py32 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)
199 default_handler = signal.getsignal(signal.SIGINT)
229 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
242 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
245 default_handler = signal.getsignal(signal.SIGINT)
248 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
252 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
[all …]
/external/llvm-project/libcxxabi/test/
Dcxa_bad_typeid.pass.cpp35 void (*default_handler)() = std::get_terminate(); in main() local
53 std::set_terminate(default_handler); in main()
Dcxa_bad_cast.pass.cpp36 void (*default_handler)() = std::get_terminate(); in main() local
55 std::set_terminate(default_handler); in main()
/external/libcxxabi/test/
Dcxa_bad_typeid.pass.cpp35 void (*default_handler)() = std::get_terminate(); in main() local
53 std::set_terminate(default_handler); in main()
Dcxa_bad_cast.pass.cpp35 void (*default_handler)() = std::get_terminate(); in main() local
54 std::set_terminate(default_handler); in main()
/external/linux-kselftest/tools/testing/selftests/arm64/signal/
Dtest_signals_utils.c176 static void default_handler(int signum, siginfo_t *si, void *uc) in default_handler() function
205 sa.sa_sigaction = default_handler; in default_setup()