Home
last modified time | relevance | path

Searched refs:ScopedSignalHandler (Results 1 – 2 of 2) sorted by relevance

/frameworks/libs/binary_translation/guest_os_primitives/
Dguest_signal_action_test.cc30 class ScopedSignalHandler { class
32 ScopedSignalHandler(int sig, void (*handler)(int)) : sig_(sig) { in ScopedSignalHandler() function in berberis::__anonaaf215020111::ScopedSignalHandler
38 ScopedSignalHandler(int sig, void (*action)(int, siginfo_t*, void*)) : sig_(sig) { in ScopedSignalHandler() function in berberis::__anonaaf215020111::ScopedSignalHandler
45 ~ScopedSignalHandler() { sigaction(sig_, &old_act_, nullptr); } in ~ScopedSignalHandler()
79 ScopedSignalHandler scoped_usr1_handler(SIGUSR1, CustomSignalAction); in TEST()
105 ScopedSignalHandler scoped_usr1_handler(SIGUSR1, CustomSignalAction); in TEST()
145 ScopedSignalHandler scoped_usr1_handler(SIGUSR1, CustomSignalAction); in TEST()
168 ScopedSignalHandler scoped_usr1_handler(SIGUSR1, SIG_DFL); in TEST()
190 ScopedSignalHandler scoped_usr1_handler(SIGUSR1, CustomSignalAction); in TEST()
/frameworks/libs/binary_translation/backend/x86_64/
Dmachine_ir_exec_test.cc695 class ScopedSignalHandler { class
697 ScopedSignalHandler(int sig, void (*action)(int, siginfo_t*, void*)) : sig_(sig) { in ScopedSignalHandler() function in berberis::__anon85227b050111::ScopedSignalHandler
704 ~ScopedSignalHandler() { sigaction(sig_, &old_act_, nullptr); } in ~ScopedSignalHandler()
724 ScopedSignalHandler handler(SIGSEGV, SigsegvHandler); in TEST()
756 ScopedSignalHandler handler(SIGSEGV, SigsegvHandler); in TEST()