Home
last modified time | relevance | path

Searched refs:SIGTERM (Results 1 – 25 of 423) sorted by relevance

12345678910>>...17

/external/strace/tests-mx32/
Dqual_signal.test77 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/
Dqual_signal.test77 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/
Dqual_signal.test77 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/
Drename14.c78 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/
D28-13.c63 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()
D3-13.c40 if (sigaction(SIGTERM, &act, 0) == -1) { in main()
46 if (sigaction(SIGTERM, 0, &oact) == -1) { in main()
52 if (raise(SIGTERM) == -1) { in main()
D22-13.c54 raise(SIGTERM); in handler()
71 if (sigaction(SIGTERM, &act, 0) == -1) { in main()
77 if (raise(SIGTERM) == -1) { in main()
D25-13.c53 raise(SIGTERM); in handler()
70 if (sigaction(SIGTERM, &act, 0) == -1) { in main()
76 if (raise(SIGTERM) == -1) { in main()
D8-14.c32 raise(SIGTERM); in SIGTSTP_handler()
46 sigaddset(&act.sa_mask, SIGTERM); in main()
56 if (sigaction(SIGTERM, &act, 0) == -1) { in main()
D19-13.c52 if (info->si_signo != SIGTERM) { in handler()
87 ret = sigaction(SIGTERM, &sa, 0); in main()
100 ret = raise(SIGTERM); in main()
D1-13.c40 if (sigaction(SIGTERM, &act, 0) == -1) { in main()
46 if (raise(SIGTERM) == -1) { in main()
D6-13.c36 if (sigaction(SIGTERM, &act, 0) == -1) { in main()
42 if (raise(SIGTERM) == -1) { in main()
/external/ltp/testcases/kernel/syscalls/ipc/msgstress/
Dmsgstress02.c134 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()
Dmsgstress04.c139 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()
Dmsgstress03.c119 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()
Dmsgstress01.c122 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/
Dtime-schedule.c247 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/
D1-1.c106 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/
Dphysicalsocketserver_unittest.cc456 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/
Dsignals.c91 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/
Dtestd.c65 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/
Dioctl02.c153 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/
Dautotestd_monitor15 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/
DGtest-bt.c224 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/
Dasynchronous_signal_handler_unittest.cc52 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()

12345678910>>...17