Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dstrerror_r.cpp43 #define __BIONIC_SIGDEF(signal_number, signal_description) { signal_number, signal_description }, argument
48 extern "C" __LIBC_HIDDEN__ const char* __strsignal_lookup(int signal_number) { in __strsignal_lookup() argument
49 return __code_string_lookup(_sys_signal_strings, signal_number); in __strsignal_lookup()
76 extern "C" __LIBC_HIDDEN__ const char* __strsignal(int signal_number, char* buf, size_t buf_len) { in __strsignal() argument
77 const char* signal_name = __strsignal_lookup(signal_number); in __strsignal()
83 if (signal_number >= SIGRTMIN && signal_number <= SIGRTMAX) { in __strsignal()
85 signal_number -= SIGRTMIN; in __strsignal()
87 size_t length = snprintf(buf, buf_len, "%s signal %d", prefix, signal_number); in __strsignal()
Dsys_signame.c32 #define __BIONIC_SIGDEF(signal_number, unused) [ signal_number ] = #signal_number + 3, argument
Dstrsignal.cpp37 char* strsignal(int signal_number) { in strsignal() argument
39 char* result = const_cast<char*>(__strsignal_lookup(signal_number)); in strsignal()
44 return const_cast<char*>(__strsignal(signal_number, g_strsignal_tls_buffer.get(), in strsignal()
Dsys_siglist.c32 #define __BIONIC_SIGDEF(signal_number, signal_description) [ signal_number ] = signal_description, argument
/bionic/tests/
DScopedSignalHandler.h25 ScopedSignalHandler(int signal_number, void (*handler)(int), int sa_flags = 0)
26 : signal_number_(signal_number) { in signal_number_() argument
33 ScopedSignalHandler(int signal_number, void (*action)(int, siginfo_t*, void*),
35 : signal_number_(signal_number) { in signal_number_() argument
Dsignal_test.cpp119 static void raise_in_signal_handler_helper(int signal_number) { in raise_in_signal_handler_helper() argument
120 ASSERT_EQ(SIGALRM, signal_number); in raise_in_signal_handler_helper()
132 static void HandleSIGALRM(int signal_number) { in HandleSIGALRM() argument
133 ASSERT_EQ(SIGALRM, signal_number); in HandleSIGALRM()
Dtime_test.cpp232 static void timer_create_SIGEV_SIGNAL_signal_handler(int signal_number) { in timer_create_SIGEV_SIGNAL_signal_handler() argument
234 ASSERT_EQ(SIGUSR1, signal_number); in timer_create_SIGEV_SIGNAL_signal_handler()
350 static void timer_create_NULL_signal_handler(int signal_number) { in timer_create_NULL_signal_handler() argument
352 ASSERT_EQ(SIGALRM, signal_number); in timer_create_NULL_signal_handler()
Dpthread_test.cpp436 static void pthread_kill__in_signal_handler_helper(int signal_number) { in pthread_kill__in_signal_handler_helper() argument
438 ASSERT_EQ(SIGALRM, signal_number); in pthread_kill__in_signal_handler_helper()
/bionic/linker/
Ddebugger.cpp262 static void debuggerd_signal_handler(int signal_number, siginfo_t* info, void*) { in debuggerd_signal_handler() argument
265 if (!have_siginfo(signal_number)) { in debuggerd_signal_handler()
269 log_signal_summary(signal_number, info); in debuggerd_signal_handler()
278 signal(signal_number, SIG_DFL); in debuggerd_signal_handler()
294 int rc = syscall(SYS_rt_tgsigqueueinfo, getpid(), gettid(), signal_number, info); in debuggerd_signal_handler()