/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigdelset/ |
D | 1-4.c | 22 if (sigaddset(&signalset, SIGALRM) == 0) { in main() 23 if (sigismember(&signalset, SIGALRM) == 0) { in main() 32 if (sigdelset(&signalset, SIGALRM) == 0) { in main() 33 if (sigismember(&signalset, SIGALRM) == 1) { in main() 42 sigdelset(&signalset, SIGALRM); in main() 43 if (sigismember(&signalset, SIGALRM) == 0) { in main()
|
D | 1-2.c | 31 if (sigaddset(&signalset, SIGALRM) == -1) { in main() 36 if (sigismember(&signalset, SIGALRM) != 1) { in main() 41 if (sigdelset(&signalset, SIGALRM) == -1) { in main() 46 if (sigismember(&signalset, SIGALRM) == 0) { in main()
|
D | 1-1.c | 31 if (sigaddset(&signalset, SIGALRM) == -1) { in main() 36 if (sigismember(&signalset, SIGALRM) != 1) { in main() 41 if (sigdelset(&signalset, SIGALRM) == -1) { in main() 46 if (sigismember(&signalset, SIGALRM) == 0) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
D | 28-2.c | 63 if (signal(SIGALRM, handler_1) == SIG_ERR) { in main() 83 ret = sigaction(SIGALRM, &sa, &save); in main() 91 ret = raise(SIGALRM); in main() 104 ret = sigaction(SIGALRM, &save, 0); in main() 112 ret = raise(SIGALRM); in main()
|
D | 19-2.c | 52 if (info->si_signo != SIGALRM) { in handler() 87 ret = sigaction(SIGALRM, &sa, 0); in main() 100 ret = raise(SIGALRM); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/ |
D | 6-1.c | 49 sigaddset(&set1, SIGALRM); in a_thread_func() 52 sigaddset(&set2, SIGALRM); in a_thread_func() 64 if (sigaction(SIGALRM, &act, 0) == -1) { in a_thread_func() 82 if (raise(SIGALRM) == -1) { in a_thread_func() 117 if (sigismember(&pending_set, SIGALRM) != 0) { in a_thread_func()
|
D | 4-1.c | 49 sigaddset(&blocked_set2, SIGALRM); in a_thread_func() 61 if (sigaction(SIGALRM, &act, 0) == -1) { in a_thread_func() 79 if ((raise(SIGABRT) == -1) | (raise(SIGALRM) == -1)) { in a_thread_func() 96 1) | (sigismember(&pending_set, SIGALRM) != 1)) { in a_thread_func()
|
/external/strace/tests/ |
D | rt_sigtimedwait.c | 160 sigaddset(libc_set, SIGALRM); in main() 190 raise(SIGALRM); in main() 191 assert(k_sigtimedwait(k_set, info, timeout, set_size) == SIGALRM); in main() 198 set_size, SIGALRM, "SIGALRM"); in main() 200 raise(SIGALRM); in main() 201 assert(k_sigtimedwait(k_set, NULL, NULL, set_size) == SIGALRM); in main() 203 "[HUP INT QUIT ALRM TERM]", set_size, SIGALRM, "SIGALRM"); in main()
|
D | qual_signal.test | 56 CHLD SIGCHLD ALRM SIGALRM \ 58 CHLD,SIGALRM ALRM,SIGCHLD \ 68 CHLD,SIGINT SIGINT,SIGALRM \ 79 CHLD,SIGTERM SIGTERM,SIGALRM \
|
D | kill.c | 49 if (sigaction(SIGALRM, &act, NULL)) in main() 54 sigaddset(&mask, SIGALRM); in main() 59 long rc = syscall(__NR_kill, pid, (long) 0xdefaced00000000ULL | SIGALRM); in main()
|
/external/strace/tests-mx32/ |
D | rt_sigtimedwait.c | 160 sigaddset(libc_set, SIGALRM); in main() 190 raise(SIGALRM); in main() 191 assert(k_sigtimedwait(k_set, info, timeout, set_size) == SIGALRM); in main() 198 set_size, SIGALRM, "SIGALRM"); in main() 200 raise(SIGALRM); in main() 201 assert(k_sigtimedwait(k_set, NULL, NULL, set_size) == SIGALRM); in main() 203 "[HUP INT QUIT ALRM TERM]", set_size, SIGALRM, "SIGALRM"); in main()
|
D | qual_signal.test | 56 CHLD SIGCHLD ALRM SIGALRM \ 58 CHLD,SIGALRM ALRM,SIGCHLD \ 68 CHLD,SIGINT SIGINT,SIGALRM \ 79 CHLD,SIGTERM SIGTERM,SIGALRM \
|
D | kill.c | 49 if (sigaction(SIGALRM, &act, NULL)) in main() 54 sigaddset(&mask, SIGALRM); in main() 59 long rc = syscall(__NR_kill, pid, (long) 0xdefaced00000000ULL | SIGALRM); in main()
|
/external/strace/tests-m32/ |
D | rt_sigtimedwait.c | 160 sigaddset(libc_set, SIGALRM); in main() 190 raise(SIGALRM); in main() 191 assert(k_sigtimedwait(k_set, info, timeout, set_size) == SIGALRM); in main() 198 set_size, SIGALRM, "SIGALRM"); in main() 200 raise(SIGALRM); in main() 201 assert(k_sigtimedwait(k_set, NULL, NULL, set_size) == SIGALRM); in main() 203 "[HUP INT QUIT ALRM TERM]", set_size, SIGALRM, "SIGALRM"); in main()
|
D | qual_signal.test | 56 CHLD SIGCHLD ALRM SIGALRM \ 58 CHLD,SIGALRM ALRM,SIGCHLD \ 68 CHLD,SIGINT SIGINT,SIGALRM \ 79 CHLD,SIGTERM SIGTERM,SIGALRM \
|
D | kill.c | 49 if (sigaction(SIGALRM, &act, NULL)) in main() 54 sigaddset(&mask, SIGALRM); in main() 59 long rc = syscall(__NR_kill, pid, (long) 0xdefaced00000000ULL | SIGALRM); in main()
|
/external/ltp/testcases/kernel/syscalls/timer_create/ |
D | timer_create01.c | 37 {SIGALRM, SIGEV_NONE, "SIGEV_NONE"}, 38 {SIGALRM, SIGEV_SIGNAL, "SIGEV_SIGNAL"}, 39 {SIGALRM, SIGEV_THREAD, "SIGEV_THREAD"}, 40 {SIGALRM, SIGEV_THREAD_ID, "SIGEV_THREAD_ID"},
|
/external/ltp/testcases/kernel/syscalls/ssetmask/ |
D | ssetmask01.c | 115 ltp_syscall(__NR_ssetmask, SIGALRM); in main() 117 if (TEST_RETURN != SIGALRM) { in main() 122 if (TEST_RETURN != SIGALRM) { in main()
|
/external/ltp/testcases/open_posix_testsuite/tools/ |
D | t0.c | 57 exit(SIGALRM + 128); in sighandler() 66 kill(getpid(), SIGALRM); in main() 93 if (signal(SIGALRM, sighandler) == SIG_ERR) { in main()
|
/external/python/cpython3/Lib/test/ |
D | test_threadsignals.py | 23 alrm = signal.signal(signal.SIGALRM, for_alrm) 93 oldalrm = signal.signal(signal.SIGALRM, self.alarm_interrupt) 108 signal.signal(signal.SIGALRM, oldalrm) 124 oldalrm = signal.signal(signal.SIGALRM, self.alarm_interrupt) 146 signal.signal(signal.SIGALRM, oldalrm) 238 signal.SIGALRM : {'tripped': 0, 'tripped_by': 0 } }
|
D | test_signal.py | 75 self.assertIn(signal.Signals.SIGALRM, s) 347 """, signal.SIGALRM) 377 """, signal.SIGALRM) 384 """, signal.SIGUSR1, signal.SIGALRM) 687 self.old_alarm = signal.signal(signal.SIGALRM, self.sig_alrm) 690 signal.signal(signal.SIGALRM, self.old_alarm) 898 self.wait_helper(signal.SIGALRM, ''' 910 self.wait_helper(signal.SIGALRM, ''' 921 self.wait_helper(signal.SIGALRM, ''' 933 self.wait_helper(signal.SIGALRM, ''' [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/ |
D | 1-1.c | 58 sigaddset(&act.sa_mask, SIGALRM); in fn_chld() 68 sigaction(SIGALRM, &act, 0); in fn_chld() 107 sigaddset(&sa.sa_mask, SIGALRM); in main()
|
/external/ltp/testcases/misc/crash/ |
D | crash02.c | 218 my_signal(SIGALRM, monitor_fcn); in badboy_fork() 338 #ifdef SIGALRM in again_handler() 339 case SIGALRM: in again_handler() 382 #ifdef SIGALRM in set_up_signals() 383 my_signal(SIGALRM, again_handler); in set_up_signals()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/ |
D | 2-1.c | 23 if (sigaddset(&signalset, SIGALRM) == 0) { in main() 24 if (sigismember(&signalset, SIGALRM) == 1) { in main()
|
D | 1-1.c | 29 if (sigaddset(&signalset, SIGALRM) == 0) { in main() 30 if (sigismember(&signalset, SIGALRM) == 1) { in main()
|