Searched refs:new_action (Results 1 – 2 of 2) sorted by relevance
/system/core/libsysutils/src/ |
D | SocketClient.cpp | 188 struct sigaction new_action, old_action; in sendDataLockedv() local 189 memset(&new_action, 0, sizeof(new_action)); in sendDataLockedv() 190 new_action.sa_handler = SIG_IGN; in sendDataLockedv() 191 sigaction(SIGPIPE, &new_action, &old_action); in sendDataLockedv() 222 sigaction(SIGPIPE, &old_action, &new_action); in sendDataLockedv()
|
/system/core/libbacktrace/ |
D | backtrace_test.cpp | 539 struct sigaction new_action; in TEST() local 540 ASSERT_TRUE(sigaction(THREAD_SIGNAL, nullptr, &new_action) == 0); in TEST() 541 EXPECT_EQ(cur_action.sa_sigaction, new_action.sa_sigaction); in TEST() 547 new_action.sa_flags &= ~SA_RESTORER; in TEST() 551 new_action.sa_flags &= ~0x04000000; in TEST() 553 EXPECT_EQ(cur_action.sa_flags, new_action.sa_flags); in TEST()
|