Home
last modified time | relevance | path

Searched refs:signal_number (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/bionic/
Dstrsignal.cpp35 #define __BIONIC_SIGDEF(signal_number, signal_description) [ signal_number ] = signal_description, argument
40 #define __BIONIC_SIGDEF(signal_number, unused) [ signal_number ] = &(#signal_number)[3], argument
44 extern "C" __LIBC_HIDDEN__ const char* __strsignal(int signal_number, char* buf, size_t buf_len) { in __strsignal() argument
46 if (signal_number >= 0 && signal_number < NSIG) { in __strsignal()
47 signal_name = sys_siglist[signal_number]; in __strsignal()
54 if (signal_number >= SIGRTMIN && signal_number <= SIGRTMAX) { in __strsignal()
56 signal_number -= SIGRTMIN; in __strsignal()
58 size_t length = snprintf(buf, buf_len, "%s signal %d", prefix, signal_number); in __strsignal()
65 char* strsignal(int signal_number) { in strsignal() argument
67 …return const_cast<char*>(__strsignal(signal_number, tls.strsignal_buf, sizeof(tls.strsignal_buf))); in strsignal()
/bionic/libc/private/
DScopedSignalHandler.h23 ScopedSignalHandler(int signal_number, void (*handler)(int), int sa_flags = 0)
24 : signal_number_(signal_number) { in signal_number_() argument
29 ScopedSignalHandler(int signal_number, void (*action)(int, siginfo_t*, void*),
31 : signal_number_(signal_number) { in signal_number_() argument
36 explicit ScopedSignalHandler(int signal_number) : signal_number_(signal_number) { in ScopedSignalHandler() argument
37 sigaction64(signal_number, nullptr, &old_action_); in ScopedSignalHandler()
/bionic/tests/
Dtime_test.cpp499 static void timer_create_SIGEV_SIGNAL_signal_handler(int signal_number) { in timer_create_SIGEV_SIGNAL_signal_handler() argument
501 ASSERT_EQ(SIGUSR1, signal_number); in timer_create_SIGEV_SIGNAL_signal_handler()
617 static void timer_create_NULL_signal_handler(int signal_number) { in timer_create_NULL_signal_handler() argument
619 ASSERT_EQ(SIGALRM, signal_number); in timer_create_NULL_signal_handler()
Dsignal_test.cpp144 static void raise_in_signal_handler_helper(int signal_number) { in raise_in_signal_handler_helper() argument
145 ASSERT_EQ(SIGALRM, signal_number); in raise_in_signal_handler_helper()
Dpthread_test.cpp534 static void pthread_kill__in_signal_handler_helper(int signal_number) { in pthread_kill__in_signal_handler_helper() argument
536 ASSERT_EQ(SIGALRM, signal_number); in pthread_kill__in_signal_handler_helper()