/external/valgrind/none/tests/ |
pth_blockedsig.c | 33 struct sigaction sigact; local 44 memset (&sigact, 0, sizeof sigact); 45 sigact.sa_handler = sig_usr1; 46 if (sigaction(SIGUSR1, &sigact, NULL) != 0)
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_posix_libcdep.cc | 173 struct sigaction sigact; local 174 internal_memset(&sigact, 0, sizeof(sigact)); 175 sigact.sa_sigaction = (sa_sigaction_t)handler; 178 sigact.sa_flags = SA_SIGINFO | SA_NODEFER; 179 if (common_flags()->use_sigaltstack) sigact.sa_flags |= SA_ONSTACK; 180 CHECK_EQ(0, internal_sigaction(signum, &sigact, nullptr));
|
/external/libusb/examples/ |
dpfp.c | 419 struct sigaction sigact; local 459 sigact.sa_handler = sighandler; 460 sigemptyset(&sigact.sa_mask); 461 sigact.sa_flags = 0; 462 sigaction(SIGINT, &sigact, NULL); 463 sigaction(SIGTERM, &sigact, NULL); 464 sigaction(SIGQUIT, &sigact, NULL);
|
dpfp_threaded.c | 446 struct sigaction sigact; local 478 sigact.sa_handler = sighandler; 479 sigemptyset(&sigact.sa_mask); 480 sigact.sa_flags = 0; 481 sigaction(SIGINT, &sigact, NULL); 482 sigaction(SIGTERM, &sigact, NULL); 483 sigaction(SIGQUIT, &sigact, NULL);
|
/external/llvm/lib/Fuzzer/ |
FuzzerUtil.cpp | 57 struct sigaction sigact; local 58 memset(&sigact, 0, sizeof(sigact)); 59 sigact.sa_sigaction = AlarmHandler; 60 Res = sigaction(SIGALRM, &sigact, 0);
|
/external/dnsmasq/src/ |
helper.c | 57 struct sigaction sigact; local 75 sigact.sa_handler = SIG_IGN; 76 sigact.sa_flags = 0; 77 sigemptyset(&sigact.sa_mask); 78 sigaction(SIGTERM, &sigact, NULL); 79 sigaction(SIGALRM, &sigact, NULL);
|
dnsmasq.c | 76 struct sigaction sigact; local 99 sigact.sa_handler = sig_handler; 100 sigact.sa_flags = 0; 101 sigemptyset(&sigact.sa_mask); 102 sigaction(SIGUSR1, &sigact, NULL); 103 sigaction(SIGUSR2, &sigact, NULL); 104 sigaction(SIGHUP, &sigact, NULL); 105 sigaction(SIGTERM, &sigact, NULL); 106 sigaction(SIGALRM, &sigact, NULL); 107 sigaction(SIGCHLD, &sigact, NULL) [all...] |
/external/curl/lib/ |
hostip.c | 576 volatile bool keep_copysig = FALSE; /* wether old sigact has been saved */ 577 struct sigaction sigact; local 629 sigaction(SIGALRM, NULL, &sigact); 630 keep_sigact = sigact; 632 sigact.sa_handler = alarmfunc; 635 sigact.sa_flags &= ~SA_RESTART; 638 sigaction(SIGALRM, &sigact, NULL);
|
/system/extras/perfprofd/ |
perfprofdcore.cc | 248 struct sigaction sigact; local 251 memset(&sigact, 0, sizeof(sigact)); 252 sigact.sa_sigaction = handler; 253 sigaction(SIGALRM, &sigact, &oldsigact_);
|
/external/compiler-rt/lib/asan/tests/ |
asan_test.cc | 272 struct sigaction sigact; local 273 memset(&sigact, 0, sizeof(sigact)); 274 sigact.sa_sigaction = my_sigaction_sighandler; 275 sigact.sa_flags = SA_SIGINFO; 277 EXPECT_EQ(0, sigaction(SIGSEGV, &sigact, 0)); 279 EXPECT_EQ(0, sigaction(SIGBUS, &sigact, 0)); [all...] |
/external/mksh/src/ |
histrap.c | 1445 struct sigaction sigact; local 1450 memset(&sigact, 0, sizeof(sigact)); [all...] |
/frameworks/native/cmds/dumpstate/ |
dumpstate.cpp | 1095 struct sigaction sigact; local [all...] |
utils.cpp | 755 struct sigaction sigact; local 756 memset(&sigact, 0, sizeof(sigact)); 757 sigact.sa_handler = SIG_IGN; 758 sigaction(SIGPIPE, &sigact, NULL); [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_interceptors.cc | [all...] |
/external/valgrind/perf/ |
tinycc.c | [all...] |