Home
last modified time | relevance | path

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

/system/core/libbacktrace/
DBacktraceCurrent.cpp157 struct sigaction act, oldact; in UnwindThread() local
162 if (sigaction(THREAD_SIGNAL, &act, &oldact) != 0) { in UnwindThread()
179 sigaction(THREAD_SIGNAL, &oldact, nullptr); in UnwindThread()
189 if (!wait_completed && oldact.sa_sigaction == nullptr) { in UnwindThread()
200 sigaction(THREAD_SIGNAL, &oldact, nullptr); in UnwindThread()
/system/core/libmemunreachable/
DScopedAlarm.h32 struct sigaction oldact {}; in ScopedAlarm() struct
35 sigaction(SIGALRM, &act, &oldact); in ScopedAlarm()
/system/core/libunwindstack/tests/
DUnwindTest.cpp228 struct sigaction act, oldact; in TEST() local
232 ASSERT_EQ(0, sigaction(SIGUSR1, &act, &oldact)); in TEST()
262 ASSERT_EQ(0, sigaction(SIGUSR1, &oldact, nullptr)); in TEST()
275 struct sigaction act, oldact; in RemoteThroughSignal() local
279 ASSERT_EQ(0, sigaction(SIGUSR1, &act, &oldact)); in RemoteThroughSignal()