/external/autotest/client/tests/signaltest/src/ |
D | signaltest.c | 96 sigset_t sigset; in signalthread() local 121 sigemptyset(&sigset); in signalthread() 122 sigaddset(&sigset, par->signal); in signalthread() 123 sigprocmask(SIG_BLOCK, &sigset, NULL); in signalthread() 145 if (sigwait(&sigset, &sigs) < 0) in signalthread() 315 sigset_t sigset; in main() local 330 sigemptyset(&sigset); in main() 331 sigaddset(&sigset, signum); in main() 332 sigprocmask (SIG_BLOCK, &sigset, NULL); in main()
|
/external/ltp/testcases/kernel/syscalls/sigpending/ |
D | sigpending02.c | 70 sigset_t *sigset; in main() local 80 sigset = (sigset_t *) - 1; in main() 92 TEST(sigpending(sigset)); in main()
|
/external/autotest/client/tests/cyclictest/src/ |
D | cyclictest.c | 202 sigset_t sigset; in timerthread() local 231 sigemptyset(&sigset); in timerthread() 232 sigaddset(&sigset, par->signal); in timerthread() 233 sigprocmask(SIG_BLOCK, &sigset, NULL); in timerthread() 287 if (sigwait(&sigset, &sigs) < 0) in timerthread() 521 sigset_t sigset; in main() local 542 sigemptyset(&sigset); in main() 543 sigaddset(&sigset, signum); in main() 544 sigprocmask (SIG_BLOCK, &sigset, NULL); in main()
|
/external/compiler-rt/test/tsan/ |
D | signal_recursive.cc | 38 sigset_t sigset; in SuspendHandler() local 39 sigemptyset(&sigset); in SuspendHandler() 40 pthread_sigmask(SIG_SETMASK, &sigset, 0); in SuspendHandler()
|
/external/python/cpython3/Modules/clinic/ |
D | signalmodule.c.h | 343 signal_sigtimedwait_impl(PyObject *module, PyObject *sigset, 350 PyObject *sigset; in signal_sigtimedwait() local 355 &sigset, &timeout_obj)) { in signal_sigtimedwait() 358 return_value = signal_sigtimedwait_impl(module, sigset, timeout_obj); in signal_sigtimedwait()
|
/external/python/cpython3/Lib/ |
D | signal.py | 74 def sigwait(sigset): argument 75 retsig = _signal.sigwait(sigset)
|
/external/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()
|
/external/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()
|
/external/python/cpython3/Modules/ |
D | signalmodule.c | 895 signal_sigwait(PyObject *module, PyObject *sigset) in signal_sigwait() argument 901 if (iterable_to_sigset(sigset, &set)) in signal_sigwait() 984 signal_sigwaitinfo(PyObject *module, PyObject *sigset) in signal_sigwaitinfo() argument 992 if (iterable_to_sigset(sigset, &set)) in signal_sigwaitinfo() 1024 signal_sigtimedwait_impl(PyObject *module, PyObject *sigset, in signal_sigtimedwait_impl() argument 1043 if (iterable_to_sigset(sigset, &set)) in signal_sigtimedwait_impl()
|
/external/python/cpython3/Doc/library/ |
D | signal.rst | 375 .. function:: sigwait(sigset) 378 signals specified in the signal set *sigset*. The function accepts the signal 390 .. function:: sigwaitinfo(sigset) 393 signals specified in the signal set *sigset*. The function accepts the 395 signals in *sigset* is already pending for the calling thread, the function 399 *sigset*. 414 The function is now retried if interrupted by a signal not in *sigset* 419 .. function:: sigtimedwait(sigset, timeout) 434 by a signal not in *sigset* and the signal handler does not raise an
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/ |
D | 45-1-buildonly.c | 14 dummyvar = sigset; in dummyfcn()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigset/ |
D | 10-1.c | 23 if (sigset(SIGKILL, SIG_IGN) == SIG_ERR) { in main()
|
D | 3-1.c | 34 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 | 33 if (sigset(SIGCHLD, SIG_HOLD) != SIG_HOLD) { in main()
|
D | 9-1.c | 37 if (sigset(SIGUSR1, SIG_DFL) != myhandler) { in main()
|
D | 4-1.c | 34 if (sigset(SIGCHLD, myhandler) == SIG_ERR) { in main()
|
D | 1-1.c | 48 if (sigset(SIGCHLD, SIG_DFL) != myhandler) { in main()
|
D | 2-1.c | 46 if (sigset(SIGUSR1, SIG_IGN) != myhandler) { in main()
|
D | 6-1.c | 51 if (sigset(SIGCHLD, SIG_HOLD) == SIG_ERR) { in main()
|
D | 7-1.c | 59 if (sigset(SIGCHLD, SIG_HOLD) == SIG_ERR) { in main()
|
D | 5-1.c | 68 if (sigset(SIGCHLD, myhandler) == SIG_ERR) { in main()
|
/external/tcpdump/ |
D | setsignal.c | 84 return (sigset(sig, func)); in setsignal()
|
/external/dhcpcd-6.8.2/ |
D | dhcpcd.h | 108 sigset_t sigset; member
|
/external/ltp/testcases/kernel/syscalls/write/ |
D | write04.c | 104 sigset(SIGALRM, alarm_handler); in main()
|