Home
last modified time | relevance | path

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

/bionic/tests/
Dsignal_test.cpp145 ASSERT_EQ(SIGALRM, signal_number); in raise_in_signal_handler_helper()
148 raise(SIGALRM); in raise_in_signal_handler_helper()
153 ScopedSignalHandler ssh(SIGALRM, raise_in_signal_handler_helper); in TEST()
154 raise(SIGALRM); in TEST()
158 ScopedSignalHandler ssh(SIGALRM, [](int sig) { ASSERT_EQ(SIGALRM, sig); }); in TEST()
162 sigaddset(&wait_set, SIGALRM); in TEST()
170 ASSERT_EQ(SIGALRM, received_signal); in TEST()
203 sigaddset(&just_SIGALRM, SIGALRM); in TEST()
206 ScopedSignalHandler ssh(SIGALRM, [](int) { ++g_sigsuspend_signal_handler_call_count; }); in TEST()
217 raise(SIGALRM); in TEST()
[all …]
Dspawn_test.cpp88 ASSERT_FALSE(sigismember(&sigs, SIGALRM)); in TEST()
92 sigaddset(&just_SIGALRM, SIGALRM); in TEST()
96 ASSERT_TRUE(sigismember(&sigs, SIGALRM)); in TEST()
126 ASSERT_FALSE(sigismember(&sigs, SIGALRM)); in TEST()
130 sigaddset(&just_SIGALRM, SIGALRM); in TEST()
134 ASSERT_TRUE(sigismember(&sigs, SIGALRM)); in TEST()
397 sigaddset(&just_SIGALRM, SIGALRM); in TEST()
407 SignalSetAdd(&expected_blocked, SIGALRM); in TEST()
424 ASSERT_NE(SIG_ERR, signal(SIGALRM, SIG_IGN)); in TEST()
433 sigaddset(&just_SIGALRM, SIGALRM); in TEST()
Dsys_signalfd_test.cpp58 sigaddset(&mask, SIGALRM); in TEST()
61 TestSignalFd(signalfd(-1, &mask, SFD_CLOEXEC), SIGALRM); in TEST()
Dthreads_test.cpp403 ScopedSignalHandler ssh{SIGALRM, [](int) {}}; in TEST()
412 pthread_kill(t.native_handle(), SIGALRM); in TEST()
421 ScopedSignalHandler ssh{SIGALRM, [](int) {}}; in TEST()
427 pthread_kill(t.native_handle(), SIGALRM); in TEST()
Dtime_test.cpp522 ASSERT_EQ(SIGALRM, signal_number); in timer_create_NULL_signal_handler()
531 ScopedSignalHandler ssh(SIGALRM, timer_create_NULL_signal_handler); in TEST()
Dpthread_test.cpp537 ASSERT_EQ(SIGALRM, signal_number); in pthread_kill__in_signal_handler_helper()
540 ASSERT_EQ(0, pthread_kill(pthread_self(), SIGALRM)); in pthread_kill__in_signal_handler_helper()
545 ScopedSignalHandler ssh(SIGALRM, pthread_kill__in_signal_handler_helper); in TEST()
546 ASSERT_EQ(0, pthread_kill(pthread_self(), SIGALRM)); in TEST()
Dunistd_test.cpp227 ScopedSignalHandler handler(SIGALRM, PauseTestSignalHandler); in TEST()
/bionic/libc/private/
Dbionic_sigdefs.h52 __BIONIC_SIGDEF(SIGALRM, "Alarm clock")
/bionic/libc/kernel/uapi/asm-arm/asm/
Dsignal.h39 #define SIGALRM 14 macro
/bionic/libc/kernel/uapi/asm-generic/
Dsignal.h39 #define SIGALRM 14 macro
/bionic/libc/kernel/uapi/asm-x86/asm/
Dsignal.h43 #define SIGALRM 14 macro
/bionic/tests/headers/posix/
Dsignal_h.c75 MACRO(SIGALRM); in signal_h()