/third_party/musl/libc-test/src/functionalext/supplement/signal/ |
D | killpg.c | 47 sigset_t sigset; in killpg_0100() local 48 sigemptyset(&sigset); in killpg_0100() 49 sigaddset(&sigset, SIGCHLD); in killpg_0100() 50 sigprocmask(SIG_BLOCK, &sigset, NULL); in killpg_0100() 59 sigprocmask(SIG_UNBLOCK, &sigset, NULL); in killpg_0100()
|
D | sigset.c | 90 sigset(sig, handler); in sigset_0100() 125 sigset(sig, SIG_IGN); in sigset_0200() 160 sigset(sig, SIG_DFL); in sigset_0300() 195 sigset(sig, SIG_HOLD); in sigset_0400() 221 sigset(sig, SIG_DFL); in sigset_0500()
|
/third_party/ltp/testcases/kernel/syscalls/sigpending/ |
D | sigpending02.c | 36 static int tested_sigpending(sigset_t *sigset) in tested_sigpending() argument 43 return sigpending(sigset); in tested_sigpending() 47 return tst_syscall(__NR_sigpending, sigset); in tested_sigpending() 49 return tst_syscall(__NR_rt_sigpending, sigset, SIGSETSIZE); in tested_sigpending() 137 sigset_t *sigset = tst_get_bad_addr(NULL); in test_efault_on_invalid_sigset() local 139 TEST(tested_sigpending(sigset)); in test_efault_on_invalid_sigset()
|
/third_party/python/Modules/clinic/ |
D | signalmodule.c.h | 437 signal_sigwait_impl(PyObject *module, sigset_t sigset); 443 sigset_t sigset; in signal_sigwait() local 445 if (!_Py_Sigset_Converter(arg, &sigset)) { in signal_sigwait() 448 return_value = signal_sigwait_impl(module, sigset); in signal_sigwait() 495 signal_sigwaitinfo_impl(PyObject *module, sigset_t sigset); 501 sigset_t sigset; in signal_sigwaitinfo() local 503 if (!_Py_Sigset_Converter(arg, &sigset)) { in signal_sigwaitinfo() 506 return_value = signal_sigwaitinfo_impl(module, sigset); in signal_sigwaitinfo() 528 signal_sigtimedwait_impl(PyObject *module, sigset_t sigset, 535 sigset_t sigset; in signal_sigtimedwait() local [all …]
|
/third_party/libuv/src/unix/ |
D | epoll.c | 123 sigset_t sigset; in uv__io_poll() local 180 sigemptyset(&sigset); in uv__io_poll() 181 sigaddset(&sigset, SIGPROF); in uv__io_poll() 222 if (pthread_sigmask(SIG_BLOCK, &sigset, NULL)) in uv__io_poll() 230 &sigset); in uv__io_poll() 247 if (pthread_sigmask(SIG_UNBLOCK, &sigset, NULL)) in uv__io_poll()
|
/third_party/boost/boost/process/detail/posix/ |
D | wait_for_exit.hpp | 57 ::sigset_t sigset; in wait_until() 76 if (sigemptyset(&sigset) != 0) in wait_until() 81 if (sigaddset(&sigset, SIGCHLD) != 0) in wait_until() 112 auto ret_sig = ::sigtimedwait(&sigset, nullptr, &ts); in wait_until() 174 ret = ::sigwait(&sigset, &sig_); in wait_until()
|
/third_party/python/Lib/ |
D | signal.py | 81 def sigwait(sigset): argument 82 retsig = _signal.sigwait(sigset)
|
/third_party/ltp/testcases/kernel/syscalls/kill/ |
D | kill12.c | 89 if (sigset(SIGCHLD, chsig) == SIG_ERR) { in main() 201 sigset(sig, SIG_IGN); /* set to ignore signal */ in do_child()
|
/third_party/libuv/test/ |
D | test-signal-multiple-loops.c | 211 sigset_t sigset; in TEST_IMPL() local 260 sigfillset(&sigset); in TEST_IMPL() 261 pthread_sigmask(SIG_SETMASK, &sigset, NULL); in TEST_IMPL()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/ |
D | 45-1-buildonly.c | 14 dummyvar = sigset; in dummyfcn()
|
/third_party/ltp/testcases/kernel/mem/vmtests/ |
D | data_space.c | 137 if (sigset(SIGTERM, (void (*)())term) == SIG_ERR) { 140 if (sigset(SIGUSR1, (void (*)())chld) == SIG_ERR) { 466 if (sigset(SIGUSR1, (void (*)())chld) == SIG_ERR) { in chld()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigset/ |
D | 10-1.c | 22 if (sigset(SIGKILL, SIG_IGN) == SIG_ERR) { in main()
|
D | 3-1.c | 33 if (sigset(SIGCHLD, myhandler) == SIG_ERR) { in main()
|
D | coverage.txt | 1 This file defines the coverage for the sigset() function testing.
|
D | 8-1.c | 32 if (sigset(SIGCHLD, SIG_HOLD) != SIG_HOLD) { in main()
|
D | 9-1.c | 36 if (sigset(SIGUSR1, SIG_DFL) != myhandler) { in main()
|
D | 4-1.c | 33 if (sigset(SIGCHLD, myhandler) == SIG_ERR) { in main()
|
D | 2-1.c | 45 if (sigset(SIGUSR1, SIG_IGN) != myhandler) { in main()
|
D | 1-1.c | 47 if (sigset(SIGCHLD, SIG_DFL) != myhandler) { in main()
|
D | 6-1.c | 50 if (sigset(SIGCHLD, SIG_HOLD) == SIG_ERR) { in main()
|
D | 7-1.c | 58 if (sigset(SIGCHLD, SIG_HOLD) == SIG_ERR) { in main()
|
D | 5-1.c | 67 if (sigset(SIGCHLD, myhandler) == SIG_ERR) { in main()
|
/third_party/musl/src/signal/ |
D | sigset.c | 3 void (*sigset(int sig, void (*handler)(int)))(int) in sigset() function
|
/third_party/eudev/src/udev/ |
D | udev.h | 98 const sigset_t *sigset); 99 …n(struct udev_event *event, usec_t timeout_usec, usec_t timeout_warn_usec, const sigset_t *sigset);
|
/third_party/python/Modules/ |
D | signalmodule.c | 1051 signal_sigwait_impl(PyObject *module, sigset_t sigset) argument 1057 err = sigwait(&sigset, &signum); 1189 signal_sigwaitinfo_impl(PyObject *module, sigset_t sigset) argument 1198 err = sigwaitinfo(&sigset, &si); 1225 signal_sigtimedwait_impl(PyObject *module, sigset_t sigset, argument 1250 res = sigtimedwait(&sigset, &si, &ts);
|