Home
last modified time | relevance | path

Searched refs:signal_action (Results 1 – 10 of 10) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/powerpc/alignment/
Dcopy_paste_unaligned_common.c47 struct sigaction signal_action; in setup_signal_handler() local
49 memset(&signal_action, 0, sizeof(signal_action)); in setup_signal_handler()
50 signal_action.sa_sigaction = signal_action_handler; in setup_signal_handler()
51 signal_action.sa_flags = SA_SIGINFO; in setup_signal_handler()
52 sigaction(SIGBUS, &signal_action, NULL); in setup_signal_handler()
/external/ltp/testcases/kernel/io/disktest/
Dsignals.c40 int signal_action = SIGNAL_NONE; variable
80 signal_action |= SIGNAL_STOP; in sig_handler()
87 signal_action |= SIGNAL_STOP; in sig_handler()
94 signal_action |= SIGNAL_STOP; in sig_handler()
101 signal_action |= SIGNAL_STOP; in sig_handler()
108 signal_action |= SIGNAL_STAT; in sig_handler()
164 if (signal_action & SIGNAL_STAT) { in clear_stat_signal()
166 signal_action &= ~SIGNAL_STAT; in clear_stat_signal()
Dtimer.c88 extern int signal_action; in ChildTimer()
174 || (signal_action & SIGNAL_STAT)) { in ChildTimer()
183 if (signal_action & SIGNAL_STOP) { in ChildTimer()
Dmain.c294 extern int signal_action; in threadedMain()
396 if (signal_action & SIGNAL_STOP) { in threadedMain()
422 if (signal_action & SIGNAL_STOP) { in threadedMain()
429 if (signal_action & SIGNAL_STOP) { in threadedMain()
Dchildmain.c609 extern int signal_action; in ChildMain()
693 if (signal_action & SIGNAL_STOP) { in ChildMain()
750 if (signal_action & SIGNAL_STOP) { in ChildMain()
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/
D15-1-buildonly.c11 extern void signal_action(int, siginfo_t *, void *);
18 t.sa_sigaction = signal_action; in dummyfcn()
/external/v8/testing/gtest/test/
Dgtest-death-test_test.cc383 struct sigaction signal_action; in SetSigprofActionAndTimer() local
384 memset(&signal_action, 0, sizeof(signal_action)); in SetSigprofActionAndTimer()
385 sigemptyset(&signal_action.sa_mask); in SetSigprofActionAndTimer()
386 signal_action.sa_sigaction = SigprofAction; in SetSigprofActionAndTimer()
387 signal_action.sa_flags = SA_RESTART | SA_SIGINFO; in SetSigprofActionAndTimer()
388 ASSERT_EQ(0, sigaction(SIGPROF, &signal_action, NULL)); in SetSigprofActionAndTimer()
398 struct sigaction signal_action; in DisableSigprofActionAndTimer() local
399 memset(&signal_action, 0, sizeof(signal_action)); in DisableSigprofActionAndTimer()
400 sigemptyset(&signal_action.sa_mask); in DisableSigprofActionAndTimer()
401 signal_action.sa_handler = SIG_IGN; in DisableSigprofActionAndTimer()
[all …]
/external/googletest/googletest/test/
Dgtest-death-test_test.cc383 struct sigaction signal_action; in SetSigprofActionAndTimer() local
384 memset(&signal_action, 0, sizeof(signal_action)); in SetSigprofActionAndTimer()
385 sigemptyset(&signal_action.sa_mask); in SetSigprofActionAndTimer()
386 signal_action.sa_sigaction = SigprofAction; in SetSigprofActionAndTimer()
387 signal_action.sa_flags = SA_RESTART | SA_SIGINFO; in SetSigprofActionAndTimer()
388 ASSERT_EQ(0, sigaction(SIGPROF, &signal_action, NULL)); in SetSigprofActionAndTimer()
398 struct sigaction signal_action; in DisableSigprofActionAndTimer() local
399 memset(&signal_action, 0, sizeof(signal_action)); in DisableSigprofActionAndTimer()
400 sigemptyset(&signal_action.sa_mask); in DisableSigprofActionAndTimer()
401 signal_action.sa_handler = SIG_IGN; in DisableSigprofActionAndTimer()
[all …]
/external/google-breakpad/src/testing/gtest/test/
Dgtest-death-test_test.cc390 struct sigaction signal_action; in SetSigprofActionAndTimer() local
391 memset(&signal_action, 0, sizeof(signal_action)); in SetSigprofActionAndTimer()
392 sigemptyset(&signal_action.sa_mask); in SetSigprofActionAndTimer()
393 signal_action.sa_sigaction = SigprofAction; in SetSigprofActionAndTimer()
394 signal_action.sa_flags = SA_RESTART | SA_SIGINFO; in SetSigprofActionAndTimer()
395 ASSERT_EQ(0, sigaction(SIGPROF, &signal_action, NULL)); in SetSigprofActionAndTimer()
405 struct sigaction signal_action; in DisableSigprofActionAndTimer() local
406 memset(&signal_action, 0, sizeof(signal_action)); in DisableSigprofActionAndTimer()
407 sigemptyset(&signal_action.sa_mask); in DisableSigprofActionAndTimer()
408 signal_action.sa_handler = SIG_IGN; in DisableSigprofActionAndTimer()
[all …]
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/
Dgtest-death-test_test.cc388 struct sigaction signal_action; in SetSigprofActionAndTimer() local
389 memset(&signal_action, 0, sizeof(signal_action)); in SetSigprofActionAndTimer()
390 sigemptyset(&signal_action.sa_mask); in SetSigprofActionAndTimer()
391 signal_action.sa_sigaction = SigprofAction; in SetSigprofActionAndTimer()
392 signal_action.sa_flags = SA_RESTART | SA_SIGINFO; in SetSigprofActionAndTimer()
393 ASSERT_EQ(0, sigaction(SIGPROF, &signal_action, NULL)); in SetSigprofActionAndTimer()
403 struct sigaction signal_action; in DisableSigprofActionAndTimer() local
404 memset(&signal_action, 0, sizeof(signal_action)); in DisableSigprofActionAndTimer()
405 sigemptyset(&signal_action.sa_mask); in DisableSigprofActionAndTimer()
406 signal_action.sa_handler = SIG_IGN; in DisableSigprofActionAndTimer()
[all …]