HomeSort by relevance Sort by last modified time
    Searched refs:SIGTERM (Results 1 - 25 of 575) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
3-13.c 15 2. Set the signal handler for SIGTERM to handler
17 4. raise SIGTERM
40 if (sigaction(SIGTERM, &act, 0) == -1) {
46 if (sigaction(SIGTERM, 0, &oact) == -1) {
52 if (raise(SIGTERM) == -1) {
1-13.c 17 2. Use sigaction to setup a signal handler for SIGTERM
18 3. Raise SIGTERM.
40 if (sigaction(SIGTERM, &act, 0) == -1) {
46 if (raise(SIGTERM) == -1) {
28-13.c 24 * -> register a signal handler for SIGTERM with signal().
65 if (signal(SIGTERM, handler_1) == SIG_ERR) {
85 ret = sigaction(SIGTERM, &sa, &save);
93 ret = raise(SIGTERM);
106 ret = sigaction(SIGTERM, &save, 0);
114 ret = raise(SIGTERM);
22-13.c 18 3. (child) Setup a signal handler for SIGTERM with SA_NODEFER set
20 4. (child) raise SIGTERM
22 6. (child, signal handler) if count is 1 then raise SIGTERM
44 printf("SIGTERM caught\n");
54 printf("Raising SIGTERM\n");
55 raise(SIGTERM);
56 printf("Returning from raising SIGTERM\n");
72 if (sigaction(SIGTERM, &act, 0) == -1) {
78 if (raise(SIGTERM) == -1) {
25-13.c 17 3. (child) Setup a signal handler for SIGTERM
18 4. (child) raise SIGTERM
20 6. (child, signal handler) if count is 1 then raise SIGTERM
41 printf("SIGTERM caught\n");
52 printf("Raising SIGTERM\n");
53 raise(SIGTERM);
54 printf("Returning from raising SIGTERM\n");
70 if (sigaction(SIGTERM, &act, 0) == -1) {
76 if (raise(SIGTERM) == -1) {
8-14.c 26 printf("Caught SIGTERM\n");
32 raise(SIGTERM);
46 sigaddset(&act.sa_mask, SIGTERM);
56 if (sigaction(SIGTERM, &act, 0) == -1) {
13-13.c 31 printf("Caught SIGTERM\n");
52 if (sigaction(SIGTERM, &act, 0) == -1) {
64 if (raise(SIGTERM) == -1) {
2-13.c 14 1. Call sigaction to set handler for SIGTERM to use handler1
15 2. Call sigaction again to set handler for SIGTERM to use handler2,
42 if (sigaction(SIGTERM, &act, 0) == -1) {
50 if (sigaction(SIGTERM, &act, &oact) == -1) {
4-13.c 16 3. (child) Setup a signal handler for SIGTERM with SIGKILL added to
18 4. (child) raise SIGTERM
54 if (sigaction(SIGTERM, &act, 0) == -1) {
60 if (raise(SIGTERM) == -1) {
6-13.c 9 setting the SA_INFO bit in the signal mask for SIGTERM will result
37 if (sigaction(SIGTERM, &act, 0) == -1) {
43 if (raise(SIGTERM) == -1) {
12-13.c 32 printf("Caught SIGTERM\n");
53 if (sigaction(SIGTERM, &act, 0) == -1) {
73 if (raise(SIGTERM) == -1) {
12-39.c 30 printf("Caught SIGTERM\n");
51 if (sigaction(SIGTERM, &act, 0) == -1) {
63 if (raise(SIGTERM) == -1) {
18-13.c 24 * -> register a handler for SIGTERM without SA_SIGINFO, and a known function
26 * -> raise SIGTERM, and check the function has been called.
68 /* Install the signal handler for SIGTERM */
69 ret = sigaction(SIGTERM, &sa, 0);
82 ret = raise(SIGTERM);
85 perror("Failed to raise SIGTERM");
4-39.c 16 3. (child) Setup a signal handler for SIGTERM with SIGSTOP added to
18 4. (child) raise SIGTERM
53 if (sigaction(SIGTERM, &act, 0) == -1) {
59 if (raise(SIGTERM) == -1) {
  /external/strace/tests/
qual_signal.test 62 '!2,15' '!INT,TERM' '!SIGINT,TERM' '!INT,SIGTERM' '!SIGTERM,SIGINT' \
63 '!2,INT,TERM' '!2,SIGTERM' '!SIGINT,15' '!INT,SIGTERM,15' \
71 '!15' '!TERM' '!SIGTERM' \
72 '!15,TERM' '!SIGTERM,15,TERM' \
73 '!SIGALRM,TERM' '!CHLD,SIGTERM' \
74 '!ALRM,15' '!SIGCHLD,ALRM,SIGTERM,KILL' \
77 test_sigs '' SIGTERM \
78 15 TERM SIGTERM \
    [all...]
  /external/strace/tests-m32/
qual_signal.test 62 '!2,15' '!INT,TERM' '!SIGINT,TERM' '!INT,SIGTERM' '!SIGTERM,SIGINT' \
63 '!2,INT,TERM' '!2,SIGTERM' '!SIGINT,15' '!INT,SIGTERM,15' \
71 '!15' '!TERM' '!SIGTERM' \
72 '!15,TERM' '!SIGTERM,15,TERM' \
73 '!SIGALRM,TERM' '!CHLD,SIGTERM' \
74 '!ALRM,15' '!SIGCHLD,ALRM,SIGTERM,KILL' \
77 test_sigs '' SIGTERM \
78 15 TERM SIGTERM \
    [all...]
  /external/strace/tests-mx32/
qual_signal.test 62 '!2,15' '!INT,TERM' '!SIGINT,TERM' '!INT,SIGTERM' '!SIGTERM,SIGINT' \
63 '!2,INT,TERM' '!2,SIGTERM' '!SIGINT,15' '!INT,SIGTERM,15' \
71 '!15' '!TERM' '!SIGTERM' \
72 '!15,TERM' '!SIGTERM,15,TERM' \
73 '!SIGALRM,TERM' '!CHLD,SIGTERM' \
74 '!ALRM,15' '!SIGCHLD,ALRM,SIGTERM,KILL' \
77 test_sigs '' SIGTERM \
78 15 TERM SIGTERM \
    [all...]
  /external/ltp/testcases/kernel/syscalls/rename/
rename14.c 78 if (sigaction(SIGTERM, &act, &oact)) {
79 tst_brkm(TBROK, NULL, "Sigaction(SIGTERM)");
101 (void)kill(kidpid[0], SIGTERM);
116 kill(kidpid[0], SIGTERM);
117 kill(kidpid[1], SIGTERM);
136 return (kill(kidpid[0], SIGTERM));
138 return (kill(kidpid[1], SIGTERM));
145 return (kill(kidpid[0], SIGTERM));
147 return (kill(kidpid[1], SIGTERM));
  /platform_testing/scripts/perf-load-setup/
spin-n-threads.sh 15 trap - SIGINT SIGTERM SIGKILL
39 trap clean_up SIGINT SIGTERM SIGKILL
  /system/tools/hidl/test/hidl_test/
hidl_test_servers.cpp 44 if (signal == SIGTERM) {
57 signal(SIGTERM, signal_handler_server);
67 if (kill(pid, SIGTERM)) {
83 if (signal == SIGTERM) {
98 signal(SIGTERM, signal_handler);
  /external/chromium-trace/catapult/devil/devil/android/
device_signal.py 25 SIGTERM = 15 # Terminated
  /external/libmojo/third_party/catapult/devil/devil/android/
device_signal.py 25 SIGTERM = 15 # Terminated
  /external/compiler-rt/test/asan/TestCases/Linux/
signal_during_stop_the_world.cc 34 prctl(PR_SET_PDEATHSIG, SIGTERM, 0, 0, 0);
46 kill(pid, SIGTERM);
  /external/libcxx/test/std/depr/depr.c.headers/
signal_h.pass.cpp 47 #ifndef SIGTERM
48 #error SIGTERM not defined
  /external/libcxx/test/std/language.support/support.runtime/
csignal.pass.cpp 47 #ifndef SIGTERM
48 #error SIGTERM not defined

Completed in 625 milliseconds

1 2 3 4 5 6 7 8 91011>>