Home
last modified time | relevance | path

Searched refs:WTERMSIG (Results 1 – 25 of 188) sorted by relevance

12345678

/external/selinux/libsepol/cil/test/unit/
Dtest_integration.c45 if (WIFSIGNALED(status) && (WTERMSIG(status) == SIGINT || WTERMSIG(status) == SIGQUIT)) in test_integration()
50 if (WIFSIGNALED(status1) && (WTERMSIG(status1) == SIGINT || WTERMSIG(status1) == SIGQUIT)) in test_integration()
55 if (WIFSIGNALED(status2) && (WTERMSIG(status2) == SIGINT || WTERMSIG(status2) == SIGQUIT)) in test_integration()
71 if (WIFSIGNALED(status) && (WTERMSIG(status) == SIGINT || WTERMSIG(status) == SIGQUIT)) in test_min_policy()
/external/bison/lib/
Dsys_wait.in.h54 # 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
Dwait-process.c339 *termsigp = WTERMSIG (status); in wait_subprocess()
341 if (WTERMSIG (status) == SIGPIPE && ignore_sigpipe) in wait_subprocess()
347 progname, (int) WTERMSIG (status)); in wait_subprocess()
/external/bison/linux-lib/sys/
Dwait.h356 # 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/darwin-lib/sys/
Dwait.h356 # 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/solaris/
Dblock_all_signals.c41 assert(WTERMSIG(status) != 0); in main()
43 if (WTERMSIG(status) == SIGSEGV) { in main()
47 WTERMSIG(status)); in main()
/external/ltp/testcases/kernel/containers/pidns/
Dpidns13.c213 if (WIFSIGNALED(status) && WTERMSIG(status)) in main()
215 strsignal(WTERMSIG(status))); in main()
220 if (WIFSIGNALED(status) && WTERMSIG(status)) in main()
222 strsignal(WTERMSIG(status))); in main()
Dpidns17.c106 if (!(WIFSIGNALED(status) || WTERMSIG(status) == SIGUSR1)) { in child_fn()
118 WIFSIGNALED(status), WTERMSIG(status)); in child_fn()
158 WTERMSIG(status)); in main()
Dpidns12.c159 if (WIFSIGNALED(status) && WTERMSIG(status)) in main()
161 strsignal(WTERMSIG(status))); in main()
Dpidns20.c197 if (WTERMSIG(status) == SIGUSR1) in main()
203 WTERMSIG(status)); in main()
/external/valgrind/memcheck/tests/
Daddressable.c141 assert(WTERMSIG(status) != 0); in main()
144 (WTERMSIG(status) == SIGSEGV || in main()
145 WTERMSIG(status) == SIGBUS)) in main()
149 WTERMSIG(status)); in main()
/external/valgrind/none/tests/
Dasync-sigs.c73 WIFEXITED(status) ? WEXITSTATUS(status) : WTERMSIG(status)); in do_kill()
126 } else if (!WIFSIGNALED(status) || WTERMSIG(status) != fatalsig) { in test()
129 WIFEXITED(status) ? WEXITSTATUS(status) : WTERMSIG(status)); in test()
Dpth_term_signal.c87 fprintf(stderr, "Signal %d\n", WTERMSIG(status)); in main()
88 assert(WTERMSIG(status) == SIGTERM); in main()
/external/ltp/testcases/kernel/syscalls/pause/
Dpause03.c74 if (WIFSIGNALED(status) && WTERMSIG(status) == SIGKILL) { in main()
81 tst_strsig(WTERMSIG(status))); in main()
/external/ltp/testcases/kernel/syscalls/fork/
Dfork12.c83 if (WTERMSIG(status) == SIGKILL) in main()
87 WEXITSTATUS(status), WTERMSIG(status)); in main()
/external/ltp/testcases/kernel/syscalls/ptrace/
Dptrace05.c123 if (WTERMSIG(status) == SIGKILL) { in main()
159 WTERMSIG(status)); in main()
/external/ltp/testcases/kernel/syscalls/epoll/
Depoll-ltp.c161 WTERMSIG(kid_status), strsignal(WTERMSIG(kid_status))); \
191 WTERMSIG(kid_status), strsignal(WTERMSIG(kid_status))); \
/external/ltp/testcases/kernel/syscalls/signal/
Dsignal01.c128 if (WTERMSIG(res) == SIGKILL) { in do_test()
132 tst_strsig(WTERMSIG(res))); in do_test()
/external/strace/
Dwait.c82 signame(WTERMSIG(status)), in printstatus()
84 status &= ~(W_EXITCODE(0, WTERMSIG(status)) | WCOREFLAG); in printstatus()
/external/ltp/testcases/kernel/mem/tunable/
Dmin_free_kbytes.c158 if (!WIFSIGNALED(status) || WTERMSIG(status) != SIGKILL) in test_tune()
180 WTERMSIG(status) != SIGKILL) { in test_tune()
/external/fio/os/windows/posix/include/sys/
Dwait.h6 #define WTERMSIG(a) 0 macro
/external/bison/m4/
Dposix_spawn.m4118 #ifndef WTERMSIG
119 # define WTERMSIG(x) ((x) & 0x7f)
122 # define WIFEXITED(x) (WTERMSIG (x) == 0)
261 #ifndef WTERMSIG
262 # define WTERMSIG(x) ((x) & 0x7f)
265 # define WIFEXITED(x) (WTERMSIG (x) == 0)
/external/strace/tests-mx32/
Drun_expect_termsig.c57 return !(WIFSIGNALED(status) && WTERMSIG(status) == atoi(av[1])); in main()
/external/strace/tests-m32/
Drun_expect_termsig.c57 return !(WIFSIGNALED(status) && WTERMSIG(status) == atoi(av[1])); in main()
/external/strace/tests/
Drun_expect_termsig.c57 return !(WIFSIGNALED(status) && WTERMSIG(status) == atoi(av[1])); in main()

12345678