/external/linux-kselftest/tools/testing/selftests/powerpc/alignment/ |
D | copy_paste_unaligned_common.c | 47 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/ |
D | signals.c | 40 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()
|
D | timer.c | 88 extern int signal_action; in ChildTimer() 174 || (signal_action & SIGNAL_STAT)) { in ChildTimer() 183 if (signal_action & SIGNAL_STOP) { in ChildTimer()
|
D | main.c | 294 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()
|
D | childmain.c | 609 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/ |
D | 15-1-buildonly.c | 11 extern void signal_action(int, siginfo_t *, void *); 18 t.sa_sigaction = signal_action; in dummyfcn()
|
/external/v8/testing/gtest/test/ |
D | gtest-death-test_test.cc | 383 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/ |
D | gtest-death-test_test.cc | 383 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/ |
D | gtest-death-test_test.cc | 390 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/ |
D | gtest-death-test_test.cc | 388 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 …]
|