/bionic/libc/bionic/ |
strerror_r.cpp | 42 extern "C" __LIBC_HIDDEN__ const char* __strsignal_lookup(int signal_number) { 43 return __code_string_lookup(_sys_signal_strings, signal_number); 64 extern "C" __LIBC_HIDDEN__ const char* __strsignal(int signal_number, char* buf, size_t buf_len) { 65 const char* signal_name = __strsignal_lookup(signal_number); 71 if (signal_number >= SIGRTMIN && signal_number <= SIGRTMAX) { 73 signal_number -= SIGRTMIN; 75 size_t length = snprintf(buf, buf_len, "%s signal %d", prefix, signal_number);
|
strsignal.cpp | 37 char* strsignal(int signal_number) { 39 char* result = const_cast<char*>(__strsignal_lookup(signal_number)); 45 return const_cast<char*>(__strsignal(signal_number, strsignal_tls_buffer, strsignal_tls_buffer_size));
|
/art/runtime/ |
signal_set.h | 48 int signal_number; local 49 int rc = TEMP_FAILURE_RETRY(sigwait(&set_, &signal_number)); 53 return signal_number;
|
runtime_linux.cc | 47 static const char* GetSignalName(int signal_number) { 48 switch (signal_number) { 63 static const char* GetSignalCodeName(int signal_number, int signal_code) { 65 switch (signal_number) { 230 void HandleUnexpectedSignal(int signal_number, siginfo_t* info, void* raw_context) { 242 bool has_address = (signal_number == SIGILL || signal_number == SIGBUS || 243 signal_number == SIGFPE || signal_number == SIGSEGV); 257 signal_number, GetSignalName(signal_number) 286 kill(getpid(), signal_number); local [all...] |
signal_catcher.cc | 170 int signal_number = signals.Wait(); local 174 LOG(INFO) << *self << ": reacting to signal " << signal_number; local 180 return signal_number; 205 int signal_number = signal_catcher->WaitForSignal(self, signals); local 211 switch (signal_number) { 219 LOG(ERROR) << "Unexpected signal %d" << signal_number;
|
/bionic/tests/ |
signal_test.cpp | 81 ScopedSignalHandler(int signal_number, void (*handler)(int)) : signal_number_(signal_number) { 124 static void raise_in_signal_handler_helper(int signal_number) { 125 ASSERT_EQ(SIGALRM, signal_number); 137 static void HandleSIGALRM(int signal_number) { 138 ASSERT_EQ(SIGALRM, signal_number);
|
pthread_test.cpp | 256 static void pthread_kill__in_signal_handler_helper(int signal_number) { 258 ASSERT_EQ(SIGALRM, signal_number);
|
/external/chromium_org/remoting/host/posix/ |
signal_handler.cc | 82 bool RegisterSignalHandler(int signal_number, const SignalHandler& handler) { 83 CHECK(signal_number < 256); // Don't want to worry about multi-byte writes. 109 if (signal(signal_number, GlobalSignalHandler) == SIG_ERR) { 113 g_signal_listener->AddSignalHandler(signal_number, handler);
|
signal_handler.h | 21 bool RegisterSignalHandler(int signal_number, const SignalHandler& handler);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
profile-handler.cc | 457 const int signal_number = (timer_type_ == ITIMER_PROF ? SIGPROF : SIGALRM); local 458 RAW_CHECK(sigaction(signal_number, &sa, NULL) == 0, "sigprof (enable)"); 469 const int signal_number = (timer_type_ == ITIMER_PROF ? SIGPROF : SIGALRM); local 470 RAW_CHECK(sigaction(signal_number, &sa, NULL) == 0, "sigprof (disable)"); 475 const int signal_number = (timer_type_ == ITIMER_PROF ? SIGPROF : SIGALRM); local 476 RAW_CHECK(sigaction(signal_number, NULL, &sa) == 0, "is-signal-handler avail");
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
profile-handler.cc | 457 const int signal_number = (timer_type_ == ITIMER_PROF ? SIGPROF : SIGALRM); local 458 RAW_CHECK(sigaction(signal_number, &sa, NULL) == 0, "sigprof (enable)"); 469 const int signal_number = (timer_type_ == ITIMER_PROF ? SIGPROF : SIGALRM); local 470 RAW_CHECK(sigaction(signal_number, &sa, NULL) == 0, "sigprof (disable)"); 475 const int signal_number = (timer_type_ == ITIMER_PROF ? SIGPROF : SIGALRM); local 476 RAW_CHECK(sigaction(signal_number, NULL, &sa) == 0, "is-signal-handler avail");
|
/external/chromium_org/tools/android/forwarder2/ |
host_forwarder_main.cc | 66 void KillHandler(int signal_number) { 68 if (signal_number != SIGTERM && signal_number != SIGINT) { 69 snprintf(buf, sizeof(buf), "Ignoring unexpected signal %d.", signal_number); 73 snprintf(buf, sizeof(buf), "Received signal %d.", signal_number);
|
daemon.cc | 78 void SigChildHandler(int signal_number) { 79 DCHECK_EQ(signal_number, SIGCHLD);
|
/bionic/libc/include/ |
signal.h | 142 extern void psignal(int signal_number, const char* message);
|
/external/chromium_org/tools/android/memdump/ |
memdump.cc | 454 void KillAll(const std::vector<pid_t>& pids, int signal_number) { 457 kill(*it, signal_number);
|
/external/chromium_org/remoting/host/ |
remoting_me2me_host.cc | 185 void SigTermHandler(int signal_number); 489 void HostProcess::SigTermHandler(int signal_number) { 490 DCHECK(signal_number == SIGTERM); [all...] |
/art/runtime/base/ |
logging.h | 206 friend void HandleUnexpectedSignal(int signal_number, siginfo_t* info, void* raw_context);
|
/art/runtime/native/ |
dalvik_system_Zygote.cc | 65 static void SigChldHandler(int /*signal_number*/) {
|