Home
last modified time | relevance | path

Searched refs:SIGALRM (Results 1 – 25 of 295) sorted by relevance

12345678910>>...12

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigdelset/
D1-4.c22 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()
D1-1.c31 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()
D1-2.c31 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()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
D28-2.c63 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()
D19-2.c50 if (info->si_signo != SIGALRM) { in handler()
86 ret = sigaction(SIGALRM, &sa, 0); in main()
99 ret = raise(SIGALRM); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/
D6-1.c49 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()
D4-1.c49 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()
/third_party/musl/libc-test/src/functionalext/supplement/signal/
Dgetitimer.c37 case SIGALRM: in signalHandler()
60 signal(SIGALRM, signalHandler); in getitimer_0100()
73 signal(SIGALRM, signalHandler); in getitimer_0200()
86 signal(SIGALRM, signalHandler); in getitimer_0300()
Dsigqueue.c25 if (sig != SIGALRM) { in action()
29 if (info->si_signo != SIGALRM) { in action()
53 int sig = SIGALRM; in sigqueue_0100()
/third_party/ltp/testcases/kernel/syscalls/timer_create/
Dtimer_create01.c37 {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"},
/third_party/ltp/testcases/kernel/syscalls/ssetmask/
Dssetmask01.c115 ltp_syscall(__NR_ssetmask, SIGALRM); in main()
117 if (TEST_RETURN != SIGALRM) { in main()
122 if (TEST_RETURN != SIGALRM) { in main()
/third_party/ltp/testcases/kernel/syscalls/sigsuspend/
Dsigsuspend01.c48 if (alarm_num != SIGALRM) { in verify_sigsuspend()
67 SAFE_SIGADDSET(&sigset1, SIGALRM); in setup()
73 SAFE_SIGACTION(SIGALRM, &sa_new, 0); in setup()
/third_party/python/Lib/test/
Dtest_threadsignals.py23 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 } }
Dtest_signal.py86 self.assertIn(signal.Signals.SIGALRM, s)
358 """, signal.SIGALRM)
388 """, signal.SIGALRM)
395 """, signal.SIGUSR1, signal.SIGALRM)
705 self.old_alarm = signal.signal(signal.SIGALRM, self.sig_alrm)
708 signal.signal(signal.SIGALRM, self.old_alarm)
916 self.wait_helper(signal.SIGALRM, '''
928 self.wait_helper(signal.SIGALRM, '''
939 self.wait_helper(signal.SIGALRM, '''
951 self.wait_helper(signal.SIGALRM, '''
[all …]
/third_party/ltp/testcases/open_posix_testsuite/tools/
Dt0.c57 exit(SIGALRM + 128); in sighandler()
66 kill(getpid(), SIGALRM); in main()
93 if (signal(SIGALRM, sighandler) == SIG_ERR) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/
D1-1.c58 sigaddset(&act.sa_mask, SIGALRM); in fn_chld()
68 sigaction(SIGALRM, &act, 0); in fn_chld()
107 sigaddset(&sa.sa_mask, SIGALRM); in main()
/third_party/ltp/testcases/misc/crash/
Dcrash02.c218 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()
Dcrash01.c242 my_signal(SIGALRM, monitor_fcn); in badboy_fork()
390 #ifdef SIGALRM in again_handler()
391 case SIGALRM: in again_handler()
434 #ifdef SIGALRM in set_up_signals()
435 my_signal(SIGALRM, again_handler); in set_up_signals()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/
D2-1.c23 if (sigaddset(&signalset, SIGALRM) == 0) { in main()
24 if (sigismember(&signalset, SIGALRM) == 1) { in main()
D1-1.c29 if (sigaddset(&signalset, SIGALRM) == 0) { in main()
30 if (sigismember(&signalset, SIGALRM) == 1) { in main()
D1-2.c29 if (sigaddset(&signalset, SIGALRM) == 0) { in main()
30 if (sigismember(&signalset, SIGALRM) == 1) { in main()
/third_party/ltp/testcases/open_posix_testsuite/functional/timers/timers/
Dtwoptimers.c102 if (sigaddset(&set, SIGALRM) == -1) { in main()
113 ev.sigev_signo = SIGALRM; in main()
135 if (sig != SIGALRM) { in main()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
Dpause.c26 if (signum == SIGALRM) { in signal_func()
41 sigaction(SIGALRM, &act, NULL); in pause_0100()
/third_party/ltp/testcases/kernel/syscalls/alarm/
Dalarm06.c30 if (sig == SIGALRM) in sigproc()
36 SAFE_SIGNAL(SIGALRM, sigproc); in setup()
/third_party/ltp/lib/tests/
Dtst_process_state.c52 signal(SIGALRM, handler); in main()
69 kill(pid, SIGALRM); in main()

12345678910>>...12