/external/cronet/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()
|
/external/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()
|
/external/libepoxy/test/ |
D | glx_public_api_core.c | 157 int (*old_handler)(Display *, XErrorEvent *); in main() local 168 old_handler = XSetErrorHandler(error_handler); in main() 172 XSetErrorHandler(old_handler); in main()
|
/external/ltp/lib/ |
D | tst_virt.c | 133 void *old_handler = signal(SIGCHLD, SIG_DFL); in try_systemd_detect_virt() local 137 signal(SIGCHLD, old_handler); in try_systemd_detect_virt() 146 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()
|
/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/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 | 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)
|
/external/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()
|
/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/rust/crates/nix/test/ |
D | test_timer.rs | 38 let old_handler = unsafe { in alarm_fires() localVariable 100 sigaction(SIG, &old_handler).expect("unable to reset signal handler"); in alarm_fires()
|
/external/perfetto/src/base/ |
D | debug_crash_stack_trace.cc | 61 struct sigaction old_handler; member 112 sigaction(g_signals[i].sig_num, &g_signals[i].old_handler, nullptr); in RestoreSignalHandlers() 256 sigaction(g_signals[i].sig_num, &sigact, &g_signals[i].old_handler); in EnableStacktraceOnCrashForDebug()
|
/external/python/cpython3/Modules/ |
D | signalmodule.c | 505 PyObject *old_handler; in signal_signal_impl() local 561 old_handler = get_handler(signalnum); in signal_signal_impl() 564 if (old_handler != NULL) { in signal_signal_impl() 565 return old_handler; in signal_signal_impl() 592 PyObject *old_handler; in signal_getsignal_impl() local 598 old_handler = get_handler(signalnum); in signal_getsignal_impl() 599 if (old_handler != NULL) { in signal_getsignal_impl() 600 return Py_NewRef(old_handler); in signal_getsignal_impl()
|
/external/autotest/client/common_lib/cros/ |
D | retry.py | 117 old_handler = signal.getsignal(signal.SIGALRM) 142 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/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()
|
/external/cronet/base/android/ |
D | reached_code_profiler.cc | 139 struct sigaction old_handler; in Start() local 144 int ret = sigaction(kProfilerSignal, &sa, &old_handler); in Start()
|
/external/perfetto/python/tools/ |
D | cpu_profile.py | 363 old_handler = signal.signal(signal.SIGINT, sigint_handler) 377 signal.signal(signal.SIGINT, old_handler)
|
D | heap_profile.py | 436 old_handler = signal.signal(signal.SIGINT, sigint_handler) 448 signal.signal(signal.SIGINT, old_handler)
|
/external/perfetto/tools/ |
D | cpu_profile | 626 old_handler = signal.signal(signal.SIGINT, sigint_handler) 640 signal.signal(signal.SIGINT, old_handler)
|
D | heap_profile | 699 old_handler = signal.signal(signal.SIGINT, sigint_handler) 711 signal.signal(signal.SIGINT, old_handler)
|
/external/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()
|
/external/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()
|
/external/google-breakpad/src/client/linux/handler/ |
D | exception_handler_unittest.cc | 456 sighandler_t old_handler = signal(SIGSEGV, SIG_DFL); in TEST() local 457 ASSERT_NE(reinterpret_cast<void*>(old_handler), in TEST() 459 ASSERT_NE(reinterpret_cast<void*>(signal(SIGSEGV, old_handler)), in TEST()
|