Searched refs:WTERMSIG (Results 1 - 25 of 178) sorted by relevance

12345678

/external/selinux/libsepol/cil/test/unit/
H A Dtest_integration.c45 if (WIFSIGNALED(status) && (WTERMSIG(status) == SIGINT || WTERMSIG(status) == SIGQUIT))
50 if (WIFSIGNALED(status1) && (WTERMSIG(status1) == SIGINT || WTERMSIG(status1) == SIGQUIT))
55 if (WIFSIGNALED(status2) && (WTERMSIG(status2) == SIGINT || WTERMSIG(status2) == SIGQUIT))
71 if (WIFSIGNALED(status) && (WTERMSIG(status) == SIGINT || WTERMSIG(status) == SIGQUIT))
/external/bison/lib/
H A Dsys_wait.in.h48 WTERMSIG are bits 7..0, while BeOS uses the opposite. Therefore programs
54 # define WIFSIGNALED(x) (WTERMSIG (x) != 0 && WTERMSIG(x) != 0x7f)
57 # define WIFEXITED(x) (WTERMSIG (x) == 0)
60 # define WIFSTOPPED(x) (WTERMSIG (x) == 0x7f)
64 # ifndef WTERMSIG
65 # define WTERMSIG(x) ((x) & 0x7f) macro
98 # define WTERMSIG(x) SIGTERM
/external/fio/os/windows/posix/include/sys/
H A Dwait.h6 #define WTERMSIG(a) 0 macro
/external/valgrind/none/tests/solaris/
H A Dblock_all_signals.c41 assert(WTERMSIG(status) != 0);
43 if (WTERMSIG(status) == SIGSEGV) {
47 WTERMSIG(status));
/external/ltp/testcases/kernel/containers/pidns/
H A Dpidns17.c108 if (!(WIFSIGNALED(status) || WTERMSIG(status) == SIGUSR1)) {
115 * WTERMSIG.
120 WIFSIGNALED(status), WTERMSIG(status));
160 WTERMSIG(status));
H A Dpidns13.c214 if (WIFSIGNALED(status) && WTERMSIG(status))
216 strsignal(WTERMSIG(status)));
221 if (WIFSIGNALED(status) && WTERMSIG(status))
223 strsignal(WTERMSIG(status)));
H A Dpidns12.c161 if (WIFSIGNALED(status) && WTERMSIG(status))
163 strsignal(WTERMSIG(status)));
H A Dpidns20.c199 if (WTERMSIG(status) == SIGUSR1)
205 WTERMSIG(status));
H A Dpidns01.c114 WTERMSIG(status));
H A Dpidns02.c110 WTERMSIG(status));
H A Dpidns03.c101 tst_strsig(WTERMSIG(status)));
/external/jemalloc/test/unit/
H A Dfork.c39 "signal %d", WTERMSIG(status));
/external/openssh/openbsd-compat/
H A Dbsd-waitpid.h43 #define WTERMSIG(w) (int)(WIFSIGNALED(w) ? (_W_INT(w) & 0177) : -1) macro
/external/valgrind/memcheck/tests/
H A Daddressable.c141 assert(WTERMSIG(status) != 0);
144 (WTERMSIG(status) == SIGSEGV ||
145 WTERMSIG(status) == SIGBUS))
149 WTERMSIG(status));
/external/ltp/testcases/kernel/syscalls/fork/
H A Dfork12.c83 if (WTERMSIG(status) == SIGKILL)
87 WEXITSTATUS(status), WTERMSIG(status));
/external/ltp/testcases/kernel/syscalls/pause/
H A Dpause03.c74 if (WIFSIGNALED(status) && WTERMSIG(status) == SIGKILL) {
81 tst_strsig(WTERMSIG(status)));
/external/bison/darwin-lib/sys/
H A Dwait.h350 WTERMSIG are bits 7..0, while BeOS uses the opposite. Therefore programs
356 # define WIFSIGNALED(x) (WTERMSIG (x) != 0 && WTERMSIG(x) != 0x7f)
359 # define WIFEXITED(x) (WTERMSIG (x) == 0)
362 # define WIFSTOPPED(x) (WTERMSIG (x) == 0x7f)
366 # ifndef WTERMSIG
367 # define WTERMSIG(x) ((x) & 0x7f) macro
400 # define WTERMSIG(x) SIGTERM macro
/external/bison/linux-lib/sys/
H A Dwait.h350 WTERMSIG are bits 7..0, while BeOS uses the opposite. Therefore programs
356 # define WIFSIGNALED(x) (WTERMSIG (x) != 0 && WTERMSIG(x) != 0x7f)
359 # define WIFEXITED(x) (WTERMSIG (x) == 0)
362 # define WIFSTOPPED(x) (WTERMSIG (x) == 0x7f)
366 # ifndef WTERMSIG
367 # define WTERMSIG(x) ((x) & 0x7f) macro
400 # define WTERMSIG(x) SIGTERM macro
/external/valgrind/none/tests/
H A Dasync-sigs.c73 WIFEXITED(status) ? WEXITSTATUS(status) : WTERMSIG(status));
126 } else if (!WIFSIGNALED(status) || WTERMSIG(status) != fatalsig) {
129 WIFEXITED(status) ? WEXITSTATUS(status) : WTERMSIG(status));
/external/libmicrohttpd/src/testzzuf/
H A Dsocat.c87 "zzuf died from signal %d!\n", WTERMSIG (status));
/external/toybox/toys/posix/
H A Dtime.c47 toys.exitval = WIFEXITED(stat) ? WEXITSTATUS(stat) : WTERMSIG(stat);
/external/ltp/testcases/kernel/syscalls/ptrace/
H A Dptrace05.c148 if (WTERMSIG(status) == SIGKILL) {
184 WTERMSIG(status));
/external/ltp/testcases/kernel/syscalls/signal/
H A Dsignal01.c128 if (WTERMSIG(res) == SIGKILL) {
132 tst_strsig(WTERMSIG(res)));
/external/strace/
H A Dwait.c81 tprintf("[{WIFSIGNALED(s) && WTERMSIG(s) == %s%s}",
82 signame(WTERMSIG(status)),
84 status &= ~(W_EXITCODE(0, WTERMSIG(status)) | WCOREFLAG);
/external/linux-kselftest/tools/testing/selftests/powerpc/
H A Dharness.c78 printf("!! child died by signal %d\n", WTERMSIG(status));

Completed in 1759 milliseconds

12345678