/third_party/mindspore/mindspore/ccsrc/utils/ |
D | signal_util.cc | 26 if (old_handler != nullptr) { in ~SignalGuard() 27 int_action.sa_sigaction = old_handler; in ~SignalGuard() 31 old_handler = nullptr; in ~SignalGuard() 40 old_handler = old_int_action.sa_sigaction; in RegisterHandlers()
|
D | signal_util.h | 30 void (*old_handler)(int, siginfo_t *, void *) = nullptr; variable
|
/third_party/protobuf/src/google/protobuf/stubs/ |
D | common_unittest.cc | 105 LogHandler* old_handler = SetLogHandler(nullptr); in TEST() local 112 EXPECT_TRUE(SetLogHandler(old_handler) == nullptr); in TEST() 121 LogHandler* old_handler = SetLogHandler(&CaptureLog); in TEST() local 127 EXPECT_TRUE(SetLogHandler(old_handler) == &CaptureLog); in TEST() 141 LogHandler* old_handler = SetLogHandler(&CaptureLog); in TEST() local 153 EXPECT_TRUE(SetLogHandler(old_handler) == &CaptureLog); in TEST()
|
/third_party/ltp/lib/ |
D | tst_virt.c | 117 void *old_handler = signal(SIGCHLD, SIG_DFL); in try_systemd_detect_virt() local 121 signal(SIGCHLD, old_handler); in try_systemd_detect_virt() 130 signal(SIGCHLD, old_handler); in try_systemd_detect_virt()
|
D | tst_cmd.c | 69 void *old_handler = signal(SIGCHLD, SIG_DFL); in tst_cmd_fds_() local 110 signal(SIGCHLD, old_handler); in tst_cmd_fds_() 184 void *old_handler = signal(SIGCHLD, SIG_DFL); in tst_system() local 188 signal(SIGCHLD, old_handler); in tst_system()
|
/third_party/python/Lib/test/ |
D | test_threadsignals.py | 153 old_handler = signal.signal(signal.SIGUSR1, my_handler) 178 signal.signal(signal.SIGUSR1, old_handler) 203 old_handler = signal.signal(signal.SIGUSR1, my_handler) 230 signal.signal(signal.SIGUSR1, old_handler)
|
D | test_signal.py | 1144 old_handler = signal.signal(signum, handler) 1145 self.addCleanup(signal.signal, signum, old_handler) 1290 old_handler = signal.signal(signum, custom_handler) 1291 self.addCleanup(signal.signal, signum, old_handler)
|
D | _test_eintr.py | 391 old_handler = signal.signal(signum, lambda *args: None) 392 self.addCleanup(signal.signal, signum, old_handler)
|
D | test_threading.py | 1604 old_handler = signal.signal(signum, handler) 1605 self.addCleanup(signal.signal, signum, old_handler)
|
D | test_subprocess.py | 1482 old_handler = signal.signal(signal.SIGUSR1, handler) 1483 self.addCleanup(signal.signal, signal.SIGUSR1, old_handler) 2273 old_handler = signal.signal(signal.SIGINT, signal.default_int_handler) 2286 signal.signal(signal.SIGINT, old_handler)
|
D | _test_multiprocessing.py | 432 old_handler = signal.signal(signal.SIGALRM, handler) 438 signal.signal(signal.SIGALRM, old_handler)
|
/third_party/mesa3d/src/mesa/drivers/x11/ |
D | xm_buffer.c | 74 int (*old_handler)(XMesaDisplay *, XErrorEvent *); in alloc_back_shm_ximage() local 118 old_handler = XSetErrorHandler(mesaHandleXError); in alloc_back_shm_ximage() 132 (void) XSetErrorHandler(old_handler); in alloc_back_shm_ximage() 144 (void) XSetErrorHandler(old_handler); in alloc_back_shm_ximage() 452 int (*old_handler)(XMesaDisplay *, XErrorEvent *); in xmesa_MapRenderbuffer() local 461 old_handler = XSetErrorHandler(mesaHandleXError); in xmesa_MapRenderbuffer() 468 XSetErrorHandler(old_handler); in xmesa_MapRenderbuffer()
|
D | xm_api.c | 218 int (*old_handler)( XMesaDisplay*, XErrorEvent* ); in window_exists() local 220 old_handler = XSetErrorHandler(window_exists_err_handler); in window_exists() 222 XSetErrorHandler(old_handler); in window_exists()
|
/third_party/python/Modules/ |
D | signalmodule.c | 494 PyObject *old_handler; in signal_signal_impl() local 553 old_handler = get_handler(signalnum); in signal_signal_impl() 556 if (old_handler != NULL) { in signal_signal_impl() 557 return old_handler; in signal_signal_impl() 584 PyObject *old_handler; in signal_getsignal_impl() local 590 old_handler = get_handler(signalnum); in signal_getsignal_impl() 591 if (old_handler != NULL) { in signal_getsignal_impl() 592 return Py_NewRef(old_handler); in signal_getsignal_impl()
|
/third_party/boost/libs/math/reporting/performance/ |
D | table_helper.hpp | 38 gsl_error_handler_t * old_handler; member 41 old_handler = gsl_set_error_handler(gsl_handler); in gsl_error_handler_setter() 45 gsl_set_error_handler(old_handler); in ~gsl_error_handler_setter()
|
/third_party/mesa3d/src/glx/apple/ |
D | apple_glx_drawable.c | 368 int (*old_handler) (Display *, XErrorEvent *); in apple_glx_garbage_collect_drawables() local 374 old_handler = XSetErrorHandler(error_handler); in apple_glx_garbage_collect_drawables() 420 XSetErrorHandler(old_handler); in apple_glx_garbage_collect_drawables()
|
/third_party/mesa3d/src/gallium/winsys/sw/xlib/ |
D | xlib_sw_winsys.c | 160 int (*old_handler)(Display *, XErrorEvent *); in alloc_shm_ximage() local 177 old_handler = XSetErrorHandler(handle_xerror); in alloc_shm_ximage() 194 (void) XSetErrorHandler(old_handler); in alloc_shm_ximage()
|
/third_party/gstreamer/gstplugins_bad/ext/mpeg2enc/ |
D | gstmpeg2enc.cc | 751 static mjpeg_log_handler_t old_handler = NULL; variable 790 old_handler (level, message); in gst_mpeg2enc_log_callback() 798 old_handler = mjpeg_log_set_handler (gst_mpeg2enc_log_callback); in mpeg2enc_element_init() 799 g_assert (old_handler != NULL); in mpeg2enc_element_init()
|
/third_party/gstreamer/gstplugins_bad/ext/mplex/ |
D | gstmplex.cc | 763 static mjpeg_log_handler_t old_handler = NULL; variable 802 old_handler (level, message); in gst_mplex_log_callback() 810 old_handler = mjpeg_log_set_handler (gst_mplex_log_callback); in mplex_element_init() 811 g_assert (old_handler != NULL); in mplex_element_init()
|
/third_party/boost/libs/math/reporting/accuracy/ |
D | bindings.hpp | 129 gsl_error_handler_t * old_handler; member 132 old_handler = gsl_set_error_handler(gsl_handler); in gsl_error_handler_setter() 136 gsl_set_error_handler(old_handler); in ~gsl_error_handler_setter()
|
/third_party/gstreamer/gstreamer/gst/ |
D | gstbus.c | 731 SyncHandler *old_handler, *new_handler = NULL; in gst_bus_set_sync_handler() local 744 old_handler = g_steal_pointer (&bus->priv->sync_handler); in gst_bus_set_sync_handler() 748 g_clear_pointer (&old_handler, sync_handler_unref); in gst_bus_set_sync_handler()
|
/third_party/mesa3d/src/glx/ |
D | drisw_glx.c | 76 int (*old_handler)(Display *, XErrorEvent *); in XCreateDrawable() local 81 old_handler = XSetErrorHandler(handle_xerror); in XCreateDrawable() 92 (void) XSetErrorHandler(old_handler); in XCreateDrawable()
|
/third_party/mesa3d/src/gallium/frontends/glx/xlib/ |
D | xm_api.c | 348 int (*old_handler)( Display*, XErrorEvent* ); in window_exists() local 350 old_handler = XSetErrorHandler(window_exists_err_handler); in window_exists() 352 XSetErrorHandler(old_handler); in window_exists()
|
/third_party/python/Lib/test/test_asyncio/ |
D | test_subprocess.py | 202 old_handler = signal.signal(signal.SIGHUP, signal.SIG_DFL) 225 signal.signal(signal.SIGHUP, old_handler)
|
D | test_events.py | 1887 old_handler = signal.signal(signal.SIGHUP, signal.SIG_DFL) 1905 signal.signal(signal.SIGHUP, old_handler)
|