/external/libunwind/tests/ |
D | test-setjmp.c | 135 sigprocmask (SIG_BLOCK, NULL, (sigset_t *) &sigset4); in sighandler() 165 sigprocmask (SIG_SETMASK, (sigset_t *) &sigset1, NULL); in main() 169 sigprocmask (SIG_BLOCK, NULL, (sigset_t *) &sigset3); in main() 181 sigprocmask (SIG_SETMASK, (sigset_t *) &sigset2, NULL); in main() 186 sigprocmask (SIG_SETMASK, (sigset_t *) &sigset1, NULL); in main() 190 sigprocmask (SIG_BLOCK, NULL, (sigset_t *) &sigset3); in main() 203 sigprocmask (SIG_SETMASK, (sigset_t *) &sigset2, NULL); in main() 208 sigprocmask (SIG_SETMASK, (sigset_t *) &sigset1, NULL); in main() 212 sigprocmask (SIG_BLOCK, NULL, (sigset_t *) &sigset3); in main() 225 sigprocmask (SIG_SETMASK, (sigset_t *) &sigset2, NULL); in main() [all …]
|
/external/libedit/src/ |
D | sig.c | 76 (void) sigprocmask(SIG_BLOCK, &nset, &oset); in sig_handler() 105 (void) sigprocmask(SIG_SETMASK, &oset, NULL); in sig_handler() 128 (void) sigprocmask(SIG_BLOCK, nset, &oset); in sig_init() 136 (void) sigprocmask(SIG_SETMASK, &oset, NULL); in sig_init() 168 (void) sigprocmask(SIG_BLOCK, &el->el_signal->sig_set, &oset); in sig_set() 177 (void) sigprocmask(SIG_SETMASK, &oset, NULL); in sig_set() 190 (void) sigprocmask(SIG_BLOCK, &el->el_signal->sig_set, &oset); in sig_clr() 199 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in sig_clr()
|
/external/mksh/src/ |
D | jobs.c | 180 sigprocmask(SIG_SETMASK, &sm_default, NULL); in j_init() 470 sigprocmask(SIG_BLOCK, &sm_sigchld, &omask); in exchild() 529 sigprocmask(SIG_SETMASK, &omask, NULL); in exchild() 602 sigprocmask(SIG_SETMASK, &omask, NULL); in exchild() 651 sigprocmask(SIG_SETMASK, &omask, NULL); in exchild() 664 sigprocmask(SIG_BLOCK, &sm_sigchld, &omask); in startlast() 674 sigprocmask(SIG_SETMASK, &omask, NULL); in startlast() 687 sigprocmask(SIG_BLOCK, &sm_sigchld, &omask); in waitlast() 697 sigprocmask(SIG_SETMASK, &omask, NULL); in waitlast() 706 sigprocmask(SIG_SETMASK, &omask, NULL); in waitlast() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/ |
D | coverage.txt | 2 and sigprocmask() are equivalent functions, but pthread_sigmask() should also work in a 4 sigprocmask() function, but calls will be made from threads that belong to multi-threaded processes 9 2 WON'T test. Pertains only to sigprocmask(). 22 15 WON'T test, pertains only to sigprocmask() 24 17 WON'T test, pertains only to sigprocmask()
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl15.c | 131 if (sigprocmask(SIG_BLOCK, &newmask, &oldmask) < 0) { in dochild1() 159 if (sigprocmask(SIG_SETMASK, &oldmask, NULL) < 0) { in dochild1() 214 if (sigprocmask(SIG_BLOCK, &newmask, &oldmask) < 0) { in dofork() 233 if (sigprocmask(SIG_SETMASK, &oldmask, NULL) < 0) { in dofork() 282 if (sigprocmask(SIG_BLOCK, &newmask, &oldmask) < 0) { in dochild2() 310 if (sigprocmask(SIG_SETMASK, &oldmask, NULL) < 0) { in dochild2() 470 if (sigprocmask(SIG_BLOCK, &newmask, &oldmask) < 0) { in run_test() 489 if (sigprocmask(SIG_SETMASK, &oldmask, NULL) < 0) { in run_test()
|
/external/libbrillo/brillo/ |
D | asynchronous_signal_handler.cc | 38 CHECK_EQ(0, sigprocmask(SIG_SETMASK, &saved_signal_mask_, nullptr)); in ~AsynchronousSignalHandler() 44 CHECK_EQ(0, sigprocmask(SIG_BLOCK, &signal_mask_, &saved_signal_mask_)); in Init() 101 CHECK_EQ(0, sigprocmask(SIG_SETMASK, &saved_signal_mask_, nullptr)); in UpdateSignals() 102 CHECK_EQ(0, sigprocmask(SIG_BLOCK, &signal_mask_, nullptr)); in UpdateSignals()
|
/external/valgrind/none/tests/solaris/ |
D | sigresend.c | 22 assert(!sigprocmask(SIG_BLOCK, NULL, ¤t)); in signal_handler() 32 if (sigprocmask(0, NULL, ¤t)) { in main() 65 if (sigprocmask(SIG_BLOCK, NULL, ¤t)) { in main()
|
/external/strace/tests/ |
D | sigpending.c | 58 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main() 77 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main() 85 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
|
D | sxetmask.c | 70 if (sigprocmask(SIG_SETMASK, &uset.libc_mask, NULL)) in main() 86 if (sigprocmask(SIG_SETMASK, NULL, &uget.libc_mask)) in main() 105 if (sigprocmask(SIG_SETMASK, &uset.libc_mask, NULL)) in main()
|
D | rt_sigpending.c | 85 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main() 108 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main() 115 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
|
D | signal.c | 61 if (sigprocmask(SIG_BLOCK, &mask, NULL)) in main() 82 if (sigprocmask(SIG_UNBLOCK, &mask, NULL)) in main() 85 if (sigprocmask(SIG_BLOCK, &mask, NULL)) in main()
|
/external/strace/tests-mx32/ |
D | sigpending.c | 58 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main() 77 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main() 85 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
|
D | sxetmask.c | 70 if (sigprocmask(SIG_SETMASK, &uset.libc_mask, NULL)) in main() 86 if (sigprocmask(SIG_SETMASK, NULL, &uget.libc_mask)) in main() 105 if (sigprocmask(SIG_SETMASK, &uset.libc_mask, NULL)) in main()
|
D | rt_sigpending.c | 85 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main() 108 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main() 115 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
|
D | signal.c | 61 if (sigprocmask(SIG_BLOCK, &mask, NULL)) in main() 82 if (sigprocmask(SIG_UNBLOCK, &mask, NULL)) in main() 85 if (sigprocmask(SIG_BLOCK, &mask, NULL)) in main()
|
/external/strace/tests-m32/ |
D | sigpending.c | 58 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main() 77 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main() 85 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
|
D | sxetmask.c | 70 if (sigprocmask(SIG_SETMASK, &uset.libc_mask, NULL)) in main() 86 if (sigprocmask(SIG_SETMASK, NULL, &uget.libc_mask)) in main() 105 if (sigprocmask(SIG_SETMASK, &uset.libc_mask, NULL)) in main()
|
D | rt_sigpending.c | 85 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main() 108 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main() 115 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
|
D | signal.c | 61 if (sigprocmask(SIG_BLOCK, &mask, NULL)) in main() 82 if (sigprocmask(SIG_UNBLOCK, &mask, NULL)) in main() 85 if (sigprocmask(SIG_BLOCK, &mask, NULL)) in main()
|
/external/ltp/testcases/kernel/syscalls/sigwaitinfo/ |
D | sigwaitinfo01.c | 221 SUCCEED_OR_DIE(sigprocmask, "sigprocmask failed", SIG_SETMASK, &sigs, in test_masked_matching() 235 SUCCEED_OR_DIE(sigprocmask, "restoring original signal mask failed", in test_masked_matching() 262 SUCCEED_OR_DIE(sigprocmask, "sigprocmask failed", SIG_SETMASK, &sigs, in test_masked_matching_rt() 289 SUCCEED_OR_DIE(sigprocmask, "restoring original signal mask failed", in test_masked_matching_rt() 311 SUCCEED_OR_DIE(sigprocmask, "sigprocmask failed", SIG_SETMASK, &sigs, in test_masked_matching_noinfo() 323 SUCCEED_OR_DIE(sigprocmask, "restoring original signal mask failed", in test_masked_matching_noinfo() 346 SUCCEED_OR_DIE(sigprocmask, "sigprocmask failed", SIG_SETMASK, &sigs, in test_bad_address() 358 SUCCEED_OR_DIE(sigprocmask, "sigprocmask failed", SIG_SETMASK, &oldmask, in test_bad_address()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/ |
D | 12-1.c | 75 sigprocmask(SIG_SETMASK, &actl, NULL); in main() 78 if (sigprocmask(r, &actl, NULL) != -1) { in main() 84 sigprocmask(SIG_SETMASK, NULL, &oactl); in main()
|
D | 10-1.c | 27 sigprocmask_return_val = sigprocmask(SIG_SETMASK, &set1, NULL); in main() 28 sigprocmask(SIG_SETMASK, NULL, &set2); in main()
|
D | 9-1.c | 56 if (sigprocmask(SIG_SETMASK, &blocked_set1, NULL) == -1) { in main() 68 sigprocmask_return_val = sigprocmask(SIG_UNBLOCK, &blocked_set1, NULL); in main()
|
/external/libdaemon/libdaemon/ |
D | dfork.c | 162 if (sigprocmask(SIG_UNBLOCK, &ss_new, &ss_old) < 0) { in daemon_fork() 177 sigprocmask(SIG_SETMASK, &ss_old, NULL); in daemon_fork() 190 sigprocmask(SIG_SETMASK, &ss_old, NULL); in daemon_fork() 267 if (sigprocmask(SIG_SETMASK, &ss_old, NULL) < 0) { in daemon_fork() 325 sigprocmask(SIG_SETMASK, &ss_old, NULL); in daemon_fork() 330 sigprocmask(SIG_SETMASK, &ss_old, NULL); in daemon_fork() 648 return sigprocmask(SIG_SETMASK, &ss, NULL); in daemon_unblock_sigsv()
|
/external/dhcpcd-6.8.2/compat/ |
D | pollts.c | 56 if (sigmask && sigprocmask(SIG_SETMASK, sigmask, &oldset) == -1) in pollts() 59 if (sigmask && sigprocmask(SIG_SETMASK, &oldset, NULL) == -1) in pollts()
|