Home
last modified time | relevance | path

Searched refs:signum (Results 1 – 8 of 8) sorted by relevance

/test/xts/acts/kernel_lite/ipc_posix/signal/
DSignalTestUtils.cpp34 void IpcSignalTest::SigAbortHandler(int signum) in SigAbortHandler() argument
36 LOG("handler: recv a signal: %d", signum); in SigAbortHandler()
42 *shared = signum; in SigAbortHandler()
50 void IpcSignalTest::SigactionHandler(int signum, siginfo_t* si, void* ucontext) in SigactionHandler() argument
52 LOG("handler recv a signal: %s(%d)", ALL_SIGNALS[signum].signame, signum); in SigactionHandler()
53 mReceivedSignal = signum; in SigactionHandler()
58 void IpcSignalTest::SignalHandler(int signum) in SignalHandler() argument
60 LOG("handler recv a signal: %s(%d)", ALL_SIGNALS[signum].signame, signum); in SignalHandler()
61 mReceivedSignal = signum; in SignalHandler()
98 void IpcSignalTest::DefaultActionTest(const int signum, const bool expectStop, const bool coredump) in DefaultActionTest() argument
[all …]
DSignalTest.h42 void SignalFailTest(int signum, handler_type h, int expectErrno = EINVAL);
48 void DefaultActionTest(int signum, bool expectStop, bool coredump = false);
49 void SendAndRecvTest(int signum);
53 static void SignalHandler(int signum);
55 static void SigAbortHandler(int signum);
57 static void SigactionHandler(int signum, siginfo_t* si, void* ucontext);
/test/xts/acts/kernel_lite/utils/
Dutils.h92 #define AssertProcKilled(pid, signum) do { \ argument
95 ASSERT_EQ(procStat, 2) << "target process should killed by " << signum; \
96 ASSERT_EQ(exitCode, signum) << "target process should killed by " << signum; \
98 #define ExpectProcKilled(pid, signum) do { \ argument
102 EXPECT_EQ(exitCode, signum) << "target process should killed by " << signum; \
105 #define WaitProcKilled(pid, signum) do { \ argument
108 ASSERT_EQ(procStat, 2) << "target process should killed by " << signum; \
109 ASSERT_EQ(exitCode, signum) << "target process should killed by " << signum; \
/test/xts/hats/kernel/posix_interface/interface_gn/utils/
Dutils.h67 void AssertProcKilled(pid_t pid, int signum);
68 void ExpectProcKilled(pid_t pid, int signum);
71 void WaitProcKilled(pid_t pid, int signum);
Dutils.cpp148 void ExpectProcKilled(pid_t pid, int signum) in ExpectProcKilled() argument
154 EXPECT_EQ(exitCode, signum) << "target process should killed by " << signum; in ExpectProcKilled()
157 void AssertProcKilled(pid_t pid, int signum) in AssertProcKilled() argument
163 EXPECT_EQ(exitCode, signum) << "target process should killed by " << signum; in AssertProcKilled()
166 void WaitProcKilled(pid_t pid, int signum) in WaitProcKilled() argument
171 ASSERT_EQ(procStat, killedBySignal) << "target process should killed by " << signum; in WaitProcKilled()
172 ASSERT_EQ(exitCode, signum) << "target process should killed by " << signum; in WaitProcKilled()
/test/xts/acts/kernel_lite/time_posix/src/
DAlarmTest.h39 static void SignalHandler(int signum);
DAlarmTest.cpp33 void AlarmTest::SignalHandler(int signum) in SignalHandler() argument
35 LOG("handler recv a signal: %d", signum); in SignalHandler()
36 mReceivedSignal = signum; in SignalHandler()
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
Dsignalndk.cpp240 void SignalHandler(int signum) {} in SignalHandler() argument