/external/ltp/lib/ |
D | tst_run_cmd.c | 56 void *old_handler = signal(SIGCHLD, SIG_DFL); in tst_run_cmd_fds_() local 90 signal(SIGCHLD, old_handler); in tst_run_cmd_fds_() 165 void *old_handler = signal(SIGCHLD, SIG_DFL); in tst_system() local 169 signal(SIGCHLD, old_handler); in tst_system()
|
D | tst_virt.c | 74 void *old_handler = signal(SIGCHLD, SIG_DFL); in try_systemd_detect_virt() local 78 signal(SIGCHLD, old_handler); in try_systemd_detect_virt() 87 signal(SIGCHLD, old_handler); in try_systemd_detect_virt()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | common_unittest.cc | 105 LogHandler* old_handler = SetLogHandler(NULL); in TEST() local 112 EXPECT_TRUE(SetLogHandler(old_handler) == NULL); 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()
|
/external/python/cpython2/Modules/ |
D | signalmodule.c | 267 PyObject *old_handler; in signal_signal() local 321 old_handler = Handlers[sig_num].func; in signal_signal() 324 if (old_handler != NULL) in signal_signal() 325 return old_handler; in signal_signal() 346 PyObject *old_handler; in signal_getsignal() local 354 old_handler = Handlers[sig_num].func; in signal_getsignal() 355 if (old_handler != NULL) { in signal_getsignal() 356 Py_INCREF(old_handler); in signal_getsignal() 357 return old_handler; in signal_getsignal()
|
/external/mesa3d/src/mesa/drivers/x11/ |
D | xm_buffer.c | 73 int (*old_handler)(XMesaDisplay *, XErrorEvent *); in alloc_back_shm_ximage() local 116 old_handler = XSetErrorHandler(mesaHandleXError); in alloc_back_shm_ximage() 130 (void) XSetErrorHandler(old_handler); in alloc_back_shm_ximage() 142 (void) XSetErrorHandler(old_handler); in alloc_back_shm_ximage() 449 int (*old_handler)(XMesaDisplay *, XErrorEvent *); in xmesa_MapRenderbuffer() local 458 old_handler = XSetErrorHandler(mesaHandleXError); in xmesa_MapRenderbuffer() 465 XSetErrorHandler(old_handler); in xmesa_MapRenderbuffer()
|
D | xm_api.c | 217 int (*old_handler)( XMesaDisplay*, XErrorEvent* ); in window_exists() local 219 old_handler = XSetErrorHandler(window_exists_err_handler); in window_exists() 221 XSetErrorHandler(old_handler); in window_exists()
|
/external/python/cpython3/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 | 1056 old_handler = signal.signal(signum, handler) 1057 self.addCleanup(signal.signal, signum, old_handler)
|
D | test_subprocess.py | 1335 old_handler = signal.signal(signal.SIGUSR1, handler) 1336 self.addCleanup(signal.signal, signal.SIGUSR1, old_handler) 1898 old_handler = signal.signal(signal.SIGINT, signal.default_int_handler) 1911 signal.signal(signal.SIGINT, old_handler)
|
D | _test_multiprocessing.py | 339 old_handler = signal.signal(signal.SIGALRM, handler) 345 signal.signal(signal.SIGALRM, old_handler)
|
/external/google-breakpad/src/client/solaris/handler/ |
D | exception_handler.cc | 200 SignalHandler old_handler = in HandleException() local 202 if (old_handler != NULL) in HandleException() 203 old_handler(signo); in HandleException()
|
/external/python/cpython3/Modules/ |
D | signalmodule.c | 405 PyObject *old_handler; in signal_signal_impl() local 455 old_handler = Handlers[signalnum].func; in signal_signal_impl() 458 if (old_handler != NULL) in signal_signal_impl() 459 return old_handler; in signal_signal_impl() 484 PyObject *old_handler; in signal_getsignal_impl() local 490 old_handler = Handlers[signalnum].func; in signal_getsignal_impl() 491 if (old_handler != NULL) { in signal_getsignal_impl() 492 Py_INCREF(old_handler); in signal_getsignal_impl() 493 return old_handler; in signal_getsignal_impl()
|
/external/perfetto/src/base/ |
D | debug_crash_stack_trace.cc | 61 struct sigaction old_handler; member 111 sigaction(g_signals[i].sig_num, &g_signals[i].old_handler, nullptr); in RestoreSignalHandlers() 253 sigaction(g_signals[i].sig_num, &sigact, &g_signals[i].old_handler); in SignalHandler()
|
/external/autotest/client/common_lib/cros/ |
D | retry.py | 111 old_handler = signal.getsignal(signal.SIGALRM) 136 if install_sigalarm_handler(old_handler) and old_timeout_time:
|
/external/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()
|
/external/v8/src/ic/ |
D | stub-cache.cc | 81 MaybeObject* old_handler = primary->value; in Set() local 85 if (old_handler != MaybeObject::FromObject( in Set()
|
/external/mesa3d/src/gallium/winsys/sw/xlib/ |
D | xlib_sw_winsys.c | 159 int (*old_handler)(Display *, XErrorEvent *); in alloc_shm_ximage() local 176 old_handler = XSetErrorHandler(handle_xerror); in alloc_shm_ximage() 193 (void) XSetErrorHandler(old_handler); in alloc_shm_ximage()
|
/external/perfetto/tools/ |
D | heap_profile | 247 old_handler = signal.signal(signal.SIGINT, sigint_handler) 258 signal.signal(signal.SIGINT, old_handler)
|
/external/python/cpython3/Lib/test/eintrdata/ |
D | eintr_tester.py | 394 old_handler = signal.signal(signum, lambda *args: None) 395 self.addCleanup(signal.signal, signum, old_handler)
|
/external/autotest/utils/ |
D | loadtest.py | 434 old_handler = signal.signal(signal.SIGUSR1, self.signal_handler) 454 signal.signal(signal.SIGUSR1, old_handler)
|
/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
D | xm_api.c | 343 int (*old_handler)( Display*, XErrorEvent* ); in window_exists() local 345 old_handler = XSetErrorHandler(window_exists_err_handler); in window_exists() 347 XSetErrorHandler(old_handler); in window_exists()
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_subprocess.py | 192 old_handler = signal.signal(signal.SIGHUP, signal.SIG_DFL) 213 signal.signal(signal.SIGHUP, old_handler)
|
D | test_events.py | 1980 old_handler = signal.signal(signal.SIGHUP, signal.SIG_DFL) 1996 signal.signal(signal.SIGHUP, old_handler)
|
/external/google-breakpad/src/client/linux/handler/ |
D | exception_handler_unittest.cc | 400 sighandler_t old_handler = signal(SIGSEGV, SIG_DFL); in TEST() local 401 ASSERT_NE(reinterpret_cast<void*>(old_handler), in TEST() 403 ASSERT_NE(reinterpret_cast<void*>(signal(SIGSEGV, old_handler)), in TEST()
|
/external/python/cpython2/Lib/test/ |
D | test_subprocess.py | 837 old_handler = signal.signal(signal.SIGALRM, handler) 838 self.addCleanup(signal.signal, signal.SIGALRM, old_handler)
|