/external/strace/ |
D | print_aio_sigset.c | 44 strace_aio_sigset sigset; in MPERS_PRINTER_DECL() local 46 if (!umove_or_printaddr(tcp, addr, &sigset)) { in MPERS_PRINTER_DECL() 48 print_sigset_addr_len(tcp, (uintptr_t) sigset.sigmask, in MPERS_PRINTER_DECL() 49 sigset.sigsetsize); in MPERS_PRINTER_DECL() 50 PRINT_FIELD_U(", ", sigset, sigsetsize); in MPERS_PRINTER_DECL()
|
/external/crosvm/sys_util/src/ |
D | signalfd.rs | 77 let sigset = signal::create_sigset(&[signal]).map_err(Error::CreateSigset)?; in new() localVariable 80 let fd = unsafe { signalfd(-1, &sigset, SFD_CLOEXEC | SFD_NONBLOCK) }; in new() 181 let mut sigset: sigset_t = mem::zeroed(); in drop() localVariable 182 pthread_sigmask(0, null(), &mut sigset as *mut sigset_t); in drop() 183 assert_eq!(sigismember(&sigset, sigid), 1); in drop() 190 let mut sigset: sigset_t = mem::zeroed(); in drop() localVariable 191 pthread_sigmask(0, null(), &mut sigset as *mut sigset_t); in drop() 192 assert_eq!(sigismember(&sigset, sigid), 0); in drop()
|
D | signal.rs | 128 let mut sigset: sigset_t = unsafe { mem::zeroed() }; in create_sigset() localVariable 131 let ret = unsafe { sigemptyset(&mut sigset) }; in create_sigset() 138 let ret = unsafe { sigaddset(&mut sigset, *signal) }; in create_sigset() 144 Ok(sigset) in create_sigset() 174 let sigset = create_sigset(&[num]).map_err(Error::CreateSigset)?; in block_signal() localVariable 179 let ret = pthread_sigmask(SIG_BLOCK, &sigset, &mut old_sigset as *mut sigset_t); in block_signal() 195 let sigset = create_sigset(&[num]).map_err(Error::CreateSigset)?; in unblock_signal() localVariable 198 let ret = unsafe { pthread_sigmask(SIG_UNBLOCK, &sigset, null_mut()) }; in unblock_signal() 207 let sigset = create_sigset(&[num]).map_err(Error::CreateSigset)?; in clear_signal() localVariable 220 let ret = sigtimedwait(&sigset, &mut siginfo, &ts); in clear_signal()
|
/external/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()
|
/external/python/cpython3/Modules/clinic/ |
D | signalmodule.c.h | 451 signal_sigwait_impl(PyObject *module, sigset_t sigset); 457 sigset_t sigset; in signal_sigwait() local 459 if (!_Py_Sigset_Converter(arg, &sigset)) { in signal_sigwait() 462 return_value = signal_sigwait_impl(module, sigset); in signal_sigwait() 509 signal_sigwaitinfo_impl(PyObject *module, sigset_t sigset); 515 sigset_t sigset; in signal_sigwaitinfo() local 517 if (!_Py_Sigset_Converter(arg, &sigset)) { in signal_sigwaitinfo() 520 return_value = signal_sigwaitinfo_impl(module, sigset); in signal_sigwaitinfo() 542 signal_sigtimedwait_impl(PyObject *module, sigset_t sigset, 549 sigset_t sigset; in signal_sigtimedwait() local [all …]
|
/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/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/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/python/cpython3/Lib/ |
D | signal.py | 73 def sigwait(sigset): argument 74 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/open_posix_testsuite/conformance/definitions/signal_h/ |
D | 45-1-buildonly.c | 14 dummyvar = sigset; in dummyfcn()
|
/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/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 | 1-1.c | 47 if (sigset(SIGCHLD, SIG_DFL) != myhandler) { in main()
|
D | 2-1.c | 45 if (sigset(SIGUSR1, SIG_IGN) != 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()
|
/external/tcpdump/ |
D | setsignal.c | 84 return (sigset(sig, func)); in setsignal()
|
/external/python/cpython3/Modules/ |
D | signalmodule.c | 990 signal_sigwait_impl(PyObject *module, sigset_t sigset) in signal_sigwait_impl() argument 996 err = sigwait(&sigset, &signum); in signal_sigwait_impl() 1127 signal_sigwaitinfo_impl(PyObject *module, sigset_t sigset) in signal_sigwaitinfo_impl() argument 1136 err = sigwaitinfo(&sigset, &si); in signal_sigwaitinfo_impl() 1163 signal_sigtimedwait_impl(PyObject *module, sigset_t sigset, in signal_sigtimedwait_impl() argument 1188 res = sigtimedwait(&sigset, &si, &ts); in signal_sigtimedwait_impl()
|