/external/libbrillo/brillo/ |
D | asynchronous_signal_handler_unittest.cc | 68 SIGCHLD, in TEST_F() 73 EXPECT_EQ(0, kill(getpid(), SIGCHLD)); in TEST_F() 79 EXPECT_EQ(SIGCHLD, infos_[0].ssi_signo); in TEST_F() 81 EXPECT_EQ(0, kill(getpid(), SIGCHLD)); in TEST_F() 98 SIGCHLD, in TEST_F() 104 EXPECT_EQ(0, kill(getpid(), SIGCHLD)); in TEST_F() 112 EXPECT_EQ(SIGCHLD, infos_[i].ssi_signo); in TEST_F() 118 SIGCHLD, in TEST_F() 132 EXPECT_EQ(SIGCHLD, infos_[0].ssi_signo); in TEST_F()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigset/ |
D | 7-1.c | 52 rc = sigaction(SIGCHLD, &act, 0); in main() 58 if (sigset(SIGCHLD, SIG_HOLD) == SIG_ERR) { in main() 63 raise(SIGCHLD); in main() 71 rc = sigismember(&pendingset, SIGCHLD); in main() 77 sigrelse(SIGCHLD); in main()
|
D | 6-1.c | 44 rc = sigaction(SIGCHLD, &act, 0); in main() 50 if (sigset(SIGCHLD, SIG_HOLD) == SIG_ERR) { in main() 55 raise(SIGCHLD); in main() 63 if (sigismember(&pendingset, SIGCHLD) != 1) { in main()
|
D | 4-1.c | 26 if (sigismember(&mask, SIGCHLD)) { in myhandler() 33 if (sigset(SIGCHLD, myhandler) == SIG_ERR) { in main() 38 raise(SIGCHLD); in main()
|
D | 1-1.c | 42 if (sigaction(SIGCHLD, &act, 0) != 0) { in main() 47 if (sigset(SIGCHLD, SIG_DFL) != myhandler) { in main() 52 raise(SIGCHLD); in main()
|
D | 5-1.c | 31 int siglist[] = { SIGABRT, SIGALRM, SIGBUS, SIGCHLD, in is_empty() 67 if (sigset(SIGCHLD, myhandler) == SIG_ERR) { in main() 72 raise(SIGCHLD); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
D | 28-4.c | 63 if (signal(SIGCHLD, handler_1) == SIG_ERR) { in main() 83 ret = sigaction(SIGCHLD, &sa, &save); in main() 91 ret = raise(SIGCHLD); in main() 104 ret = sigaction(SIGCHLD, &save, 0); in main() 112 ret = raise(SIGCHLD); in main()
|
D | 3-4.c | 40 if (sigaction(SIGCHLD, &act, 0) == -1) { in main() 46 if (sigaction(SIGCHLD, 0, &oact) == -1) { in main() 52 if (raise(SIGCHLD) == -1) { in main()
|
D | 22-4.c | 54 raise(SIGCHLD); in handler() 71 if (sigaction(SIGCHLD, &act, 0) == -1) { in main() 77 if (raise(SIGCHLD) == -1) { in main()
|
D | 8-5.c | 32 raise(SIGCHLD); in SIGCONT_handler() 46 sigaddset(&act.sa_mask, SIGCHLD); in main() 56 if (sigaction(SIGCHLD, &act, 0) == -1) { in main()
|
D | 25-4.c | 53 raise(SIGCHLD); in handler() 70 if (sigaction(SIGCHLD, &act, 0) == -1) { in main() 76 if (raise(SIGCHLD) == -1) { in main()
|
D | 19-4.c | 52 if (info->si_signo != SIGCHLD) { in handler() 87 ret = sigaction(SIGCHLD, &sa, 0); in main() 100 ret = raise(SIGCHLD); in main()
|
/external/strace/tests-m32/ |
D | qual_signal.test | 56 CHLD SIGCHLD ALRM SIGALRM \ 58 CHLD,SIGALRM ALRM,SIGCHLD \ 70 ALRM,2,SIGCHLD \ 81 ALRM,15,SIGCHLD \
|
/external/strace/tests-mx32/ |
D | qual_signal.test | 56 CHLD SIGCHLD ALRM SIGALRM \ 58 CHLD,SIGALRM ALRM,SIGCHLD \ 70 ALRM,2,SIGCHLD \ 81 ALRM,15,SIGCHLD \
|
/external/strace/tests/ |
D | qual_signal.test | 56 CHLD SIGCHLD ALRM SIGALRM \ 58 CHLD,SIGALRM ALRM,SIGCHLD \ 70 ALRM,2,SIGCHLD \ 81 ALRM,15,SIGCHLD \
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigdelset/ |
D | 1-3.c | 29 if (sigismember(&signalset, SIGCHLD) == 1) { in main() 34 sigdelset(&signalset, SIGCHLD); in main() 36 if (sigismember(&signalset, SIGCHLD) == 0) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/signal/ |
D | 2-1.c | 34 if (signal(SIGCHLD, myhandler) == SIG_ERR) { in main() 39 if (signal(SIGCHLD, SIG_IGN) != myhandler) { in main() 44 raise(SIGCHLD); in main()
|
D | 1-1.c | 35 if (signal(SIGCHLD, myhandler) == SIG_ERR) { in main() 40 if (signal(SIGCHLD, SIG_DFL) != myhandler) { in main() 45 raise(SIGCHLD); in main()
|
/external/ltp/testcases/kernel/syscalls/clone/ |
D | clone08.c | 64 {"CLONE_PARENT", CLONE_PARENT | SIGCHLD, 66 {"CLONE_CHILD_SETTID", CLONE_CHILD_SETTID | SIGCHLD, 68 {"CLONE_PARENT_SETTID", CLONE_PARENT_SETTID | CLONE_VM | SIGCHLD, 71 {"CLONE_STOPPED", CLONE_STOPPED | CLONE_VM | SIGCHLD, 75 CLONE_CHILD_CLEARTID | SIGCHLD,
|
/external/ltp/lib/ |
D | tst_run_cmd.c | 56 void *old_handler = signal(SIGCHLD, SIG_DFL); in tst_run_cmd_fds_() 90 signal(SIGCHLD, old_handler); in tst_run_cmd_fds_() 165 void *old_handler = signal(SIGCHLD, SIG_DFL); in tst_system() 169 signal(SIGCHLD, old_handler); in tst_system()
|
D | tst_virt.c | 74 void *old_handler = signal(SIGCHLD, SIG_DFL); in try_systemd_detect_virt() 78 signal(SIGCHLD, old_handler); in try_systemd_detect_virt() 87 signal(SIGCHLD, old_handler); in try_systemd_detect_virt()
|
/external/ltp/testcases/kernel/syscalls/sigwaitinfo/ |
D | sigwaitinfo01.c | 219 SUCCEED_OR_DIE(sigaddset, "sigaddset failed", &sigs, SIGCHLD); in test_masked_matching() 225 SUCCEED_OR_DIE(sigdelset, "sigaddset failed", &sigs, SIGCHLD); in test_masked_matching() 260 SUCCEED_OR_DIE(sigaddset, "sigaddset failed", &sigs, SIGCHLD); in test_masked_matching_rt() 266 SUCCEED_OR_DIE(sigdelset, "sigdelset failed", &sigs, SIGCHLD); in test_masked_matching_rt() 309 SUCCEED_OR_DIE(sigaddset, "sigaddset failed", &sigs, SIGCHLD); in test_masked_matching_noinfo() 315 SUCCEED_OR_DIE(sigdelset, "sigaddset failed", &sigs, SIGCHLD); in test_masked_matching_noinfo() 344 SUCCEED_OR_DIE(sigaddset, "sigaddset failed", &sigs, SIGCHLD); in test_bad_address() 350 SUCCEED_OR_DIE(sigdelset, "sigaddset failed", &sigs, SIGCHLD); in test_bad_address()
|
/external/libdaemon/libdaemon/ |
D | dfork.c | 152 if (sigaddset(&ss_new, SIGCHLD) < 0) { in daemon_fork() 157 if (sigaction(SIGCHLD, &sa_new, &sa_old) < 0) { in daemon_fork() 166 sigaction(SIGCHLD, &sa_old, NULL); in daemon_fork() 176 sigaction(SIGCHLD, &sa_old, NULL); in daemon_fork() 189 sigaction(SIGCHLD, &sa_old, NULL); in daemon_fork() 262 if (sigaction(SIGCHLD, &sa_old, NULL) < 0) { in daemon_fork() 324 sigaction(SIGCHLD, &sa_old, NULL); in daemon_fork() 331 sigaction(SIGCHLD, &sa_old, NULL); in daemon_fork()
|
/external/honggfuzz/ |
D | honggfuzz.c | 82 if (sig == SIGCHLD) { in sigHandler() 143 sigaddset(&ss, SIGCHLD); in setupSignalsPreThreads() 170 if (sigaction(SIGCHLD, &sa, NULL) == -1) { in setupSignalsPreThreads() 211 sigaddset(&ss, SIGCHLD); in signalThread() 224 if (sig == SIGCHLD) { in signalThread()
|
/external/ltp/testcases/kernel/syscalls/kill/ |
D | kill12.c | 89 if (sigset(SIGCHLD, chsig) == SIG_ERR) { in main() 112 kill(pid, SIGCHLD); /* child should exit */ in main() 202 kill(getppid(), SIGCHLD); /* tell parent we are ready */ in do_child()
|