Home
last modified time | relevance | path

Searched refs:SIGINT (Results 1 – 25 of 492) sorted by relevance

12345678910>>...20

/external/python/cpython3/Lib/unittest/test/
Dtest_break.py17 self._default_handler = signal.getsignal(signal.SIGINT)
19 signal.signal(signal.SIGINT, self.int_handler)
22 signal.signal(signal.SIGINT, self._default_handler)
28 default_handler = signal.getsignal(signal.SIGINT)
30 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
34 os.kill(pid, signal.SIGINT)
51 default_handler = signal.getsignal(signal.SIGINT)
57 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
61 os.kill(pid, signal.SIGINT)
75 if signal.getsignal(signal.SIGINT) == signal.SIG_IGN:
[all …]
/external/python/cpython2/Lib/unittest/test/
Dtest_break.py21 self._default_handler = signal.getsignal(signal.SIGINT)
23 signal.signal(signal.SIGINT, self.int_handler)
26 signal.signal(signal.SIGINT, self._default_handler)
32 default_handler = signal.getsignal(signal.SIGINT)
34 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
38 os.kill(pid, signal.SIGINT)
58 default_handler = signal.getsignal(signal.SIGINT)
64 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
68 os.kill(pid, signal.SIGINT)
82 if signal.getsignal(signal.SIGINT) == signal.SIG_IGN:
[all …]
/external/strace/tests-m32/
Dqual_signal.test66 test_sigs SIGINT '' \
67 2 INT SIGINT \
68 CHLD,SIGINT SIGINT,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-mx32/
Dqual_signal.test66 test_sigs SIGINT '' \
67 2 INT SIGINT \
68 CHLD,SIGINT SIGINT,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.test66 test_sigs SIGINT '' \
67 2 INT SIGINT \
68 CHLD,SIGINT SIGINT,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/python/cpython2/Lib/unittest/
Dsignals.py29 installed_handler = signal.getsignal(signal.SIGINT)
52 default_handler = signal.getsignal(signal.SIGINT)
54 signal.signal(signal.SIGINT, _interrupt_handler)
61 initial = signal.getsignal(signal.SIGINT)
66 signal.signal(signal.SIGINT, initial)
71 signal.signal(signal.SIGINT, _interrupt_handler.original_handler)
/external/python/cpython3/Lib/unittest/
Dsignals.py29 installed_handler = signal.getsignal(signal.SIGINT)
52 default_handler = signal.getsignal(signal.SIGINT)
54 signal.signal(signal.SIGINT, _interrupt_handler)
61 initial = signal.getsignal(signal.SIGINT)
66 signal.signal(signal.SIGINT, initial)
71 signal.signal(signal.SIGINT, _interrupt_handler.original_handler)
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
D28-9.c63 if (signal(SIGINT, handler_1) == SIG_ERR) { in main()
83 ret = sigaction(SIGINT, &sa, &save); in main()
91 ret = raise(SIGINT); in main()
104 ret = sigaction(SIGINT, &save, 0); in main()
112 ret = raise(SIGINT); in main()
D3-9.c40 if (sigaction(SIGINT, &act, 0) == -1) { in main()
46 if (sigaction(SIGINT, 0, &oact) == -1) { in main()
52 if (raise(SIGINT) == -1) { in main()
D22-9.c54 raise(SIGINT); in handler()
71 if (sigaction(SIGINT, &act, 0) == -1) { in main()
77 if (raise(SIGINT) == -1) { in main()
D8-10.c32 raise(SIGINT); in SIGPIPE_handler()
46 sigaddset(&act.sa_mask, SIGINT); in main()
56 if (sigaction(SIGINT, &act, 0) == -1) { in main()
D25-9.c53 raise(SIGINT); in handler()
70 if (sigaction(SIGINT, &act, 0) == -1) { in main()
76 if (raise(SIGINT) == -1) { in main()
D19-9.c52 if (info->si_signo != SIGINT) { in handler()
87 ret = sigaction(SIGINT, &sa, 0); in main()
100 ret = raise(SIGINT); in main()
D1-9.c40 if (sigaction(SIGINT, &act, 0) == -1) { in main()
46 if (raise(SIGINT) == -1) { in main()
D6-9.c36 if (sigaction(SIGINT, &act, 0) == -1) { in main()
42 if (raise(SIGINT) == -1) { in main()
D4-9.c54 if (sigaction(SIGINT, &act, 0) == -1) { in main()
60 if (raise(SIGINT) == -1) { in main()
/external/python/cpython2/Parser/
Dintrcheck.c141 PyOS_setsig(SIGINT, intcatcher); in intcatcher()
150 if ((old_siginthandler = PyOS_setsig(SIGINT, SIG_IGN)) != SIG_IGN) in PyOS_InitInterrupts()
151 PyOS_setsig(SIGINT, intcatcher); in PyOS_InitInterrupts()
157 PyOS_setsig(SIGINT, old_siginthandler); in PyOS_FiniInterrupts()
/external/selinux/libsepol/cil/test/unit/
Dtest_integration.c45 if (WIFSIGNALED(status) && (WTERMSIG(status) == SIGINT || WTERMSIG(status) == SIGQUIT)) in test_integration()
50 if (WIFSIGNALED(status1) && (WTERMSIG(status1) == SIGINT || WTERMSIG(status1) == SIGQUIT)) in test_integration()
55 if (WIFSIGNALED(status2) && (WTERMSIG(status2) == SIGINT || WTERMSIG(status2) == SIGQUIT)) in test_integration()
71 if (WIFSIGNALED(status) && (WTERMSIG(status) == SIGINT || WTERMSIG(status) == SIGQUIT)) in test_min_policy()
/external/e2fsprogs/lib/ss/
Dlist_rqs.c39 sigaddset(&igmask, SIGINT); in ss_list_requests()
41 func = signal(SIGINT, SIG_IGN); in ss_list_requests()
45 (void) signal(SIGINT, func); in ss_list_requests()
82 (void) signal(SIGINT, func); in ss_list_requests()
Dlisten.c45 signal(SIGINT, listen_int_handler); in listen_int_handler()
65 sigaddset(&igmask, SIGINT); in ss_listen()
68 sig_int = signal(SIGINT, listen_int_handler); in ss_listen()
124 (void) signal(SIGINT, sig_int); in ss_listen()
/external/ltp/testcases/kernel/syscalls/sigprocmask/
Dsigprocmask01.c121 kill(my_pid, SIGINT); in main()
154 if (!sigismember(&sigset2, SIGINT)) { in main()
228 if (sigaction(SIGINT, &sa_new, 0) == -1) { in setup()
238 if (sigaddset(&set, SIGINT) == -1) { in setup()
/external/ltp/testcases/kernel/io/disktest/
Dsignals.c84 case SIGINT: in sig_handler()
86 handled_signal = SIGINT; in sig_handler()
140 signal(SIGINT, sig_handler); in setup_sig_mask()
145 sigaddset(&signal_set, SIGINT); in setup_sig_mask()
/external/clang/utils/TestUtils/
Dpch-test.pl28 } elsif (($code & 0xFF) == SIGINT) {
36 } elsif (($code & 0xFF) == SIGINT) {
43 } elsif (($code & 0xFF) == SIGINT) {
/external/python/cpython2/Modules/
Dsignalmodule.c282 case SIGINT: break; in signal_signal()
621 if (Handlers[SIGINT].func == DefaultHandler) { in initsignal()
624 Py_SETREF(Handlers[SIGINT].func, IntHandler); in initsignal()
625 PyOS_setsig(SIGINT, signal_handler); in initsignal()
633 #ifdef SIGINT in initsignal()
634 x = PyInt_FromLong(SIGINT); in initsignal()
949 trip_signal(SIGINT); in PyErr_SetInterrupt()
968 if (Handlers[SIGINT].tripped) { in PyOS_InterruptOccurred()
973 Handlers[SIGINT].tripped = 0; in PyOS_InterruptOccurred()
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/
Dcpuset_memory_testset.sh59 /bin/kill -s SIGINT $1
290 /bin/kill -s SIGINT $1
393 /bin/kill -s SIGINT $1
511 /bin/kill -s SIGINT $testpid
567 /bin/kill -s SIGINT $testpid
629 /bin/kill -s SIGINT $testpid
699 /bin/kill -s SIGINT $testpid
781 /bin/kill -s SIGINT $testpid

12345678910>>...20