/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigwait/ |
D | 3-1.c | 39 if (sigaddset(&newmask, SIGUSR2) == -1) { in main() 52 if (raise(SIGUSR2) != 0) { in main() 56 if (raise(SIGUSR2) != 0) { in main() 60 if (raise(SIGUSR2) != 0) { in main() 64 if (raise(SIGUSR2) != 0) { in main() 76 if (sigismember(&pendingset, SIGUSR2) == 0) { in main() 93 if (sigismember(&pendingset, SIGUSR2) == 1) { in main()
|
D | 1-1.c | 35 if (sigaddset(&newmask, SIGUSR2) == -1) { in main() 48 if (raise(SIGUSR2) != 0) { in main() 59 if (sigismember(&pendingset, SIGUSR2) != 1) { in main() 70 if (sig != SIGUSR2) { in main() 81 if (sigismember(&pendingset, SIGUSR2) != 0) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
D | 28-18.c | 63 if (signal(SIGUSR2, handler_1) == SIG_ERR) { in main() 83 ret = sigaction(SIGUSR2, &sa, &save); in main() 91 ret = raise(SIGUSR2); in main() 104 ret = sigaction(SIGUSR2, &save, 0); in main() 112 ret = raise(SIGUSR2); in main()
|
D | 3-2.c | 40 if (sigaction(SIGUSR2, &act, 0) == -1) { in main() 46 if (sigaction(SIGUSR2, 0, &oact) == -1) { in main() 52 if (raise(SIGUSR2) == -1) { in main()
|
D | 3-19.c | 40 if (sigaction(SIGUSR2, &act, 0) == -1) { in main() 46 if (sigaction(SIGUSR2, 0, &oact) == -1) { in main() 52 if (raise(SIGUSR2) == -1) { in main()
|
D | 3-18.c | 40 if (sigaction(SIGUSR2, &act, 0) == -1) { in main() 46 if (sigaction(SIGUSR2, 0, &oact) == -1) { in main() 52 if (raise(SIGUSR2) == -1) { in main()
|
/external/python/cpython2/Lib/test/ |
D | test_threadsignals.py | 19 usr2 = signal.signal(signal.SIGUSR2, for_usr2) 33 os.kill(process_pid, signal.SIGUSR2) 54 or signal_blackboard[signal.SIGUSR2]['tripped'] == 0: 64 self.assertEqual( signal_blackboard[signal.SIGUSR2]['tripped'], 1) 65 self.assertEqual( signal_blackboard[signal.SIGUSR2]['tripped_by'], 77 signal.SIGUSR2 : {'tripped': 0, 'tripped_by': 0 },
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/ |
D | 6-1.c | 32 sigaddset(&set1, SIGUSR2); in main() 35 sigaddset(&set2, SIGUSR2); in main() 47 if (sigaction(SIGUSR2, &act, 0) == -1) { in main() 65 if (raise(SIGUSR2) == -1) { in main() 100 if (sigismember(&pending_set, SIGUSR2) != 0) { in main()
|
D | 4-1.c | 32 sigaddset(&blocked_set2, SIGUSR2); in main() 44 if (sigaction(SIGUSR2, &act, 0) == -1) { in main() 62 if ((raise(SIGABRT) == -1) | (raise(SIGUSR2) == -1)) { in main() 79 1) | (sigismember(&pending_set, SIGUSR2) != 1)) { in main()
|
/external/strace/tests-mx32/ |
D | sigsuspend.c | 60 [SIGUSR2] = "USR2" 79 sigaddset(&u.libc_mask, SIGUSR2); in main() 84 if (sigaction(SIGUSR1, &sa, NULL) || sigaction(SIGUSR2, &sa, NULL)) in main() 88 raise(SIGUSR2); in main() 95 sigdelset(&u.libc_mask, SIGUSR2); in main()
|
D | rt_sigaction.c | 49 assert(!sigaction(SIGUSR2, &sa, &sa0)); in main() 56 assert(!sigaction(SIGUSR2, &sa, &sa0)); in main() 61 assert(!sigaction(SIGUSR2, &sa, &sa0)); in main() 65 assert(!sigaction(SIGUSR2, &sa, &sa0)); in main()
|
/external/strace/tests-m32/ |
D | sigsuspend.c | 60 [SIGUSR2] = "USR2" 79 sigaddset(&u.libc_mask, SIGUSR2); in main() 84 if (sigaction(SIGUSR1, &sa, NULL) || sigaction(SIGUSR2, &sa, NULL)) in main() 88 raise(SIGUSR2); in main() 95 sigdelset(&u.libc_mask, SIGUSR2); in main()
|
D | rt_sigaction.c | 49 assert(!sigaction(SIGUSR2, &sa, &sa0)); in main() 56 assert(!sigaction(SIGUSR2, &sa, &sa0)); in main() 61 assert(!sigaction(SIGUSR2, &sa, &sa0)); in main() 65 assert(!sigaction(SIGUSR2, &sa, &sa0)); in main()
|
/external/strace/tests/ |
D | sigsuspend.c | 60 [SIGUSR2] = "USR2" 79 sigaddset(&u.libc_mask, SIGUSR2); in main() 84 if (sigaction(SIGUSR1, &sa, NULL) || sigaction(SIGUSR2, &sa, NULL)) in main() 88 raise(SIGUSR2); in main() 95 sigdelset(&u.libc_mask, SIGUSR2); in main()
|
D | rt_sigaction.c | 49 assert(!sigaction(SIGUSR2, &sa, &sa0)); in main() 56 assert(!sigaction(SIGUSR2, &sa, &sa0)); in main() 61 assert(!sigaction(SIGUSR2, &sa, &sa0)); in main() 65 assert(!sigaction(SIGUSR2, &sa, &sa0)); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
D | 12-1.c | 74 ret = sigaddset(&mask, SIGUSR2); in main() 93 ret = kill(getpid(), SIGUSR2); in main() 115 ret = sigismember(&pending, SIGUSR2); in main() 159 ret = sigismember(&mask, SIGUSR2); in main() 195 ret = sigismember(&pending, SIGUSR2); in main()
|
/external/libunwind/tests/ |
D | Gtest-resume-sig.c | 97 sigaddset (&mask, SIGUSR2); in handler() 99 kill (getpid (), SIGUSR2); /* pend SIGUSR2 */ in handler() 125 else if (sig == SIGUSR2) in handler() 133 signal (SIGUSR2, SIG_IGN); in handler() 158 sigaction (SIGUSR2, &sa, NULL) != 0) in main()
|
/external/ltp/testcases/kernel/syscalls/sigpending/ |
D | sigpending02.c | 56 sigaddset(&only_SIGUSR, SIGUSR2); in test_sigpending() 60 old_sighandler2 = SAFE_SIGNAL(SIGUSR2, sighandler); in test_sigpending() 87 if (raise(SIGUSR2)) in test_sigpending() 97 if ((i == SIGUSR1 || i == SIGUSR2) != sigismember(&pending, i)) in test_sigpending() 114 SAFE_SIGNAL(SIGUSR2, old_sighandler2); in test_sigpending()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigsuspend/ |
D | 1-1.c | 60 } else if (signo == SIGUSR2) { in handler() 87 sigaddset(&tempmask, SIGUSR2); in main() 95 if (sigaction(SIGUSR2, &act, 0) == -1) { in main() 121 kill(pid, SIGUSR2); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
D | 8-1.c | 61 if (sigaddset(&main_sigmask, SIGUSR2) != 0) { in main() 76 if (raise(SIGUSR2) != 0) { in main() 103 ret = sigismember(&th_sigmask, SIGUSR2); in main() 123 ret = sigismember(&th_pendingset, SIGUSR2); in main()
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl15.c | 100 signal(SIGUSR2, parent_sig); in parent_sig() 129 sigaddset(&newmask, SIGUSR2); in dochild1() 212 sigaddset(&newmask, SIGUSR2); in dofork() 280 sigaddset(&newmask, SIGUSR2); in dochild2() 371 if ((signal(SIGUSR2, parent_sig)) == SIG_ERR) { in run_test() 468 sigaddset(&newmask, SIGUSR2); in run_test() 496 if ((kill(child2, SIGUSR2)) < 0) { in run_test() 503 if ((kill(child1, SIGUSR2)) < 0) { in run_test()
|
/external/ltp/testcases/kernel/syscalls/prctl/ |
D | prctl01.c | 19 TEST(prctl(PR_SET_PDEATHSIG, SIGUSR2)); in verify_prctl() 33 if (get_sig == SIGUSR2) { in verify_prctl() 38 get_sig, SIGUSR2); in verify_prctl()
|
/external/ltp/testcases/kernel/syscalls/ptrace/ |
D | ptrace02.c | 140 if ((sigaction(SIGUSR2, &parent_act, NULL)) in main() 232 if ((sigaction(SIGUSR2, &child_act, NULL)) == -1) { in do_child() 243 if ((kill(getpid(), SIGUSR2)) == -1) { in do_child() 275 if ((kill(getppid(), SIGUSR2)) == -1) { in child_handler()
|
D | ptrace01.c | 140 if ((sigaction(SIGUSR2, &parent_act, NULL)) in main() 231 if ((sigaction(SIGUSR2, &child_act, NULL)) == -1) { in do_child() 241 if ((kill(getpid(), SIGUSR2)) == -1) { in do_child() 273 if ((kill(getppid(), SIGUSR2)) == -1) { in child_handler()
|
/external/elfutils/tests/ |
D | backtrace-child.c | 121 assert (signo == SIGUSR2); in sigusr2() 161 sighandler_t sigusr2_orig = signal (SIGUSR2, sigusr2); in stdarg() 176 sigusr2 (SIGUSR2); in stdarg() 243 raise (SIGUSR2); in main()
|