Home
last modified time | relevance | path

Searched refs:old_ss (Results 1 – 3 of 3) sorted by relevance

/frameworks/libs/binary_translation/guest_os_primitives/
Dguest_signal_handling.cc204 bool GuestThread::SigAltStack(const stack_t* ss, stack_t* old_ss, int* error) { in SigAltStack() argument
208 if (old_ss) { in SigAltStack()
210 old_ss->ss_sp = sig_alt_stack_; in SigAltStack()
211 old_ss->ss_size = sig_alt_stack_size_; in SigAltStack()
212 old_ss->ss_flags = IsOnSigAltStack() ? SS_ONSTACK : 0; in SigAltStack()
214 old_ss->ss_sp = nullptr; in SigAltStack()
215 old_ss->ss_size = 0; in SigAltStack()
216 old_ss->ss_flags = SS_DISABLE; in SigAltStack()
/frameworks/libs/binary_translation/tests/ndk_program_tests/
Dsigaltstack_test.cc85 stack_t old_ss{}; in TEST() local
86 ASSERT_EQ(sigaltstack(&ss, &old_ss), 0); in TEST()
96 ASSERT_EQ(sigaltstack(&old_ss, nullptr), 0); in TEST()
/frameworks/libs/binary_translation/guest_os_primitives/include/berberis/guest_os_primitives/
Dguest_thread.h95 bool SigAltStack(const stack_t* ss, stack_t* old_ss, int* error);