Home
last modified time | relevance | path

Searched refs:signo (Results 1 – 5 of 5) sorted by relevance

/bionic/tests/
DBionicDeathTest.h32 for (int signo : { SIGABRT, SIGBUS, SIGSEGV, SIGSYS }) { in SetUp()
34 sigaction64(signo, &action, &previous_); in SetUp()
39 for (int signo : { SIGABRT, SIGBUS, SIGSEGV, SIGSYS }) { in TearDown()
40 sigaction64(signo, &previous_, nullptr); in TearDown()
DSignalUtils.h60 static inline void SignalSetAdd(uint64_t* sigset, int signo) { in SignalSetAdd() argument
61 *sigset |= 1ULL << (signo - 1); in SignalSetAdd()
64 static inline void SignalSetDel(uint64_t* sigset, int signo) { in SignalSetDel() argument
65 *sigset &= ~(1ULL << (signo - 1)); in SignalSetDel()
Dsignal_test.cpp356 for (int signo = __SIGRTMIN + 1; signo < SIGRTMIN; ++signo) { in FillSignalMask() local
357 SignalSetDel(&sigset, signo); in FillSignalMask()
374 for (int signo = __SIGRTMIN; signo < SIGRTMIN; ++signo) { in TestSignalMaskFiltered() local
375 bool signal_blocked = sigset & (1ULL << (signo - 1)); in TestSignalMaskFiltered()
376 if (signo == __SIGRTMIN) { in TestSignalMaskFiltered()
378 EXPECT_EQ(true, signal_blocked) << "signal " << signo; in TestSignalMaskFiltered()
381 EXPECT_EQ(false, signal_blocked) << "signal " << signo; in TestSignalMaskFiltered()
Dsys_ptrace_test.cpp421 void AssertDeath(int signo);
Dpthread_test.cpp2633 static void SignalHandlerOnAltStack(int signo, siginfo_t*, void*) { in SignalHandlerOnAltStack() argument
2634 ASSERT_EQ(SIGUSR1, signo); in SignalHandlerOnAltStack()