Searched refs:signal_number (Results 1 – 9 of 9) sorted by relevance
/bionic/libc/bionic/ |
D | strerror_r.cpp | 43 #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()
|
D | sys_signame.c | 32 #define __BIONIC_SIGDEF(signal_number, unused) [ signal_number ] = #signal_number + 3, argument
|
D | strsignal.cpp | 37 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()
|
D | sys_siglist.c | 32 #define __BIONIC_SIGDEF(signal_number, signal_description) [ signal_number ] = signal_description, argument
|
/bionic/tests/ |
D | ScopedSignalHandler.h | 25 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
|
D | signal_test.cpp | 119 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()
|
D | time_test.cpp | 232 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()
|
D | pthread_test.cpp | 436 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/ |
D | debugger.cpp | 262 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()
|