HomeSort by relevance Sort by last modified time
    Searched refs:SIGABRT (Results 1 - 25 of 382) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
3-1.c 15 2. Set the signal handler for SIGABRT to handler
17 4. raise SIGABRT
40 if (sigaction(SIGABRT, &act, 0) == -1) {
46 if (sigaction(SIGABRT, 0, &oact) == -1) {
52 if (raise(SIGABRT) == -1) {
1-1.c 17 2. Use sigaction to setup a signal handler for SIGABRT
18 3. Raise SIGABRT.
40 if (sigaction(SIGABRT, &act, 0) == -1) {
46 if (raise(SIGABRT) == -1) {
28-1.c 24 * -> register a signal handler for SIGABRT with signal().
65 if (signal(SIGABRT, handler_1) == SIG_ERR) {
85 ret = sigaction(SIGABRT, &sa, &save);
93 ret = raise(SIGABRT);
106 ret = sigaction(SIGABRT, &save, 0);
114 ret = raise(SIGABRT);
22-1.c 18 3. (child) Setup a signal handler for SIGABRT with SA_NODEFER set
20 4. (child) raise SIGABRT
22 6. (child, signal handler) if count is 1 then raise SIGABRT
44 printf("SIGABRT caught\n");
54 printf("Raising SIGABRT\n");
55 raise(SIGABRT);
56 printf("Returning from raising SIGABRT\n");
72 if (sigaction(SIGABRT, &act, 0) == -1) {
78 if (raise(SIGABRT) == -1) {
25-1.c 17 3. (child) Setup a signal handler for SIGABRT
18 4. (child) raise SIGABRT
20 6. (child, signal handler) if count is 1 then raise SIGABRT
41 printf("SIGABRT caught\n");
52 printf("Raising SIGABRT\n");
53 raise(SIGABRT);
54 printf("Returning from raising SIGABRT\n");
70 if (sigaction(SIGABRT, &act, 0) == -1) {
76 if (raise(SIGABRT) == -1) {
8-2.c 26 printf("Caught SIGABRT\n");
32 raise(SIGABRT);
46 sigaddset(&act.sa_mask, SIGABRT);
56 if (sigaction(SIGABRT, &act, 0) == -1) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sighold/
1-1.c 9 1. Set up a handler for signal SIGABRT, such that it is called if signal is ever raised.
10 2. Call sighold on that SIGABRT.
11 3. Raise a SIGABRT and verify that the signal handler was not called.
36 if (sigaction(SIGABRT, &act, 0) == -1) {
42 if (sighold(SIGABRT) == -1) {
48 if (raise(SIGABRT) == -1) {
2-1.c 21 if (sighold(SIGABRT) != 0) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigignore/
1-1.c 9 1. Set up a handler for signal SIGABRT, such that it is called if
11 2. Call sigignore on SIGABRT.
12 3. Raise a SIGABRT and verify that the signal handler was not called.
36 if (sigaction(SIGABRT, &act, 0) == -1) {
42 sigignore(SIGABRT);
44 if (raise(SIGABRT) == -1) {
4-1.c 18 if (sigignore(SIGABRT) != 0) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigrelse/
1-1.c 11 * 1. Set up a handler for signal SIGABRT, such that it is called if
13 * 2. Call sighold on that SIGABRT.
14 * 3. Raise a SIGABRT and verify that the signal handler was not called.
16 * 4. Call sigrelse on SIGABRT.
40 if (sigaction(SIGABRT, &act, 0) == -1) {
45 sighold(SIGABRT);
47 if (raise(SIGABRT) == -1) {
48 perror("Failed to raise SIGABRT.");
57 if (sigrelse(SIGABRT) == -1) {
65 printf("Test PASSED: SIGABRT removed from signal mask\n")
    [all...]
2-1.c 19 if (sigrelse(SIGABRT) != 0) {
  /external/valgrind/gdbserver_tests/
nlgone_abrt.stdoutB.exp 2 Program received signal SIGABRT, Aborted.
5 Program terminated with signal SIGABRT, Aborted.
  /external/libcxx/test/libcxx/debug/
debug_abort.pass.cpp 26 if (signal == SIGABRT)
33 if (std::signal(SIGABRT, signal_handler) != SIG_ERR)
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/debug/
debug_abort.pass.cpp 26 if (signal == SIGABRT)
33 if (std::signal(SIGABRT, signal_handler) != SIG_ERR)
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/
5-1.c 28 sigaddset(&blocked_set, SIGABRT);
33 if (sigaction(SIGABRT, &act, 0) == -1) {
45 if (raise(SIGABRT) == -1) {
61 if (sigismember(&pending_set, SIGABRT) == -1) {
67 if (sigismember(&pending_set, SIGABRT) != 1) {
15-1.c 21 sigaddset(&set, SIGABRT);
4-1.c 31 sigaddset(&blocked_set1, SIGABRT);
38 if (sigaction(SIGABRT, &act, 0) == -1) {
62 if ((raise(SIGABRT) == -1) | (raise(SIGUSR2) == -1)) {
78 if ((sigismember(&pending_set, SIGABRT) !=
8-1.c 10 1. Add only SIGABRT to the signal mask.
13 3. Now call is_changed to make sure that SIGABRT is still in oactl, and
28 int siglist[] = { SIGABRT, SIGALRM, SIGBUS, SIGCHLD,
63 sigaddset(&actl, SIGABRT);
68 if (is_changed(oactl, SIGABRT))
8-2.c 10 1. Add only SIGABRT to the signal mask.
14 3. Now call is_changed to make sure that SIGABRT is still in oactl, and
29 int siglist[] = { SIGABRT, SIGALRM, SIGBUS, SIGCHLD,
64 sigaddset(&actl, SIGABRT);
69 if (is_changed(oactl, SIGABRT))
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/
15-1.c 22 sigaddset(&set, SIGABRT);
5-1.c 13 only SIGABRT (by passing SIG_SETMASK value to pthread_sigmask)
14 4. Raise SIGABRT, and make sure that the handler associated with it
16 5. Also make sure that SIGABRT is pending, otherwise fail.
24 - A value of -1 if SIGABRT wasn't found pending or
26 - A value of 0 if SIGABRT was in fact pending and the handler
50 sigaddset(&blocked_set, SIGABRT);
56 if (sigaction(SIGABRT, &act, 0) == -1) {
68 if (raise(SIGABRT) == -1) {
84 if (sigismember(&pending_set, SIGABRT) == -1) {
89 if (sigismember(&pending_set, SIGABRT) != 1)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigismember/
3-1.c 9 * it for a SIGABRT function. Sigmember should return a 1.
24 if (sigismember(&signalset, SIGABRT) != 1) {
4-1.c 9 * a SIGABRT function. Sigmember should return a 0 indicating that
26 if (sigismember(&signalset, SIGABRT) != 0) {
  /bionic/tests/
BionicDeathTest.h 32 for (int signo : { SIGABRT, SIGBUS, SIGSEGV, SIGSYS }) {
39 for (int signo : { SIGABRT, SIGBUS, SIGSEGV, SIGSYS }) {

Completed in 193 milliseconds

1 2 3 4 5 6 7 8 91011>>