Searched refs:oldact (Results 1 – 4 of 4) sorted by relevance
/system/core/libbacktrace/ |
D | BacktraceCurrent.cpp | 158 struct sigaction act, oldact; in UnwindThread() local 163 if (sigaction(THREAD_SIGNAL, &act, &oldact) != 0) { in UnwindThread() 180 sigaction(THREAD_SIGNAL, &oldact, nullptr); in UnwindThread() 190 if (!wait_completed && oldact.sa_sigaction == nullptr) { in UnwindThread() 201 sigaction(THREAD_SIGNAL, &oldact, nullptr); in UnwindThread()
|
/system/core/libmemunreachable/ |
D | ScopedAlarm.h | 32 struct sigaction oldact {}; in ScopedAlarm() struct 35 sigaction(SIGALRM, &act, &oldact); in ScopedAlarm()
|
/system/core/libunwindstack/tests/ |
D | LocalUnwinderTest.cpp | 96 struct sigaction act, oldact; in LocalInnerFunction() local 100 ASSERT_EQ(0, sigaction(SIGUSR1, &act, &oldact)); in LocalInnerFunction() 104 ASSERT_EQ(0, sigaction(SIGUSR1, &oldact, nullptr)); in LocalInnerFunction()
|
D | UnwindTest.cpp | 355 struct sigaction act, oldact; in TEST_F() local 359 ASSERT_EQ(0, sigaction(SIGUSR1, &act, &oldact)); in TEST_F() 387 ASSERT_EQ(0, sigaction(SIGUSR1, &oldact, nullptr)); in TEST_F() 396 struct sigaction act, oldact; in RemoteThroughSignal() local 400 ASSERT_EQ(0, sigaction(signal, &act, &oldact)); in RemoteThroughSignal()
|