Searched refs:default_handler (Results 1 – 8 of 8) sorted by relevance
/third_party/python/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 …]
|
/third_party/python/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 …]
|
/third_party/python/Modules/ |
D | signalmodule.c | 132 PyObject *default_handler; member 147 PyObject *default_handler; // borrowed ref (signal_global_state) member 531 else if (handler == modstate->default_handler) { in signal_signal_impl() 1589 func = state->default_handler; 1606 if (sigint_func == state->default_handler) { 1629 modstate->default_handler = state->default_handler; // borrowed ref 1646 if (PyDict_SetItemString(d, "SIG_DFL", state->default_handler) < 0) { 1739 && func != state->default_handler 1754 Py_CLEAR(state->default_handler); 1816 func == state->default_handler) { [all …]
|
/third_party/boost/boost/contract/detail/inlined/core/ |
D | exception.hpp | 103 void default_handler() { in default_handler() function 127 void default_from_handler(from) { default_handler<Key>(); } in default_from_handler() 140 &default_handler<check_failure_key>
|
/third_party/skia/third_party/externals/spirv-cross/ |
D | main.cpp | 74 function<void(const char *)> default_handler; member 97 if (*next != '-' && cbs.default_handler) in parse() 99 cbs.default_handler(next); in parse() 1686 cbs.default_handler = [&args](const char *value) { args.input = value; }; in main_inner()
|
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/ |
D | internal.h | 915 MHD_AccessHandlerCallback default_handler; member
|
D | connection.c | 1452 connection->daemon->default_handler (connection->daemon-> default_handler_cls, 1608 connection->daemon->default_handler (connection->daemon->default_handler_cls,
|
D | daemon.c | 3622 daemon->default_handler = dh; in MHD_start_daemon_va()
|