/external/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/ |
42-1-buildonly.c | 3 int sigprocmask(int, const sigset_t *restrict, sigset_t *restrict); 15 dummyvar = sigprocmask;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/ |
15-1.c | 23 if (sigprocmask(SIG_SETMASK, &set, NULL) != 0) { 24 perror("sigprocmask failed -- returned -- test aborted");
|
10-1.c | 11 - sigprocmask() does not return -1. 27 sigprocmask_return_val = sigprocmask(SIG_SETMASK, &set1, NULL); 28 sigprocmask(SIG_SETMASK, NULL, &set2); 40 ("FAIL: sigprocmask returned -1. System should be able to enforce blocking un-ignorable signals without causing sigprocmask() to return -1.\n");
|
4-1.c | 50 if (sigprocmask(SIG_SETMASK, &blocked_set1, NULL) == -1) { 52 ("Unexpected error while attempting to use sigprocmask.\n"); 56 if (sigprocmask(SIG_BLOCK, &blocked_set2, NULL) == -1) { 58 ("Unexpected error while attempting to use sigprocmask.\n");
|
8-1.c | 11 2. Make a call such as this: sigprocmask(SIG_BLOCK, NULL, &oactl). At 65 sigprocmask(SIG_SETMASK, &actl, NULL); 66 sigprocmask(SIG_BLOCK, NULL, &oactl);
|
8-2.c | 11 2. Make a call such as this: sigprocmask(SIG_SETMASK, NULL, &oactl). 66 sigprocmask(SIG_SETMASK, &actl, NULL); 67 sigprocmask(SIG_SETMASK, NULL, &oactl);
|
8-3.c | 11 2. Make a call such as this: sigprocmask(SIG_UNBLOCK, NULL, &oactl). At 65 sigprocmask(SIG_SETMASK, &actl, NULL); 66 sigprocmask(SIG_UNBLOCK, NULL, &oactl);
|
9-1.c | 10 4. Call sigprocmask() again. Verify that global variable 14 5. Once sigprocmask() returns, verify that it returns a zero, and 17 proved that signal was delivered before sigprocmask() returned. 34 ("FAIL: sigprocmask() returned before signal was delivered.\n"); 56 if (sigprocmask(SIG_SETMASK, &blocked_set1, NULL) == -1) { 58 ("Unexpected error while attempting to use sigprocmask.\n"); 68 sigprocmask_return_val = sigprocmask(SIG_UNBLOCK, &blocked_set1, NULL); 72 ("Unexpected error while attempting to use sigprocmask.\n"); 83 ("Test PASSED: signal was delivered before the call to sigprocmask returned.\n");
|
/external/valgrind/include/ |
pub_tool_libcsignal.h | 48 extern Int VG_(sigprocmask) ( Int how, const vki_sigset_t* set,
|
/prebuilts/go/darwin-x86/misc/cgo/test/ |
sigprocmask.c | 17 sigprocmask(SIG_BLOCK, NULL, &mask); 25 sigprocmask(SIG_BLOCK, &mask, NULL);
|
/prebuilts/go/linux-x86/misc/cgo/test/ |
sigprocmask.c | 17 sigprocmask(SIG_BLOCK, NULL, &mask); 25 sigprocmask(SIG_BLOCK, &mask, NULL);
|
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
system.c | 57 sigprocmask(SIG_BLOCK, &mask, &omask); 60 sigprocmask(SIG_SETMASK, &omask, NULL); 63 sigprocmask(SIG_SETMASK, &omask, NULL); 73 sigprocmask(SIG_SETMASK, &omask, NULL);
|
/external/libunwind/tests/ |
test-setjmp.c | 135 sigprocmask (SIG_BLOCK, NULL, (sigset_t *) &sigset4); 137 printf ("%s: back from sigprocmask\n", __FUNCTION__); 165 sigprocmask (SIG_SETMASK, (sigset_t *) &sigset1, NULL); 169 sigprocmask (SIG_BLOCK, NULL, (sigset_t *) &sigset3); 181 sigprocmask (SIG_SETMASK, (sigset_t *) &sigset2, NULL); 186 sigprocmask (SIG_SETMASK, (sigset_t *) &sigset1, NULL); 190 sigprocmask (SIG_BLOCK, NULL, (sigset_t *) &sigset3); 203 sigprocmask (SIG_SETMASK, (sigset_t *) &sigset2, NULL); 208 sigprocmask (SIG_SETMASK, (sigset_t *) &sigset1, NULL); 212 sigprocmask (SIG_BLOCK, NULL, (sigset_t *) &sigset3) [all...] |
/external/strace/tests/ |
check_sigblock.c | 45 if (sigprocmask(SIG_SETMASK, NULL, &mask)) 46 perror_msg_and_fail("sigprocmask");
|
qual_inject-signal.c | 51 if (sigprocmask(SIG_UNBLOCK, &mask, NULL)) 52 perror_msg_and_fail("sigprocmask");
|
/external/strace/tests-m32/ |
check_sigblock.c | 45 if (sigprocmask(SIG_SETMASK, NULL, &mask)) 46 perror_msg_and_fail("sigprocmask");
|
/external/strace/tests-mx32/ |
check_sigblock.c | 45 if (sigprocmask(SIG_SETMASK, NULL, &mask)) 46 perror_msg_and_fail("sigprocmask");
|
/toolchain/binutils/binutils-2.27/libiberty/ |
sigsetmask.c | 36 sigprocmask(SIG_SETMASK, &new_sig, &old_sig);
|
/external/compiler-rt/test/tsan/ |
sigsuspend.cc | 29 assert(0 == sigprocmask(SIG_BLOCK, &one_signal, &old_set)); 39 assert(0 == sigprocmask(SIG_SETMASK, &old_set, NULL));
|
/external/dhcpcd-6.8.2/compat/ |
pollts.c | 56 if (sigmask && sigprocmask(SIG_SETMASK, sigmask, &oldset) == -1) 59 if (sigmask && sigprocmask(SIG_SETMASK, &oldset, NULL) == -1)
|
/external/libedit/src/ |
sig.c | 76 (void) sigprocmask(SIG_BLOCK, &nset, &oset); 105 (void) sigprocmask(SIG_SETMASK, &oset, NULL); 128 (void) sigprocmask(SIG_BLOCK, nset, &oset); 136 (void) sigprocmask(SIG_SETMASK, &oset, NULL); 168 (void) sigprocmask(SIG_BLOCK, &el->el_signal->sig_set, &oset); 177 (void) sigprocmask(SIG_SETMASK, &oset, NULL); 190 (void) sigprocmask(SIG_BLOCK, &el->el_signal->sig_set, &oset); 199 (void)sigprocmask(SIG_SETMASK, &oset, NULL);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigset/ |
5-1.c | 63 if (sigprocmask(SIG_SETMASK, &mask, NULL) == -1) { 64 perror("sigprocmask(SIG_SETMASK, &mask, NULL) failed"); 74 sigprocmask(SIG_SETMASK, NULL, &mask);
|
4-1.c | 26 sigprocmask(SIG_SETMASK, NULL, &mask);
|
8-1.c | 28 if (sigprocmask(SIG_BLOCK, &st, NULL) < 0) { 29 printf("Test FAILED: sigprocmask(): %s\n", strerror(errno));
|
/external/libunwind/src/setjmp/ |
sigsetjmp.c | 47 && sigprocmask (SIG_BLOCK, NULL, (sigset_t *) (wp + JB_MASK)) < 0)
|