/external/perfetto/src/base/ |
D | debug_crash_stack_trace.cc | 60 int sig_num; member 111 sigaction(g_signals[i].sig_num, &g_signals[i].old_handler, nullptr); in RestoreSignalHandlers() 115 void SignalHandler(int sig_num, siginfo_t* info, void* /*ucontext*/) { in SignalHandler() argument 121 if (sig_num == SIGSEGV) { in SignalHandler() 123 } else if (sig_num == SIGILL) { in SignalHandler() 125 } else if (sig_num == SIGTRAP) { in SignalHandler() 127 } else if (sig_num == SIGABRT) { in SignalHandler() 129 } else if (sig_num == SIGBUS) { in SignalHandler() 131 } else if (sig_num == SIGFPE) { in SignalHandler() 135 PrintHex(static_cast<uint32_t>(sig_num)); in SignalHandler() [all …]
|
/external/python/cpython2/Modules/ |
D | signalmodule.c | 167 trip_signal(int sig_num) in trip_signal() argument 169 Handlers[sig_num].tripped = 1; in trip_signal() 181 signal_handler(int sig_num) in signal_handler() argument 187 pth_raise(*(pth_t *) main_thread, sig_num); in signal_handler() 197 trip_signal(sig_num); in signal_handler() 206 if (sig_num != SIGCHLD) in signal_handler() 211 PyOS_setsig(sig_num, signal_handler); in signal_handler() 266 int sig_num; in signal_signal() local 269 if (!PyArg_ParseTuple(args, "iO:signal", &sig_num, &obj)) in signal_signal() 273 switch (sig_num) { in signal_signal() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
D | 6-3.c | 52 int sig_num; in main() local 88 sig_num = WTERMSIG(status); in main() 89 printf("Child process terminated by signal %d\n", sig_num); in main() 90 if (sig_num == SIGSEGV) { in main()
|
D | 6-1.c | 51 int sig_num; in main() local 92 sig_num = WTERMSIG(status); in main() 93 printf("Child process terminated by signal %d\n", sig_num); in main() 94 if (sig_num == SIGSEGV) { in main()
|
D | 6-2.c | 53 int sig_num; in main() local 98 sig_num = WTERMSIG(status); in main() 99 printf("Child process terminated by signal %d\n", sig_num); in main() 100 if (sig_num == SIGSEGV) { in main()
|
/external/toybox/toys/pending/ |
D | fsck.c | 45 int sig_num; 261 if (TT.sig_num) kill_all(); in wait_for() 322 if (TT.sig_num) kill_all(); in scan_all() 350 if (TT.sig_num) kill_all(); in scan_all() 359 TT.sig_num = sig; in record_sig_num() 413 if (TT.sig_num) kill_all(); in fsck_main()
|
/external/python/cpython3/Modules/ |
D | signalmodule.c | 221 trip_signal(int sig_num) in trip_signal() argument 227 _Py_atomic_store_relaxed(&Handlers[sig_num].tripped, 1); in trip_signal() 262 byte = (unsigned char)sig_num; in trip_signal() 301 signal_handler(int sig_num) in signal_handler() argument 308 trip_signal(sig_num); in signal_handler() 317 if (sig_num != SIGCHLD) in signal_handler() 322 PyOS_setsig(sig_num, signal_handler); in signal_handler() 330 if (sig_num == SIGINT) in signal_handler()
|
/external/e2fsprogs/ext2ed/ |
D | init.c | 458 void signal_SIGWINCH_handler (int sig_num) in signal_SIGWINCH_handler() argument 468 void signal_SIGTERM_handler (int sig_num) in signal_SIGTERM_handler() argument 472 printf ("Terminated due to signal %d\n",sig_num); in signal_SIGTERM_handler() 476 void signal_SIGSEGV_handler (int sig_num) in signal_SIGSEGV_handler() argument 480 printf ("Killed by signal %d!\n",sig_num); in signal_SIGSEGV_handler()
|
D | ext2ed.h | 246 void signal_SIGWINCH_handler (int sig_num); 247 void signal_SIGTERM_handler (int sig_num); 248 void signal_SIGSEGV_handler (int sig_num);
|
/external/selinux/policycoreutils/semodule/ |
D | semodule.c | 72 static void handle_signal(int sig_num) in handle_signal() argument 74 if (sig_num == SIGINT || sig_num == SIGQUIT || sig_num == SIGTERM) { in handle_signal()
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | ev_epollsig_linux.cc | 965 static void sig_handler(int sig_num) { argument 967 gpr_log(GPR_INFO, "Received signal %d", sig_num);
|
/external/toybox/generated/ |
D | globals.h | 608 int sig_num; member
|
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
D | scsimain.c | 1795 static void install_handler(int sig_num, void (*sig_handler) (int sig)) in install_handler() argument 1798 sigaction(sig_num, NULL, &sigact); in install_handler() 1803 sigaction(sig_num, &sigact, NULL); in install_handler()
|