/external/python/cpython3/Lib/unittest/test/ |
D | test_break.py | 17 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/ |
D | test_break.py | 21 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/ |
D | qual_signal.test | 66 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/ |
D | qual_signal.test | 66 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/ |
D | qual_signal.test | 66 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/ |
D | signals.py | 29 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/ |
D | signals.py | 29 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/ |
D | 28-9.c | 63 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()
|
D | 3-9.c | 40 if (sigaction(SIGINT, &act, 0) == -1) { in main() 46 if (sigaction(SIGINT, 0, &oact) == -1) { in main() 52 if (raise(SIGINT) == -1) { in main()
|
D | 22-9.c | 54 raise(SIGINT); in handler() 71 if (sigaction(SIGINT, &act, 0) == -1) { in main() 77 if (raise(SIGINT) == -1) { in main()
|
D | 8-10.c | 32 raise(SIGINT); in SIGPIPE_handler() 46 sigaddset(&act.sa_mask, SIGINT); in main() 56 if (sigaction(SIGINT, &act, 0) == -1) { in main()
|
D | 25-9.c | 53 raise(SIGINT); in handler() 70 if (sigaction(SIGINT, &act, 0) == -1) { in main() 76 if (raise(SIGINT) == -1) { in main()
|
D | 19-9.c | 52 if (info->si_signo != SIGINT) { in handler() 87 ret = sigaction(SIGINT, &sa, 0); in main() 100 ret = raise(SIGINT); in main()
|
D | 1-9.c | 40 if (sigaction(SIGINT, &act, 0) == -1) { in main() 46 if (raise(SIGINT) == -1) { in main()
|
D | 6-9.c | 36 if (sigaction(SIGINT, &act, 0) == -1) { in main() 42 if (raise(SIGINT) == -1) { in main()
|
D | 4-9.c | 54 if (sigaction(SIGINT, &act, 0) == -1) { in main() 60 if (raise(SIGINT) == -1) { in main()
|
/external/python/cpython2/Parser/ |
D | intrcheck.c | 141 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/ |
D | test_integration.c | 45 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/ |
D | list_rqs.c | 39 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()
|
D | listen.c | 45 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/ |
D | sigprocmask01.c | 121 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/ |
D | signals.c | 84 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/ |
D | pch-test.pl | 28 } elsif (($code & 0xFF) == SIGINT) { 36 } elsif (($code & 0xFF) == SIGINT) { 43 } elsif (($code & 0xFF) == SIGINT) {
|
/external/python/cpython2/Modules/ |
D | signalmodule.c | 282 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/ |
D | cpuset_memory_testset.sh | 59 /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
|