Searched refs:newact (Results 1 – 9 of 9) sorted by relevance
/external/perfetto/src/profiling/memory/ |
D | client_unittest.cc | 61 struct sigaction newact {}; in TEST() struct 65 newact.sa_handler = [](int) { in TEST() 69 newact.sa_flags = SA_ONSTACK; in TEST() 70 int res = sigaction(SIGUSR1, &newact, &oldact); in TEST()
|
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/ |
D | onepass.cc | 483 uint32_t newact = (nextindex << kIndexShift) | cond; in IsOnePass() local 485 newact |= kMatchWins; in IsOnePass() 487 node->action[b] = newact; in IsOnePass() 488 } else if (act != newact) { in IsOnePass() 504 uint32_t newact = (nextindex << kIndexShift) | cond; in IsOnePass() local 506 newact |= kMatchWins; in IsOnePass() 508 node->action[b] = newact; in IsOnePass() 509 } else if (act != newact) { in IsOnePass()
|
/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 | 850 struct sigaction newact = {}; in TEST_F() local 851 newact.sa_handler = [](int) {}; in TEST_F() 852 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()
|
/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/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/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()
|
/external/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_interceptors_posix.cpp | 2411 __sanitizer_sigaction newact; in sigaction_impl() local 2427 internal_memcpy(&newact, act, sizeof(newact)); in sigaction_impl() 2428 internal_sigfillset(&newact.sa_mask); in sigaction_impl() 2430 if (newact.sa_flags & SA_SIGINFO) in sigaction_impl() 2431 newact.sigaction = rtl_sigaction; in sigaction_impl() 2433 newact.handler = rtl_sighandler; in sigaction_impl() 2436 act = &newact; in sigaction_impl()
|