Home
last modified time | relevance | path

Searched refs:sigset (Results 1 – 25 of 52) sorted by relevance

123

/third_party/musl/libc-test/src/functionalext/supplement/signal/
Dkillpg.c47 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()
Dsigset.c90 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/
Dsigpending02.c36 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/
Dsignalmodule.c.h437 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/
Depoll.c123 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/
Dwait_for_exit.hpp57 ::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/
Dsignal.py81 def sigwait(sigset): argument
82 retsig = _signal.sigwait(sigset)
/third_party/ltp/testcases/kernel/syscalls/kill/
Dkill12.c89 if (sigset(SIGCHLD, chsig) == SIG_ERR) { in main()
201 sigset(sig, SIG_IGN); /* set to ignore signal */ in do_child()
/third_party/libuv/test/
Dtest-signal-multiple-loops.c211 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/
D45-1-buildonly.c14 dummyvar = sigset; in dummyfcn()
/third_party/ltp/testcases/kernel/mem/vmtests/
Ddata_space.c137 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/
D10-1.c22 if (sigset(SIGKILL, SIG_IGN) == SIG_ERR) { in main()
D3-1.c33 if (sigset(SIGCHLD, myhandler) == SIG_ERR) { in main()
Dcoverage.txt1 This file defines the coverage for the sigset() function testing.
D8-1.c32 if (sigset(SIGCHLD, SIG_HOLD) != SIG_HOLD) { in main()
D9-1.c36 if (sigset(SIGUSR1, SIG_DFL) != myhandler) { in main()
D4-1.c33 if (sigset(SIGCHLD, myhandler) == SIG_ERR) { in main()
D2-1.c45 if (sigset(SIGUSR1, SIG_IGN) != myhandler) { in main()
D1-1.c47 if (sigset(SIGCHLD, SIG_DFL) != myhandler) { in main()
D6-1.c50 if (sigset(SIGCHLD, SIG_HOLD) == SIG_ERR) { in main()
D7-1.c58 if (sigset(SIGCHLD, SIG_HOLD) == SIG_ERR) { in main()
D5-1.c67 if (sigset(SIGCHLD, myhandler) == SIG_ERR) { in main()
/third_party/musl/src/signal/
Dsigset.c3 void (*sigset(int sig, void (*handler)(int)))(int) in sigset() function
/third_party/eudev/src/udev/
Dudev.h98 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/
Dsignalmodule.c1051 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);

123