/external/valgrind/main/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/asan/ |
asan_posix.cc | 41 struct sigaction sigact; local 42 REAL(memset)(&sigact, 0, sizeof(sigact)); 43 sigact.sa_sigaction = handler; 44 sigact.sa_flags = SA_SIGINFO; 45 if (flags()->use_sigaltstack) sigact.sa_flags |= SA_ONSTACK; 46 CHECK_EQ(0, REAL(sigaction)(signum, &sigact, 0));
|
/external/openssh/openbsd-compat/ |
sigact.c | 41 #include "sigact.h" 49 sigaction(int sig, struct sigaction *sigact, struct sigaction *osigact) 51 return sigvec(sig, sigact ? &sigact->sv : NULL,
|
sigact.h | 81 int sigaction(int sig, struct sigaction *sigact, struct sigaction *osigact);
|
/system/core/sh/ |
trap.c | 235 sig_t sigact = SIG_DFL; local 277 if (!getsigaction(signo, &sigact)) { 285 if (sigact == SIG_IGN) { 298 case S_DFL: sigact = SIG_DFL; break; 299 case S_CATCH: sigact = onsig; break; 300 case S_IGN: sigact = SIG_IGN; break; 304 act.sa_handler = sigact; 319 getsigaction(int signo, sig_t *sigact) 325 *sigact = (sig_t) sa.sa_handler;
|
/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/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/chromium_org/chrome/app/ |
chrome_main_delegate.cc | 294 struct sigaction sigact; local 295 memset(&sigact, 0, sizeof(sigact)); 296 sigact.sa_handler = SIG_DFL; 297 CHECK(sigaction(SIGTERM, &sigact, NULL) == 0); 302 struct sigaction sigact; local 303 sigact.sa_handler = SIGTERMProfilingShutdown; 304 sigact.sa_flags = SA_RESETHAND; 305 sigemptyset(&sigact.sa_mask); 306 CHECK(sigaction(SIGTERM, &sigact, NULL) == 0) [all...] |
/frameworks/native/cmds/dumpstate/ |
dumpstate.c | 333 struct sigaction sigact; local 354 memset(&sigact, 0, sizeof(sigact)); 355 sigact.sa_handler = sigpipe_handler; 356 sigaction(SIGPIPE, &sigact, NULL);
|
/external/qemu/ |
cpus.c | 407 struct sigaction sigact; 419 memset(&sigact, 0, sizeof(sigact)); 420 sigact.sa_handler = cpu_signal; 421 sigaction(SIGUSR1, &sigact, NULL);
|
/external/mksh/src/ |
histrap.c | 1380 struct sigaction sigact; local 1385 memset(&sigact, 0, sizeof(sigact)); 1392 sigaction(p->signal, &Sigact_ign, &sigact); 1393 p->flags |= sigact.sa_handler == SIG_IGN ? 1424 (void)sigemptyset(&sigact.sa_mask); 1426 sigact.sa_flags = 0; 1427 sigact.sa_handler = f; 1428 sigaction(p->signal, &sigact, NULL); [all...] |
/external/chromium_org/content/app/ |
content_main_runner.cc | 203 struct sigaction sigact; local 204 memset(&sigact, 0, sizeof(sigact)); 205 sigact.sa_handler = SIG_DFL; 210 CHECK(0 == sigaction(signals_to_reset[i], &sigact, NULL));
|
/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/compiler-rt/lib/tsan/rtl/ |
tsan_interceptors.cc | [all...] |
/external/valgrind/main/perf/ |
tinycc.c | [all...] |