Searched refs:new_action (Results 1 – 2 of 2) sorted by relevance
/system/core/libsysutils/src/ |
D | SocketClient.cpp | 208 struct sigaction new_action, old_action; in sendDataLockedv() local 209 memset(&new_action, 0, sizeof(new_action)); in sendDataLockedv() 210 new_action.sa_handler = SIG_IGN; in sendDataLockedv() 211 sigaction(SIGPIPE, &new_action, &old_action); in sendDataLockedv() 242 sigaction(SIGPIPE, &old_action, &new_action); in sendDataLockedv()
|
/system/core/libbacktrace/ |
D | backtrace_test.cpp | 612 struct sigaction new_action; in TEST_F() local 613 ASSERT_TRUE(sigaction(THREAD_SIGNAL, nullptr, &new_action) == 0); in TEST_F() 614 EXPECT_EQ(cur_action.sa_sigaction, new_action.sa_sigaction); in TEST_F() 620 new_action.sa_flags &= ~SA_RESTORER; in TEST_F() 624 new_action.sa_flags &= ~0x04000000; in TEST_F() 626 EXPECT_EQ(cur_action.sa_flags, new_action.sa_flags); in TEST_F()
|