Home
last modified time | relevance | path

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

12345678910>>...16

/third_party/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()
/third_party/flutter/skia/third_party/externals/sdl/src/events/
DSDL_quit.c65 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/
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()
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()
D25-13.c53 raise(SIGTERM); in handler()
70 if (sigaction(SIGTERM, &act, 0) == -1) { in main()
76 if (raise(SIGTERM) == -1) { in main()
D19-13.c50 if (info->si_signo != SIGTERM) { in handler()
85 ret = sigaction(SIGTERM, &sa, 0); in main()
98 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.c38 if (sigaction(SIGTERM, &act, 0) == -1) { in main()
44 if (raise(SIGTERM) == -1) { in main()
D4-13.c54 if (sigaction(SIGTERM, &act, 0) == -1) { in main()
60 if (raise(SIGTERM) == -1) { in main()
D2-13.c40 if (sigaction(SIGTERM, &act, 0) == -1) { in main()
48 if (sigaction(SIGTERM, &act, &oact) == -1) { in main()
D18-13.c67 ret = sigaction(SIGTERM, &sa, 0); in main()
80 ret = raise(SIGTERM); in main()
D12-39.c50 if (sigaction(SIGTERM, &act, 0) == -1) { in main()
62 if (raise(SIGTERM) == -1) { in main()
D13-13.c51 if (sigaction(SIGTERM, &act, 0) == -1) { in main()
63 if (raise(SIGTERM) == -1) { in main()
/third_party/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()
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()
Dmsgstress03.c127 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/
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()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_yield/
D1-1.c109 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/
Dsigwait.c34 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/
Dutil.c558 #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/
Dsubprocess-posix.cc160 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/
Dioctl02.c152 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()

12345678910>>...16