/third_party/musl/porting/liteos_a/user/src/signal/ |
D | sigaction.c | 223 static int __sig_dfl_opr(int sig, sigactq_t *sigact, const sigaction_t *act) in __sig_dfl_opr() argument 231 sigact->act.sa_handler = def_handler; in __sig_dfl_opr() 232 sigact->act.sa_mask = act->sa_mask; in __sig_dfl_opr() 233 sigact->act.sa_flags = act->sa_flags; in __sig_dfl_opr() 242 sigactq_t *sigact = NULL; in __sig_action_opr() local 253 sigact = __sig_find_action(sig); in __sig_action_opr() 254 if (sigact && oact) __sig_copy_sigaction(&sigact->act, oact); in __sig_action_opr() 256 sigact->ign_flag = false; in __sig_action_opr() 258 if (handler == SIG_IGN && sigact) { in __sig_action_opr() 259 sigact->ign_flag = true; in __sig_action_opr() [all …]
|
/third_party/json/test/thirdparty/Fuzzer/ |
D | FuzzerUtilPosix.cpp | 46 struct sigaction sigact; in SetSigaction() local 47 memset(&sigact, 0, sizeof(sigact)); in SetSigaction() 48 sigact.sa_sigaction = callback; in SetSigaction() 49 if (sigaction(signum, &sigact, 0)) { in SetSigaction()
|
/third_party/ltp/testcases/kernel/syscalls/mq_notify/ |
D | mq_notify01.c | 104 struct sigaction sigact; in do_test() local 117 memset(&sigact, 0, sizeof(sigact)); in do_test() 118 sigact.sa_sigaction = sigfunc; in do_test() 119 sigact.sa_flags = SA_SIGINFO; in do_test() 120 if (sigaction(SIGUSR1, &sigact, NULL) == -1) { in do_test()
|
/third_party/json/test/thirdparty/Fuzzer/afl/ |
D | afl_driver.cpp | 131 struct sigaction sigact; in SetSigaction() local 132 memset(&sigact, 0, sizeof(sigact)); in SetSigaction() 133 sigact.sa_sigaction = callback; in SetSigaction() 134 if (sigaction(signum, &sigact, 0)) { in SetSigaction()
|
/third_party/libusb/examples/ |
D | sam3u_benchmark.c | 182 struct sigaction sigact; in main() local 184 sigact.sa_handler = sig_hdlr; in main() 185 sigemptyset(&sigact.sa_mask); in main() 186 sigact.sa_flags = 0; in main() 187 (void)sigaction(SIGINT, &sigact, NULL); in main()
|
D | dpfp.c | 575 struct sigaction sigact; in setup_signals() local 577 sigact.sa_handler = sighandler; in setup_signals() 578 sigemptyset(&sigact.sa_mask); in setup_signals() 579 sigact.sa_flags = 0; in setup_signals() 580 (void)sigaction(SIGINT, &sigact, NULL); in setup_signals() 581 (void)sigaction(SIGTERM, &sigact, NULL); in setup_signals() 582 (void)sigaction(SIGQUIT, &sigact, NULL); in setup_signals()
|
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/multi-touch-viewer/src/ |
D | multi-touch-viewer.c | 580 struct sigaction sigact; in setup_signal() local 582 sigact.sa_handler = signal_handler; in setup_signal() 583 sigemptyset(&sigact.sa_mask); in setup_signal() 584 sigact.sa_flags = 0; in setup_signal() 585 sigaction(SIGINT, &sigact, NULL); in setup_signal()
|
/third_party/mksh/ |
D | histrap.c | 1499 struct sigaction sigact; in setsig() local 1504 memset(&sigact, 0, sizeof(sigact)); in setsig() 1511 sigaction(p->signal, &Sigact_ign, &sigact); in setsig() 1512 p->flags |= sigact.sa_handler == SIG_IGN ? in setsig() 1543 (void)sigemptyset(&sigact.sa_mask); in setsig() 1545 sigact.sa_flags = 0; in setsig() 1546 sigact.sa_handler = f; in setsig() 1547 sigaction(p->signal, &sigact, NULL); in setsig()
|
/third_party/curl/lib/ |
D | hostip.c | 782 struct sigaction sigact; in Curl_resolv_timeout() local 838 sigaction(SIGALRM, NULL, &sigact); in Curl_resolv_timeout() 839 keep_sigact = sigact; in Curl_resolv_timeout() 841 sigact.sa_handler = alarmfunc; in Curl_resolv_timeout() 844 sigact.sa_flags &= ~SA_RESTART; in Curl_resolv_timeout() 847 sigaction(SIGALRM, &sigact, NULL); in Curl_resolv_timeout()
|
/third_party/libwebsockets/lib/misc/ |
D | daemonize.c | 84 static void lws_daemon_closing(int sigact) in lws_daemon_closing() argument
|
/third_party/ltp/testcases/kernel/mce-test/tsrc/ |
D | tinjpage.c | 722 struct sigaction sigact; in do_shared() local 723 sigaction(SIGBUS, NULL, &sigact); in do_shared() 725 if (sigact.sa_handler == SIG_DFL) {/* suicide version */ in do_shared()
|
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
D | scsimain.c | 1797 struct sigaction sigact; in install_handler() local 1798 sigaction(sig_num, NULL, &sigact); in install_handler() 1799 if (sigact.sa_handler != SIG_IGN) { in install_handler() 1800 sigact.sa_handler = sig_handler; in install_handler() 1801 sigemptyset(&sigact.sa_mask); in install_handler() 1802 sigact.sa_flags = 0; in install_handler() 1803 sigaction(sig_num, &sigact, NULL); in install_handler() 1818 struct sigaction sigact; in interrupt_handler() local 1820 sigact.sa_handler = SIG_DFL; in interrupt_handler() 1821 sigemptyset(&sigact.sa_mask); in interrupt_handler() [all …]
|
/third_party/chromium/patch/ |
D | 0004-3.2-Beta5.patch | 30722 CHECK_EQ(0, sigaction(signal_to_reset, &sigact, nullptr));
|
D | 0003-3.2-Beta3-1115.patch | 35769 struct sigaction sigact;
|