Home
last modified time | relevance | path

Searched refs:sig_ (Results 1 – 4 of 4) sorted by relevance

/frameworks/libs/binary_translation/tests/ndk_program_tests/include/berberis/ndk_program_tests/
Dscoped_sigaction.h26 ScopedSigaction(int sig, const struct sigaction* act) : sig_(sig) { Init(act); } in ScopedSigaction()
31 void Init(const struct sigaction* act) { ASSERT_EQ(sigaction(sig_, act, &old_act_), 0); } in Init()
33 void Fini() { ASSERT_EQ(sigaction(sig_, &old_act_, nullptr), 0); } in Fini()
35 int sig_; variable
/frameworks/libs/binary_translation/tests/ndk_program_tests/
Dscoped_sigaction.h26 ScopedSigaction(int sig, const struct sigaction* act) : sig_(sig) { Init(act); } in ScopedSigaction()
31 void Init(const struct sigaction* act) { ASSERT_EQ(0, sigaction(sig_, act, &old_act_)); } in Init()
33 void Fini() { ASSERT_EQ(0, sigaction(sig_, &old_act_, nullptr)); } in Fini()
35 int sig_; variable
/frameworks/libs/binary_translation/guest_os_primitives/
Dguest_signal_action_test.cc32 ScopedSignalHandler(int sig, void (*handler)(int)) : sig_(sig) { in ScopedSignalHandler()
35 sigaction(sig_, &act, &old_act_); in ScopedSignalHandler()
38 ScopedSignalHandler(int sig, void (*action)(int, siginfo_t*, void*)) : sig_(sig) { in ScopedSignalHandler()
42 sigaction(sig_, &act, &old_act_); in ScopedSignalHandler()
45 ~ScopedSignalHandler() { sigaction(sig_, &old_act_, nullptr); } in ~ScopedSignalHandler()
48 int sig_; member in berberis::__anonaaf215020111::ScopedSignalHandler
/frameworks/libs/binary_translation/backend/x86_64/
Dmachine_ir_exec_test.cc697 ScopedSignalHandler(int sig, void (*action)(int, siginfo_t*, void*)) : sig_(sig) { in ScopedSignalHandler()
701 sigaction(sig_, &act, &old_act_); in ScopedSignalHandler()
704 ~ScopedSignalHandler() { sigaction(sig_, &old_act_, nullptr); } in ~ScopedSignalHandler()
707 int sig_; member in berberis::__anon85227b050111::ScopedSignalHandler