/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl15.c | 107 sigset_t newmask, zeromask, oldmask; in dochild1() local 127 sigemptyset(&newmask); in dochild1() 128 sigaddset(&newmask, SIGUSR1); in dochild1() 129 sigaddset(&newmask, SIGUSR2); in dochild1() 130 sigaddset(&newmask, SIGALRM); in dochild1() 131 if (sigprocmask(SIG_BLOCK, &newmask, &oldmask) < 0) { in dochild1() 208 sigset_t newmask, zeromask, oldmask; in dofork() local 210 sigemptyset(&newmask); in dofork() 211 sigaddset(&newmask, SIGUSR1); in dofork() 212 sigaddset(&newmask, SIGUSR2); in dofork() [all …]
|
/external/valgrind/none/tests/ |
D | pth_blockedsig.c | 34 sigset_t newmask, oldmask; in main() local 37 memset(&newmask, 0, sizeof newmask); in main() 38 sigemptyset (&newmask); in main() 39 sigaddset (&newmask, SIGUSR1); in main() 41 if (pthread_sigmask (SIG_BLOCK, &newmask, &oldmask) != 0) in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigwait/ |
D | 2-1.c | 31 sigset_t newmask, pendingset; in main() local 36 if ((sigemptyset(&newmask) == -1) || (sigemptyset(&pendingset) == -1)) { in main() 42 if (sigaddset(&newmask, SIGRTMIN) == -1) { in main() 60 if (sigprocmask(SIG_SETMASK, &newmask, NULL) == -1) { in main() 92 if (sigwait(&newmask, &sig) != 0) { in main() 110 if (sigwait(&newmask, &sig) != 0) { in main()
|
D | 8-1.c | 25 sigset_t newmask, pendingset; in main() local 29 if (sigemptyset(&newmask) == -1 || sigemptyset(&pendingset) == -1) { in main() 35 if (sigaddset(&newmask, SIGUSR2) == -1) { in main() 41 if (sigprocmask(SIG_SETMASK, &newmask, NULL) == -1) { in main() 54 if (sigwait(&newmask, &sig) != 0) { in main()
|
D | 4-1.c | 26 sigset_t newmask, pendingset; in main() local 33 if (sigemptyset(&newmask) == -1 || sigemptyset(&pendingset) == -1) { in main() 39 if (sigaddset(&newmask, SIGALRM) == -1) { in main() 45 if (sigprocmask(SIG_SETMASK, &newmask, NULL) == -1) { in main() 61 if (sigwait(&newmask, &sig) != 0) { in main()
|
D | 1-1.c | 24 sigset_t newmask, pendingset; in main() local 29 if ((sigemptyset(&newmask) == -1) || (sigemptyset(&pendingset) == -1)) { in main() 35 if (sigaddset(&newmask, SIGUSR2) == -1) { in main() 41 if (sigprocmask(SIG_SETMASK, &newmask, NULL) == -1) { in main() 65 if (sigwait(&newmask, &sig) != 0) { in main()
|
D | 3-1.c | 29 sigset_t newmask, pendingset; in main() local 33 if ((sigemptyset(&newmask) == -1) || (sigemptyset(&pendingset) == -1)) { in main() 39 if (sigaddset(&newmask, SIGUSR2) == -1) { in main() 45 if (sigprocmask(SIG_SETMASK, &newmask, NULL) == -1) { in main() 82 if (sigwait(&newmask, &sig) != 0) { in main()
|
/external/ltp/testcases/kernel/ipc/ipc_stress/ |
D | signal_test_01.c | 126 newmask, /* Second process signal mask */ in main() local 230 sigemptyset(&newmask); in main() 231 sigaddset(&newmask, SIGFPE); in main() 232 sigaddset(&newmask, SIGTERM); in main() 233 sigaddset(&newmask, SIGINT); in main() 235 if (sigprocmask(SIG_BLOCK, &newmask, &oldmask) < 0) { in main()
|
D | signal_test_06.c | 91 sigset_t newmask, /* New signal mask */ in main() local 106 if (sigfillset(&newmask) < 0) in main() 108 if (sigprocmask(SIG_SETMASK, &newmask, &oldmask) < 0) in main()
|
/external/ltp/tools/pounder21/src/mem_alloc_test/ |
D | mem_alloc.c | 45 static sigset_t newmask, oldmask, zeromask; variable 105 sigemptyset(&newmask); in TELL_WAIT() 106 sigaddset(&newmask, SIGUSR1); in TELL_WAIT() 107 sigaddset(&newmask, SIGUSR2); in TELL_WAIT() 109 if (sigprocmask(SIG_BLOCK, &newmask, &oldmask) < 0) in TELL_WAIT()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/ |
D | hugeshmctl01.c | 184 sigset_t newmask, oldmask; in stat_setup() local 210 sigemptyset(&newmask); in stat_setup() 211 sigaddset(&newmask, SIGUSR1); in stat_setup() 212 if (sigprocmask(SIG_BLOCK, &newmask, &oldmask) < 0) in stat_setup()
|
/external/toolchain-utils/cros_utils/ |
D | stats.py | 3780 newmask = N.greater(z, chisq) 3781 a_big_frozen = N.where(newmask * N.equal(mask, 0) * a_big, s, 3783 mask = N.clip(newmask + mask, 0, 1) 3798 newmask = N.greater(z, chisq) 3799 a_notbig_frozen = N.where(newmask * N.equal(mask, 0) * (1 - a_big), 3801 mask = N.clip(newmask + mask, 0, 1) 3891 newmask = N.where( 3895 frozen = N.where(newmask * N.equal(mask, 0), sum, frozen) 3896 mask = N.clip(mask + newmask, 0, 1) 3960 newmask = N.less(abs(az - aold), EPS * abs(az)) [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_eu_emit.c | 2331 GLuint i, newmask = 0, len = 0; in brw_SAMPLE() local 2341 newmask |= 1<<i; in brw_SAMPLE() 2345 if (newmask != writemask) { in brw_SAMPLE() 2358 newmask = ~newmask & WRITEMASK_XYZW; in brw_SAMPLE() 2367 brw_MOV(p, get_element_ud(m1, 2), brw_imm_ud(newmask << 12)); in brw_SAMPLE()
|
/external/selinux/python/semanage/ |
D | seobject.py | 1325 newmask = mask 1335 newmask = str(i.netmask()) 1336 if newmask == "0.0.0.0" and i.version() == 6: 1337 newmask = "::" 1346 return newaddr, newmask, newprotocol
|
/external/compiler-rt/include/sanitizer/ |
D | linux_syscall_hooks.h | 427 #define __sanitizer_syscall_pre_ssetmask(newmask) \ argument 428 __sanitizer_syscall_pre_impl_ssetmask((long)(newmask)) 429 #define __sanitizer_syscall_post_ssetmask(res, newmask) \ argument 430 __sanitizer_syscall_post_impl_ssetmask(res, (long)(newmask)) 2250 void __sanitizer_syscall_pre_impl_ssetmask(long newmask); 2251 void __sanitizer_syscall_post_impl_ssetmask(long res, long newmask);
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_syscalls.inc | 748 PRE_SYSCALL(ssetmask)(long newmask) {} 750 POST_SYSCALL(ssetmask)(long res, long newmask) {}
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 15741 u32 newmask; /* Mask of new.* columns referenced */ member 89532 pParse->newmask |= (iCol>=32 ? 0xffffffff : (((u32)1)<<iCol)); 123069 pPrg->aColmask[1] = pSubParse->newmask; 123418 int newmask; /* Mask of NEW.* columns accessed by BEFORE triggers */ 123834 newmask = sqlite3TriggerColmask( 123844 }else if( 0==(tmask&TRIGGER_BEFORE) || i>31 || (newmask & MASKBIT32(i)) ){
|
/external/sqlite/dist/ |
D | sqlite3.c | 15741 u32 newmask; /* Mask of new.* columns referenced */ member 89532 pParse->newmask |= (iCol>=32 ? 0xffffffff : (((u32)1)<<iCol)); 123069 pPrg->aColmask[1] = pSubParse->newmask; 123418 int newmask; /* Mask of NEW.* columns accessed by BEFORE triggers */ 123834 newmask = sqlite3TriggerColmask( 123844 }else if( 0==(tmask&TRIGGER_BEFORE) || i>31 || (newmask & MASKBIT32(i)) ){
|