Searched refs:signal_action (Results 1 – 6 of 6) sorted by relevance
/third_party/googletest/googletest/test/ |
D | googletest-death-test-test.cc | 404 struct sigaction signal_action; in SetSigprofActionAndTimer() local 405 memset(&signal_action, 0, sizeof(signal_action)); in SetSigprofActionAndTimer() 406 sigemptyset(&signal_action.sa_mask); in SetSigprofActionAndTimer() 407 signal_action.sa_sigaction = SigprofAction; in SetSigprofActionAndTimer() 408 signal_action.sa_flags = SA_RESTART | SA_SIGINFO; in SetSigprofActionAndTimer() 409 ASSERT_EQ(0, sigaction(SIGPROF, &signal_action, nullptr)); in SetSigprofActionAndTimer() 426 struct sigaction signal_action; in DisableSigprofActionAndTimer() local 427 memset(&signal_action, 0, sizeof(signal_action)); in DisableSigprofActionAndTimer() 428 sigemptyset(&signal_action.sa_mask); in DisableSigprofActionAndTimer() 429 signal_action.sa_handler = SIG_IGN; in DisableSigprofActionAndTimer() [all …]
|
/third_party/musl/porting/linux/user/src/sigchain/ |
D | sigchain.c | 227 struct sigaction signal_action = {}; in sigchain_register() local 228 sigfillset(&signal_action.sa_mask); in sigchain_register() 230 signal_action.sa_sigaction = signal_chain_handler; in sigchain_register() 231 signal_action.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; in sigchain_register() 232 __libc_sigaction(signo, &signal_action, &sig_chains[signo - 1].sig_action); in sigchain_register()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/ |
D | 15-1-buildonly.c | 11 extern void signal_action(int, siginfo_t *, void *); 18 t.sa_sigaction = signal_action; in dummyfcn()
|
/third_party/libuv/test/ |
D | test-signal-multiple-loops.c | 46 enum signal_action { enum 83 enum signal_action action; in signal_handling_worker() 90 action = (enum signal_action) (uintptr_t) context; in signal_handling_worker() 210 enum signal_action action; in TEST_IMPL()
|
/third_party/rust/crates/nix/test/ |
D | test_timer.rs | 36 let signal_action = in alarm_fires() localVariable 39 sigaction(SIG, &signal_action) in alarm_fires()
|
D | test_unistd.rs | 823 let signal_action = in test_alarm() localVariable 826 sigaction(Signal::SIGALRM, &signal_action) in test_alarm()
|