Home
last modified time | relevance | path

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

/bionic/tests/libs/
Dheap_tagging_helper.cpp25 void action(int signo, siginfo_t* info __unused, void*) { in action() argument
27 if (signo == 11 && info->si_code == SEGV_MTEAERR) { in action()
32 if (signo == 11 && info->si_code == SEGV_MTESERR) { in action()
38 fprintf(stderr, "signo %d\n", signo); in action()
42 void action2(int signo, siginfo_t* info __unused, void*) { in action2() argument
43 fprintf(stderr, "unexpected signal %d\n", signo); in action2()
Dstack_tagging_helper.cpp215 int signo; member in SigActionScoped
221 SigActionScoped(int signo, handler_t handler) : signo(signo) { in SigActionScoped() argument
225 int res = sigaction(signo, &sa, &oldsa); in SigActionScoped()
230 int res = sigaction(signo, &oldsa, nullptr); in ~SigActionScoped()
/bionic/tests/
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.cpp326 for (int signo = __SIGRTMIN + 1; signo < SIGRTMIN; ++signo) { in FillSignalMask() local
327 SignalSetDel(&sigset, signo); in FillSignalMask()
344 for (int signo = __SIGRTMIN; signo < SIGRTMIN; ++signo) { in TestSignalMaskFiltered() local
345 bool signal_blocked = sigset & (1ULL << (signo - 1)); in TestSignalMaskFiltered()
346 if (signo == __SIGRTMIN) { in TestSignalMaskFiltered()
348 EXPECT_EQ(true, signal_blocked) << "signal " << signo; in TestSignalMaskFiltered()
351 EXPECT_EQ(false, signal_blocked) << "signal " << signo; in TestSignalMaskFiltered()
Dsys_ptrace_test.cpp424 void AssertDeath(int signo);
Dpthread_test.cpp2676 static void SignalHandlerOnAltStack(int signo, siginfo_t*, void*) { in SignalHandlerOnAltStack() argument
2677 ASSERT_EQ(SIGUSR1, signo); in SignalHandlerOnAltStack()