/external/python/cpython3/Lib/unittest/ |
D | signals.py | 10 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/ |
D | signals.py | 10 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/ |
D | startup.c | 30 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/python/cpython3/Lib/unittest/test/ |
D | test_break.py | 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) 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/ |
D | test_break.py | 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) 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/python/cpython3/Modules/ |
D | signalmodule.c | 132 PyObject *default_handler; member 147 PyObject *default_handler; // borrowed ref (signal_global_state) member 543 } else if (compare_handler(handler, modstate->default_handler)) { in signal_signal_impl() 1597 func = state->default_handler; 1614 if (sigint_func == state->default_handler) { 1637 modstate->default_handler = state->default_handler; // borrowed ref 1654 if (PyDict_SetItemString(d, "SIG_DFL", state->default_handler) < 0) { 1747 && !compare_handler(func, state->default_handler) 1762 Py_CLEAR(state->default_handler); 1825 compare_handler(func, state->default_handler)) { [all …]
|
/external/cronet/buildtools/third_party/libc++abi/trunk/test/ |
D | cxa_bad_typeid.pass.cpp | 35 void (*default_handler)() = std::get_terminate(); in main() local 53 std::set_terminate(default_handler); in main()
|
D | cxa_bad_cast.pass.cpp | 36 void (*default_handler)() = std::get_terminate(); in main() local 55 std::set_terminate(default_handler); in main()
|
/external/libcxxabi/test/ |
D | cxa_bad_cast.pass.cpp | 35 void (*default_handler)() = std::get_terminate(); in main() local 54 std::set_terminate(default_handler); in main()
|
D | cxa_bad_typeid.pass.cpp | 35 void (*default_handler)() = std::get_terminate(); in main() local 53 std::set_terminate(default_handler); in main()
|
/external/rust/beto-rust/nearby/presence/ldt_np_adv_ffi/src/ |
D | no_std.rs | 29 fn default_handler(layout: core::alloc::Layout) -> ! { in default_handler() function
|
/external/linux-kselftest/tools/testing/selftests/arm64/signal/ |
D | test_signals_utils.c | 177 static void default_handler(int signum, siginfo_t *si, void *uc) in default_handler() function 206 sa.sa_sigaction = default_handler; in default_setup()
|