/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/mksh/src/ |
D | jobs.c | 174 sigprocmask(SIG_SETMASK, &sm_default, NULL); in j_init() 464 sigprocmask(SIG_BLOCK, &sm_sigchld, &omask); in exchild() 523 sigprocmask(SIG_SETMASK, &omask, NULL); in exchild() 596 sigprocmask(SIG_SETMASK, &omask, NULL); in exchild() 645 sigprocmask(SIG_SETMASK, &omask, NULL); in exchild() 658 sigprocmask(SIG_BLOCK, &sm_sigchld, &omask); in startlast() 668 sigprocmask(SIG_SETMASK, &omask, NULL); in startlast() 681 sigprocmask(SIG_BLOCK, &sm_sigchld, &omask); in waitlast() 691 sigprocmask(SIG_SETMASK, &omask, NULL); in waitlast() 700 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/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/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/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()
|
D | 4-1.c | 50 if (sigprocmask(SIG_SETMASK, &blocked_set1, NULL) == -1) { in main() 56 if (sigprocmask(SIG_BLOCK, &blocked_set2, NULL) == -1) { 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/compiler-rt/test/tsan/ |
D | sigsuspend.cc | 29 assert(0 == sigprocmask(SIG_BLOCK, &one_signal, &old_set)); in main() 39 assert(0 == sigprocmask(SIG_SETMASK, &old_set, NULL)); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigset/ |
D | 5-1.c | 62 if (sigprocmask(SIG_SETMASK, &mask, NULL) == -1) { in main() 73 sigprocmask(SIG_SETMASK, NULL, &mask); in main()
|