Searched refs:signal_number (Results 1 – 9 of 9) sorted by relevance
/bionic/libc/bionic/ |
D | strerror_r.cpp | 38 #define __BIONIC_SIGDEF(signal_number, signal_description) { signal_number, signal_description }, argument 43 extern "C" __LIBC_HIDDEN__ const char* __strsignal_lookup(int signal_number) { in __strsignal_lookup() argument 44 return __code_string_lookup(_sys_signal_strings, signal_number); in __strsignal_lookup() 65 extern "C" __LIBC_HIDDEN__ const char* __strsignal(int signal_number, char* buf, size_t buf_len) { in __strsignal() argument 66 const char* signal_name = __strsignal_lookup(signal_number); in __strsignal() 72 if (signal_number >= SIGRTMIN && signal_number <= SIGRTMAX) { in __strsignal() 74 signal_number -= SIGRTMIN; in __strsignal() 76 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() 45 …return const_cast<char*>(__strsignal(signal_number, strsignal_tls_buffer, strsignal_tls_buffer_siz… in strsignal()
|
D | sys_siglist.c | 32 #define __BIONIC_SIGDEF(signal_number, signal_description) [ signal_number ] = signal_description, argument
|
/bionic/tests/ |
D | ScopedSignalHandler.h | 24 ScopedSignalHandler(int signal_number, void (*handler)(int), int sa_flags = 0) 25 : signal_number_(signal_number) { in signal_number_() argument
|
D | signal_test.cpp | 116 static void raise_in_signal_handler_helper(int signal_number) { in raise_in_signal_handler_helper() argument 117 ASSERT_EQ(SIGALRM, signal_number); in raise_in_signal_handler_helper() 129 static void HandleSIGALRM(int signal_number) { in HandleSIGALRM() argument 130 ASSERT_EQ(SIGALRM, signal_number); in HandleSIGALRM()
|
D | time_test.cpp | 175 static void timer_create_SIGEV_SIGNAL_signal_handler(int signal_number) { in timer_create_SIGEV_SIGNAL_signal_handler() argument 177 ASSERT_EQ(SIGUSR1, signal_number); in timer_create_SIGEV_SIGNAL_signal_handler() 288 static void timer_create_NULL_signal_handler(int signal_number) { in timer_create_NULL_signal_handler() argument 290 ASSERT_EQ(SIGALRM, signal_number); in timer_create_NULL_signal_handler()
|
D | pthread_test.cpp | 383 static void pthread_kill__in_signal_handler_helper(int signal_number) { in pthread_kill__in_signal_handler_helper() argument 385 ASSERT_EQ(SIGALRM, signal_number); in pthread_kill__in_signal_handler_helper()
|
/bionic/linker/ |
D | debugger.cpp | 254 static void debuggerd_signal_handler(int signal_number, siginfo_t* info, void*) { in debuggerd_signal_handler() argument 257 if (!have_siginfo(signal_number)) { in debuggerd_signal_handler() 261 log_signal_summary(signal_number, info); in debuggerd_signal_handler() 266 signal(signal_number, SIG_DFL); in debuggerd_signal_handler() 274 switch (signal_number) { in debuggerd_signal_handler() 282 tgkill(getpid(), gettid(), signal_number); in debuggerd_signal_handler()
|