/third_party/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()
|
/third_party/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 | 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 | 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 | 19-13.c | 50 if (info->si_signo != SIGTERM) { in handler() 85 ret = sigaction(SIGTERM, &sa, 0); in main() 98 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 | 38 if (sigaction(SIGTERM, &act, 0) == -1) { in main() 44 if (raise(SIGTERM) == -1) { in main()
|
D | 2-13.c | 40 if (sigaction(SIGTERM, &act, 0) == -1) { in main() 48 if (sigaction(SIGTERM, &act, &oact) == -1) { in main()
|
D | 18-13.c | 67 ret = sigaction(SIGTERM, &sa, 0); in main() 80 ret = raise(SIGTERM); in main()
|
/third_party/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 | 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()
|
D | msgstress03.c | 128 sigaddset(&act.sa_mask, SIGTERM); in main() 129 if (sigaction(SIGTERM, &act, NULL) < 0) { in main() 213 sighold(SIGTERM); in dotest() 221 sigrelse(SIGTERM); in dotest()
|
/third_party/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()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_yield/ |
D | 1-1.c | 109 kill(pid, SIGTERM); in main() 116 kill(pid, SIGTERM); in main() 122 if (s != SIGTERM) { in main() 124 s, SIGTERM); in main()
|
/third_party/ltp/libs/libltpsigwait/ |
D | sigwait.c | 34 SAFE_KILL(child, SIGTERM); in test_empty_set() 64 SAFE_KILL(child, SIGTERM); in test_timeout() 95 SAFE_KILL(child, SIGTERM); in test_unmasked_matching() 117 SAFE_KILL(child, SIGTERM); in test_unmasked_matching_noinfo() 165 SAFE_KILL(child, SIGTERM); in test_masked_matching() 273 SAFE_KILL(child, SIGTERM); in test_masked_matching_noinfo() 313 SAFE_KILL(child, SIGTERM); in test_bad_address()
|
/third_party/ninja/src/ |
D | subprocess-posix.cc | 172 if (WTERMSIG(status) == SIGINT || WTERMSIG(status) == SIGTERM in Finish() 202 else if (sigismember(&pending, SIGTERM)) in HandlePendingInterruption() 203 interrupted_ = SIGTERM; in HandlePendingInterruption() 212 sigaddset(&set, SIGTERM); in SubprocessSet() 222 if (sigaction(SIGTERM, &act, &old_term_act_) < 0) in SubprocessSet() 233 if (sigaction(SIGTERM, &old_term_act_, 0) < 0) in ~SubprocessSet()
|
/third_party/curl/tests/server/ |
D | util.c | 488 #ifdef SIGTERM 563 #ifdef SIGTERM in ctrl_event_handler() 564 case CTRL_CLOSE_EVENT: signum = SIGTERM; break; in ctrl_event_handler() 590 #ifdef SIGTERM in main_window_proc() 591 case WM_CLOSE: signum = SIGTERM; break; in main_window_proc() 729 #ifdef SIGTERM in install_signal_handlers() 731 old_sigterm_handler = set_signal(SIGTERM, exit_signal_handler, TRUE); in install_signal_handlers() 779 #ifdef SIGTERM in restore_signal_handlers() 781 (void) set_signal(SIGTERM, old_sigterm_handler, FALSE); in restore_signal_handlers()
|
/third_party/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl02.c | 152 kill(childpid, SIGTERM); in main() 164 kill(childpid, SIGTERM); in main() 176 (void)kill(childpid, SIGTERM); in main() 212 (void)sigaction(SIGTERM, &act, 0); in do_child_uclinux() 441 (void)sigaction(SIGTERM, &act, 0); in setup()
|
/third_party/cups-filters/backend/ |
D | beh.c | 63 sigset(SIGTERM, sigterm_handler); in main() 69 sigaction(SIGTERM, &action, NULL); in main() 71 signal(SIGTERM, sigterm_handler); in main() 319 else if (WTERMSIG(wait_status) != SIGTERM) in call_backend()
|
/third_party/libunwind/libunwind/tests/ |
D | Gtest-bt.c | 225 if (sigaction (SIGTERM, &act, NULL) < 0) in main() 230 kill (getpid (), SIGTERM); in main() 245 if (sigaction (SIGTERM, &act, NULL) < 0) in main() 247 kill (getpid (), SIGTERM); in main() 257 signal (SIGTERM, SIG_DFL); in main()
|
D | Gtest-trace.c | 243 if (sigaction (SIGTERM, &act, NULL) < 0) in main() 248 kill (getpid (), SIGTERM); in main() 263 if (sigaction (SIGTERM, &act, NULL) < 0) in main() 265 kill (getpid (), SIGTERM); in main() 276 signal (SIGTERM, SIG_DFL); in main()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/ |
D | semctl06.c | 109 if ((signal(SIGTERM, term)) == SIG_ERR) { in main() 292 if ((signal(SIGTERM, term)) == SIG_ERR) { in term() 300 if (kill(pidarray[i], SIGTERM) != 0) { in term() 324 if (kill(kidarray[i], SIGTERM) != 0) { in term()
|