/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/flutter/skia/third_party/externals/sdl/src/events/ |
D | SDL_quit.c | 65 sigaction(SIGTERM, NULL, &action); 73 sigaction(SIGTERM, &action, NULL); 82 ohandler = signal(SIGTERM, SDL_HandleSIG); 84 signal(SIGTERM, ohandler); 110 sigaction(SIGTERM, NULL, &action); 113 sigaction(SIGTERM, &action, NULL); 121 ohandler = signal(SIGTERM, SIG_DFL); 123 signal(SIGTERM, ohandler);
|
/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 | 4-13.c | 54 if (sigaction(SIGTERM, &act, 0) == -1) { in main() 60 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()
|
D | 12-39.c | 50 if (sigaction(SIGTERM, &act, 0) == -1) { in main() 62 if (raise(SIGTERM) == -1) { in main()
|
D | 13-13.c | 51 if (sigaction(SIGTERM, &act, 0) == -1) { in main() 63 if (raise(SIGTERM) == -1) { 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 | 127 sigaddset(&act.sa_mask, SIGTERM); in main() 128 if (sigaction(SIGTERM, &act, NULL) < 0) { in main() 212 sighold(SIGTERM); in dotest() 220 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/curl/tests/server/ |
D | util.c | 558 #ifdef SIGTERM 629 #ifdef SIGTERM in ctrl_event_handler() 630 case CTRL_CLOSE_EVENT: signum = SIGTERM; break; in ctrl_event_handler() 656 #ifdef SIGTERM in main_window_proc() 657 case WM_CLOSE: signum = SIGTERM; break; in main_window_proc() 784 #ifdef SIGTERM in install_signal_handlers() 786 old_sigterm_handler = set_signal(SIGTERM, exit_signal_handler, TRUE); in install_signal_handlers() 830 #ifdef SIGTERM in restore_signal_handlers() 832 (void) set_signal(SIGTERM, old_sigterm_handler, FALSE); in restore_signal_handlers()
|
/third_party/ninja/src/ |
D | subprocess-posix.cc | 160 if (WTERMSIG(status) == SIGINT || WTERMSIG(status) == SIGTERM in Finish() 190 else if (sigismember(&pending, SIGTERM)) in HandlePendingInterruption() 191 interrupted_ = SIGTERM; in HandlePendingInterruption() 200 sigaddset(&set, SIGTERM); in SubprocessSet() 210 if (sigaction(SIGTERM, &act, &old_term_act_) < 0) in SubprocessSet() 221 if (sigaction(SIGTERM, &old_term_act_, 0) < 0) in ~SubprocessSet()
|
/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()
|