Searched refs:ScopedSignalHandler (Results 1 – 5 of 5) sorted by relevance
/system/memory/libmemunreachable/ |
D | ScopedSignalHandler.h | 32 class ScopedSignalHandler { 34 using Fn = std::function<void(ScopedSignalHandler&, int, siginfo_t*, void*)>; 36 explicit ScopedSignalHandler(Allocator<ScopedSignalHandler> allocator) : signal_(-1) { in ScopedSignalHandler() function 42 ~ScopedSignalHandler() { reset(); } in ~ScopedSignalHandler() 87 DISALLOW_COPY_AND_ASSIGN(ScopedSignalHandler);
|
D | HeapWalker.h | 67 SIGSEGV, [=](ScopedSignalHandler& handler, int signal, siginfo_t* siginfo, void* uctx) { 71 SIGBUS, [=](ScopedSignalHandler& handler, int signal, siginfo_t* siginfo, void* uctx) { 101 void HandleSegFault(ScopedSignalHandler&, int, siginfo_t*, void*); 114 ScopedSignalHandler sigsegv_handler_; 115 ScopedSignalHandler sigbus_handler_;
|
D | HeapWalker.cpp | 207 void HeapWalker::HandleSegFault(ScopedSignalHandler& handler, int signal, siginfo_t* si, in HandleSegFault() 228 Allocator<ScopedSignalHandler::SignalFnMap>::unique_ptr ScopedSignalHandler::handler_map_;
|
/system/connectivity/wificond/ |
D | main.cpp | 49 class ScopedSignalHandler final { class 51 ScopedSignalHandler(android::wificond::LooperBackedEventLoop* event_loop) { in ScopedSignalHandler() function in __anonb4bca8200111::ScopedSignalHandler 56 std::signal(SIGINT, &ScopedSignalHandler::LeaveLoop); in ScopedSignalHandler() 57 std::signal(SIGTERM, &ScopedSignalHandler::LeaveLoop); in ScopedSignalHandler() 60 ~ScopedSignalHandler() { in ~ScopedSignalHandler() 74 DISALLOW_COPY_AND_ASSIGN(ScopedSignalHandler); 78 ScopedSignalHandler::s_event_loop_ = nullptr; 112 ScopedSignalHandler scoped_signal_handler(event_dispatcher.get()); in main()
|
/system/unwinding/libbacktrace/ |
D | backtrace_test.cpp | 1690 class ScopedSignalHandler { class 1692 ScopedSignalHandler(int signal_number, void (*handler)(int)) : signal_number_(signal_number) { in ScopedSignalHandler() function in ScopedSignalHandler 1698 ScopedSignalHandler(int signal_number, void (*action)(int, siginfo_t*, void*)) in ScopedSignalHandler() function in ScopedSignalHandler 1706 ~ScopedSignalHandler() { sigaction(signal_number_, &old_action_, nullptr); } in ~ScopedSignalHandler() 1728 ScopedSignalHandler ssh(SIGUSR1, BacktraceTest::test_signal_action_); in UnwindThroughSignal() 1732 ScopedSignalHandler ssh(SIGUSR1, BacktraceTest::test_signal_handler_); in UnwindThroughSignal()
|