/external/strace/ |
D | printsiginfo.c | 68 # define SI_FROMUSER(sip) ((sip)->si_code <= 0) 88 print_si_code(int si_signo, unsigned int si_code) in print_si_code() argument 90 const char *code = xlookup(siginfo_codes, si_code); in print_si_code() 95 code = xlookup(sigtrap_codes, si_code); in print_si_code() 98 code = xlookup(sigchld_codes, si_code); in print_si_code() 101 code = xlookup(sigpoll_codes, si_code); in print_si_code() 104 code = xlookup(sigprof_codes, si_code); in print_si_code() 107 code = xlookup(sigill_codes, si_code); in print_si_code() 111 code = xlookup(sigemt_codes, si_code); in print_si_code() 115 code = xlookup(sigfpe_codes, si_code); in print_si_code() [all …]
|
/external/v8/src/base/debug/ |
D | stack_trace_posix.cc | 201 if (info->si_code == BUS_ADRALN) in StackDumpSignalHandler() 203 else if (info->si_code == BUS_ADRERR) in StackDumpSignalHandler() 205 else if (info->si_code == BUS_OBJERR) in StackDumpSignalHandler() 210 if (info->si_code == FPE_FLTDIV) in StackDumpSignalHandler() 212 else if (info->si_code == FPE_FLTINV) in StackDumpSignalHandler() 214 else if (info->si_code == FPE_FLTOVF) in StackDumpSignalHandler() 216 else if (info->si_code == FPE_FLTRES) in StackDumpSignalHandler() 218 else if (info->si_code == FPE_FLTSUB) in StackDumpSignalHandler() 220 else if (info->si_code == FPE_FLTUND) in StackDumpSignalHandler() 222 else if (info->si_code == FPE_INTDIV) in StackDumpSignalHandler() [all …]
|
/external/libchrome/base/debug/ |
D | stack_trace_posix.cc | 231 if (info->si_code == BUS_ADRALN) in StackDumpSignalHandler() 233 else if (info->si_code == BUS_ADRERR) in StackDumpSignalHandler() 235 else if (info->si_code == BUS_OBJERR) in StackDumpSignalHandler() 240 if (info->si_code == FPE_FLTDIV) in StackDumpSignalHandler() 242 else if (info->si_code == FPE_FLTINV) in StackDumpSignalHandler() 244 else if (info->si_code == FPE_FLTOVF) in StackDumpSignalHandler() 246 else if (info->si_code == FPE_FLTRES) in StackDumpSignalHandler() 248 else if (info->si_code == FPE_FLTSUB) in StackDumpSignalHandler() 250 else if (info->si_code == FPE_FLTUND) in StackDumpSignalHandler() 252 else if (info->si_code == FPE_INTDIV) in StackDumpSignalHandler() [all …]
|
/external/linux-kselftest/tools/testing/selftests/ptrace/ |
D | peeksiginfo.c | 110 int si_code; in check_direct_path() local 114 si_code = TEST_SICODE_SHARE; in check_direct_path() 117 si_code = TEST_SICODE_PRIV; in check_direct_path() 132 if (siginfo[j].si_code == si_code && in check_direct_path() 137 shared, i, siginfo[j].si_code, siginfo[j].si_int); in check_direct_path() 179 siginfo->si_code = TEST_SICODE_SHARE; in main() 183 siginfo->si_code = TEST_SICODE_PRIV; in main()
|
/external/e2fsprogs/e2fsck/ |
D | sigcatcher.c | 341 if (siginfo->si_code == SI_USER) in die_signal_handler() 343 cp = lookup_table(siginfo->si_code, generic_code_table); in die_signal_handler() 348 lookup_table_fallback(siginfo->si_code, in die_signal_handler() 352 lookup_table_fallback(siginfo->si_code, in die_signal_handler() 356 lookup_table_fallback(siginfo->si_code, in die_signal_handler() 360 lookup_table_fallback(siginfo->si_code, in die_signal_handler() 364 lookup_table_fallback(siginfo->si_code, in die_signal_handler() 367 fprintf(stderr, "si code=%d ", siginfo->si_code); in die_signal_handler() 368 if ((siginfo->si_code != SI_USER) && in die_signal_handler()
|
/external/strace/tests-mx32/ |
D | ptrace.c | 255 sip->si_code = 1; in main() 266 sip->si_code = 1; in main() 281 sip->si_code = 1; in main() 292 sip->si_code = 1; in main() 303 sip->si_code = 1; in main() 315 sip->si_code = 0xbadc0ded; in main() 324 (unsigned) pid, bad_request, sip->si_code, sip->si_errno, in main() 330 sip->si_code = 1; in main() 361 sip->si_code = SI_TIMER; in main()
|
D | qual_inject-signal.expected | 2 --- SIGUSR1 {si_signo=SIGUSR1, si_code=SI_KERNEL} ---
|
/external/strace/tests/ |
D | ptrace.c | 255 sip->si_code = 1; in main() 266 sip->si_code = 1; in main() 281 sip->si_code = 1; in main() 292 sip->si_code = 1; in main() 303 sip->si_code = 1; in main() 315 sip->si_code = 0xbadc0ded; in main() 324 (unsigned) pid, bad_request, sip->si_code, sip->si_errno, in main() 330 sip->si_code = 1; in main() 361 sip->si_code = SI_TIMER; in main()
|
D | qual_inject-signal.expected | 2 --- SIGUSR1 {si_signo=SIGUSR1, si_code=SI_KERNEL} ---
|
/external/strace/tests-m32/ |
D | ptrace.c | 255 sip->si_code = 1; in main() 266 sip->si_code = 1; in main() 281 sip->si_code = 1; in main() 292 sip->si_code = 1; in main() 303 sip->si_code = 1; in main() 315 sip->si_code = 0xbadc0ded; in main() 324 (unsigned) pid, bad_request, sip->si_code, sip->si_errno, in main() 330 sip->si_code = 1; in main() 361 sip->si_code = SI_TIMER; in main()
|
D | qual_inject-signal.expected | 2 --- SIGUSR1 {si_signo=SIGUSR1, si_code=SI_KERNEL} ---
|
/external/valgrind/coregrind/ |
D | m_signals.c | 1589 static Bool is_signal_from_kernel(ThreadId tid, int signum, int si_code) in is_signal_from_kernel() argument 1596 return ( si_code > VKI_SI_USER ? True : False ); in is_signal_from_kernel() 1618 return ( si_code > 0 ? True : False ); in is_signal_from_kernel() 1703 sigNo, info->si_code, terminate ? "terminate" : "ignore", in default_action() 1730 || (could_core && is_signal_from_kernel(tid, sigNo, info->si_code)) in default_action() 1741 VG_(printf_xml)(" <sicode>%d</sicode>\n", info->si_code); in default_action() 1750 if (is_signal_from_kernel(tid, sigNo, info->si_code)) { in default_action() 1756 switch(info->si_code) { in default_action() 1781 switch(info->si_code) { in default_action() 1794 switch (info->si_code) { in default_action() [all …]
|
/external/elfutils/tests/ |
D | run-readelf-mixed-corenote.sh | 28 info.si_signo: 11, info.si_code: 0, info.si_errno: 0, cursig: 11 94 info.si_signo: 4, info.si_code: 0, info.si_errno: 0, cursig: 4 159 info.si_signo: 4, info.si_code: 0, info.si_errno: 0, cursig: 4 231 info.si_signo: 11, info.si_code: 0, info.si_errno: 0, cursig: 11 253 si_signo: 11, si_errno: 0, si_code: 1 298 info.si_signo: 11, info.si_code: 0, info.si_errno: 0, cursig: 11 325 si_signo: 11, si_errno: 0, si_code: 1 438 info.si_signo: 11, info.si_code: 0, info.si_errno: 0, cursig: 11 454 si_signo: 11, si_errno: 0, si_code: 1 504 info.si_signo: 11, info.si_code: 0, info.si_errno: 0, cursig: 11 [all …]
|
D | run-readelf-vmcoreinfo.sh | 27 info.si_signo: 0, info.si_code: 0, info.si_errno: 0, cursig: 0 45 info.si_signo: 0, info.si_code: 0, info.si_errno: 0, cursig: 0
|
/external/ltp/testcases/kernel/containers/pidns/ |
D | pidns13.c | 132 if (info.si_fd == pipe_fd[0] && info.si_code == POLL_IN) in child_fn() 134 info.si_fd, info.si_code); in child_fn() 137 info.si_fd, info.si_code); in child_fn()
|
D | pidns30.c | 133 if (si->si_code != SI_MESGQ) { in child_signal_handler() 135 si->si_code); in child_signal_handler()
|
/external/libbrillo/brillo/ |
D | process_reaper_unittest.cc | 79 EXPECT_EQ(CLD_EXITED, info.si_code); in TEST_F() 102 EXPECT_EQ(CLD_EXITED, info.si_code); in TEST_F() 123 EXPECT_EQ(CLD_KILLED, info.si_code); in TEST_F()
|
D | process_reaper.cc | 76 << " (code = " << info.si_code << ")"; in HandleSIGCHLD() 80 << info.si_status << " (code = " << info.si_code << ")"; in HandleSIGCHLD()
|
/external/valgrind/memcheck/tests/linux/ |
D | sigqueue.c | 23 offsetof(siginfo_t, si_code)); in main() 29 si->si_code = SI_QUEUE; in main()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | siginfo.h | 52 int si_code; member 169 #define SI_FROMUSER(siptr) ((siptr)->si_code <= 0) 170 #define SI_FROMKERNEL(siptr) ((siptr)->si_code > 0)
|
/external/ltp/testcases/kernel/syscalls/waitid/ |
D | waitid01.c | 50 tst_resm(TINFO, "code = %d", infop->si_code); in display_status() 51 if (infop->si_code == CLD_EXITED) in display_status()
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
D | protection_keys.c | 231 static char *si_code_str(int si_code) in si_code_str() argument 233 if (si_code == SEGV_MAPERR) in si_code_str() 235 if (si_code == SEGV_ACCERR) in si_code_str() 237 if (si_code == SEGV_BNDERR) in si_code_str() 239 if (si_code == SEGV_PKUERR) in si_code_str() 269 trapno, ip, si_code_str(si->si_code), si->si_code); in signal_handler() 299 if ((si->si_code == SEGV_MAPERR) || in signal_handler() 300 (si->si_code == SEGV_ACCERR) || in signal_handler() 301 (si->si_code == SEGV_BNDERR)) { in signal_handler()
|
/external/ltp/testcases/kernel/syscalls/sigwaitinfo/ |
D | sigwaitinfo01.c | 188 && si.si_code == SI_USER in test_unmasked_matching() 232 && si.si_code == SI_USER in test_masked_matching() 278 && si.si_code == SI_USER in test_masked_matching_rt() 285 && si.si_code == SI_USER in test_masked_matching_rt()
|
/external/linux-kselftest/tools/testing/selftests/breakpoints/ |
D | breakpoint_test_arm64.c | 188 if (siginfo.si_code != TRAP_HWBKPT) { in run_test() 190 "Unexpected si_code %d\n", siginfo.si_code); in run_test()
|
/external/ltp/testcases/kernel/syscalls/mq_notify/ |
D | mq_notify01.c | 101 cmp_ok = si->si_code == SI_MESGQ && in sigfunc() 183 info.si_code, SI_MESGQ); in do_test()
|