Searched refs:newact (Results 1 – 7 of 7) sorted by relevance
/external/perfetto/src/base/ |
D | watchdog_unittest.cc | 128 struct sigaction newact = {}; in TEST() local 129 newact.sa_handler = SIGABRTHandler; in TEST() 130 ASSERT_EQ(sigaction(SIGABRT, &newact, &oldact), 0); in TEST()
|
D | unix_socket_unittest.cc | 676 struct sigaction newact = {}; in TEST_F() local 677 newact.sa_handler = Handler; in TEST_F() 678 ASSERT_EQ(sigaction(SIGWINCH, &newact, &oldact), 0); in TEST_F()
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
D | protection_keys.c | 347 struct sigaction newact; in setup_sigsegv_handler() local 353 newact.sa_handler = 0; in setup_sigsegv_handler() 354 newact.sa_sigaction = signal_handler; in setup_sigsegv_handler() 358 rs = sigprocmask(SIG_SETMASK, 0, &newact.sa_mask); in setup_sigsegv_handler() 362 newact.sa_flags = SA_SIGINFO; in setup_sigsegv_handler() 364 newact.sa_restorer = 0; /* void(*)(), obsolete */ in setup_sigsegv_handler() 365 r = sigaction(signum, &newact, &oldact); in setup_sigsegv_handler() 366 r = sigaction(SIGALRM, &newact, &oldact); in setup_sigsegv_handler()
|
D | mpx-mini-test.c | 720 struct sigaction newact; in setup_handler() local 726 newact.sa_handler = 0; /* void(*)(int)*/ in setup_handler() 727 newact.sa_sigaction = handler; /* void (*)(int, siginfo_t*, void *) */ in setup_handler() 731 rs = sigprocmask(SIG_SETMASK, 0, &newact.sa_mask); in setup_handler() 735 newact.sa_flags = SA_SIGINFO; in setup_handler() 737 newact.sa_restorer = 0; /* void(*)(), obsolete */ in setup_handler() 738 r = sigaction(signum, &newact, &oldact); in setup_handler()
|
/external/e2fsprogs/lib/support/ |
D | quotaio_tree.c | 256 int newson = 0, newact = 0; in do_insert_tree() local 272 newact = 1; in do_insert_tree() 295 } else if (newact && ret < 0) { in do_insert_tree()
|
/external/f2fs-tools/fsck/ |
D | quotaio_tree.c | 256 int newson = 0, newact = 0; in do_insert_tree() local 272 newact = 1; in do_insert_tree() 297 } else if (newact && ret < 0) { in do_insert_tree()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_interceptors.cc | 1935 sigaction_t newact; in TSAN_INTERCEPTOR() local 1936 internal_memcpy(&newact, act, sizeof(newact)); in TSAN_INTERCEPTOR() 1937 internal_sigfillset(&newact.sa_mask); in TSAN_INTERCEPTOR() 1939 if (newact.sa_flags & SA_SIGINFO) in TSAN_INTERCEPTOR() 1940 newact.sa_sigaction = rtl_sigaction; in TSAN_INTERCEPTOR() 1942 newact.sa_handler = rtl_sighandler; in TSAN_INTERCEPTOR() 1945 int res = REAL(sigaction)(sig, &newact, 0); in TSAN_INTERCEPTOR()
|