Searched refs:oldact (Results 1 – 7 of 7) sorted by relevance
/aosp12/system/unwinding/libbacktrace/ |
H A D | BacktraceCurrent.cpp | 170 struct sigaction act, oldact; in UnwindThread() local 175 if (sigaction(THREAD_SIGNAL, &act, &oldact) != 0) { in UnwindThread() 192 sigaction(THREAD_SIGNAL, &oldact, nullptr); in UnwindThread() 202 if (!wait_completed && oldact.sa_sigaction == nullptr) { in UnwindThread() 213 sigaction(THREAD_SIGNAL, &oldact, nullptr); in UnwindThread()
|
/aosp12/art/runtime/ |
H A D | runtime_common.cc | 522 struct sigaction* oldact, in InitPlatformSignalHandlersCommon() argument 534 rc += sigaction(SIGABRT, &action, oldact); in InitPlatformSignalHandlersCommon() 535 rc += sigaction(SIGBUS, &action, oldact); in InitPlatformSignalHandlersCommon() 536 rc += sigaction(SIGFPE, &action, oldact); in InitPlatformSignalHandlersCommon() 537 rc += sigaction(SIGILL, &action, oldact); in InitPlatformSignalHandlersCommon() 538 rc += sigaction(SIGPIPE, &action, oldact); in InitPlatformSignalHandlersCommon() 539 rc += sigaction(SIGSEGV, &action, oldact); in InitPlatformSignalHandlersCommon() 541 rc += sigaction(SIGSTKFLT, &action, oldact); in InitPlatformSignalHandlersCommon() 543 rc += sigaction(SIGTRAP, &action, oldact); in InitPlatformSignalHandlersCommon() 546 rc += sigaction(GetTimeoutSignal(), &action, oldact); in InitPlatformSignalHandlersCommon()
|
H A D | runtime_common.h | 77 struct sigaction* oldact,
|
/aosp12/bionic/libc/bionic/ |
H A D | pthread_internal.cpp | 155 struct sigaction act = {}, oldact; in android_run_on_all_threads() 159 if (sigaction(BIONIC_SIGNAL_RUN_ON_ALL_THREADS, &act, &oldact) != 0) { in android_run_on_all_threads() 190 sigaction(BIONIC_SIGNAL_RUN_ON_ALL_THREADS, &oldact, 0); in android_run_on_all_threads()
|
/aosp12/system/memory/libmemunreachable/ |
H A D | ScopedAlarm.h | 32 struct sigaction oldact {}; in ScopedAlarm() struct 35 sigaction(SIGALRM, &act, &oldact); in ScopedAlarm()
|
/aosp12/system/unwinding/libunwindstack/tests/ |
H A D | LocalUnwinderTest.cpp | 97 struct sigaction act, oldact; in LocalInnerFunction() local 101 ASSERT_EQ(0, sigaction(SIGUSR1, &act, &oldact)); in LocalInnerFunction() 105 ASSERT_EQ(0, sigaction(SIGUSR1, &oldact, nullptr)); in LocalInnerFunction()
|
H A D | UnwindTest.cpp | 366 struct sigaction act, oldact; in TEST_F() local 370 ASSERT_EQ(0, sigaction(SIGUSR1, &act, &oldact)); in TEST_F() 398 ASSERT_EQ(0, sigaction(SIGUSR1, &oldact, nullptr)); in TEST_F() 407 struct sigaction act, oldact; in RemoteThroughSignal() local 411 ASSERT_EQ(0, sigaction(signal, &act, &oldact)); in RemoteThroughSignal()
|