/external/strace/tests-mx32/ |
D | qual_signal.test | 77 test_sigs '' SIGTERM \ 78 15 TERM SIGTERM \ 79 CHLD,SIGTERM SIGTERM,SIGALRM \ 88 test_sigs SIGINT SIGTERM \ 90 INT,TERM SIGINT,TERM SIGTERM,INT SIGINT,SIGTERM \ 92 2,15 2,TERM SIGTERM,2 TERM,15,SIGINT,2 \
|
/external/strace/tests/ |
D | qual_signal.test | 77 test_sigs '' SIGTERM \ 78 15 TERM SIGTERM \ 79 CHLD,SIGTERM SIGTERM,SIGALRM \ 88 test_sigs SIGINT SIGTERM \ 90 INT,TERM SIGINT,TERM SIGTERM,INT SIGINT,SIGTERM \ 92 2,15 2,TERM SIGTERM,2 TERM,15,SIGINT,2 \
|
/external/strace/tests-m32/ |
D | qual_signal.test | 77 test_sigs '' SIGTERM \ 78 15 TERM SIGTERM \ 79 CHLD,SIGTERM SIGTERM,SIGALRM \ 88 test_sigs SIGINT SIGTERM \ 90 INT,TERM SIGINT,TERM SIGTERM,INT SIGINT,SIGTERM \ 92 2,15 2,TERM SIGTERM,2 TERM,15,SIGINT,2 \
|
/external/ltp/testcases/kernel/syscalls/rename/ |
D | rename14.c | 78 if (sigaction(SIGTERM, &act, &oact)) { in main() 101 (void)kill(kidpid[0], SIGTERM); in main() 116 kill(kidpid[0], SIGTERM); in main() 117 kill(kidpid[1], SIGTERM); in main() 136 return (kill(kidpid[0], SIGTERM)); in term() 138 return (kill(kidpid[1], SIGTERM)); in term() 145 return (kill(kidpid[0], SIGTERM)); in al() 147 return (kill(kidpid[1], SIGTERM)); in al()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
D | 28-13.c | 63 if (signal(SIGTERM, handler_1) == SIG_ERR) { in main() 83 ret = sigaction(SIGTERM, &sa, &save); in main() 91 ret = raise(SIGTERM); in main() 104 ret = sigaction(SIGTERM, &save, 0); in main() 112 ret = raise(SIGTERM); in main()
|
D | 3-13.c | 40 if (sigaction(SIGTERM, &act, 0) == -1) { in main() 46 if (sigaction(SIGTERM, 0, &oact) == -1) { in main() 52 if (raise(SIGTERM) == -1) { in main()
|
D | 22-13.c | 54 raise(SIGTERM); in handler() 71 if (sigaction(SIGTERM, &act, 0) == -1) { in main() 77 if (raise(SIGTERM) == -1) { in main()
|
D | 25-13.c | 53 raise(SIGTERM); in handler() 70 if (sigaction(SIGTERM, &act, 0) == -1) { in main() 76 if (raise(SIGTERM) == -1) { in main()
|
D | 8-14.c | 32 raise(SIGTERM); in SIGTSTP_handler() 46 sigaddset(&act.sa_mask, SIGTERM); in main() 56 if (sigaction(SIGTERM, &act, 0) == -1) { in main()
|
D | 19-13.c | 52 if (info->si_signo != SIGTERM) { in handler() 87 ret = sigaction(SIGTERM, &sa, 0); in main() 100 ret = raise(SIGTERM); in main()
|
D | 1-13.c | 40 if (sigaction(SIGTERM, &act, 0) == -1) { in main() 46 if (raise(SIGTERM) == -1) { in main()
|
D | 6-13.c | 36 if (sigaction(SIGTERM, &act, 0) == -1) { in main() 42 if (raise(SIGTERM) == -1) { in main()
|
/external/ltp/testcases/kernel/syscalls/ipc/msgstress/ |
D | msgstress02.c | 134 if (sigset(SIGTERM, term) == SIG_ERR) { in main() 239 sighold(SIGTERM); in dotest() 246 sigrelse(SIGTERM); in dotest() 293 kill(rkidarray[i], SIGTERM); in dotest() 294 kill(wkidarray[i], SIGTERM); in dotest() 336 if (kill(pidarray[i], SIGTERM) < 0) { in term() 356 kill(rkidarray[i], SIGTERM); in term() 358 kill(wkidarray[i], SIGTERM); in term()
|
D | msgstress04.c | 139 if (sigset(SIGTERM, term) == SIG_ERR) in main() 266 sighold(SIGTERM); in dotest() 273 sigrelse(SIGTERM); in dotest() 318 kill(rkidarray[i], SIGTERM); in dotest() 319 kill(wkidarray[i], SIGTERM); in dotest() 362 if (kill(pidarray[i], SIGTERM) < 0) { in term() 382 kill(rkidarray[i], SIGTERM); in term() 384 kill(wkidarray[i], SIGTERM); in term()
|
D | msgstress03.c | 119 sigaddset(&act.sa_mask, SIGTERM); in main() 120 if (sigaction(SIGTERM, &act, NULL) < 0) { in main() 204 sighold(SIGTERM); in dotest() 212 sigrelse(SIGTERM); in dotest()
|
D | msgstress01.c | 122 sigaddset(&act.sa_mask, SIGTERM); in main() 123 if (sigaction(SIGTERM, &act, NULL) < 0) { in main() 207 sighold(SIGTERM); in dotest() 216 sigrelse(SIGTERM); in dotest()
|
/external/ltp/testcases/kernel/sched/tool/ |
D | time-schedule.c | 247 kill(child, SIGTERM); in main() 275 sigaddset(&set, SIGTERM); in main() 278 kill(0, SIGTERM); in main() 298 kill(0, SIGTERM); in hog_other_cpus() 324 kill(0, SIGTERM); in run_yielder() 337 kill(0, SIGTERM); in run_yielder() 348 if (sigaction(SIGTERM, &new_action, NULL) != 0) { in run_yielder() 412 kill(0, SIGTERM); in run_low_priority() 421 kill(0, SIGTERM); in run_low_priority()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_yield/ |
D | 1-1.c | 106 kill(pid, SIGTERM); in main() 113 kill(pid, SIGTERM); in main() 119 if (s != SIGTERM) { in main() 121 s, SIGTERM); in main()
|
/external/webrtc/webrtc/base/ |
D | physicalsocketserver_unittest.cc | 456 ASSERT_TRUE(ss_->SetPosixSignalHandler(SIGTERM, &RecordSignal)); in TEST_F() 457 raise(SIGTERM); in TEST_F() 459 EXPECT_TRUE(ExpectSignal(SIGTERM)); in TEST_F() 466 ss_->SetPosixSignalHandler(SIGTERM, &RecordSignal); in TEST_F() 469 raise(SIGTERM); in TEST_F() 475 EXPECT_TRUE(ExpectSignal(SIGTERM)); in TEST_F() 499 raise(SIGTERM); in Run() 506 ss_->SetPosixSignalHandler(SIGTERM, &RecordSignal); in TEST_F() 510 sigaddset(&mask, SIGTERM); in TEST_F() 519 EXPECT_TRUE(ExpectSignal(SIGTERM)); in TEST_F()
|
/external/ltp/testcases/kernel/io/disktest/ |
D | signals.c | 91 case SIGTERM: in sig_handler() 93 handled_signal = SIGTERM; in sig_handler() 141 signal(SIGTERM, sig_handler); in setup_sig_mask() 148 sigaddset(&signal_set, SIGTERM); in setup_sig_mask()
|
/external/libdaemon/examples/ |
D | testd.c | 65 if ((ret = daemon_pid_file_kill_wait(SIGTERM, 5)) < 0) in main() 123 if (daemon_signal_init(SIGINT, SIGTERM, SIGQUIT, SIGHUP, 0) < 0) { in main() 171 case SIGTERM: in main()
|
/external/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl02.c | 153 kill(childpid, SIGTERM); in main() 165 kill(childpid, SIGTERM); in main() 177 (void)kill(childpid, SIGTERM); in main() 213 (void)sigaction(SIGTERM, &act, 0); in do_child_uclinux() 442 (void)sigaction(SIGTERM, &act, 0); in setup()
|
/external/autotest/client/bin/ |
D | autotestd_monitor | 15 os.kill(os.getpid(), signal.SIGTERM) 65 os.kill(stdout_pump.pid, signal.SIGTERM) 66 os.kill(stderr_pump.pid, signal.SIGTERM)
|
/external/libunwind/tests/ |
D | Gtest-bt.c | 224 if (sigaction (SIGTERM, &act, NULL) < 0) in main() 229 kill (getpid (), SIGTERM); in main() 244 if (sigaction (SIGTERM, &act, NULL) < 0) in main() 246 kill (getpid (), SIGTERM); in main() 256 signal (SIGTERM, SIG_DFL); in main()
|
/external/libbrillo/brillo/ |
D | asynchronous_signal_handler_unittest.cc | 52 SIGTERM, in TEST_F() 57 EXPECT_EQ(0, kill(getpid(), SIGTERM)); in TEST_F() 63 EXPECT_EQ(SIGTERM, infos_[0].ssi_signo); in TEST_F()
|