Home
last modified time | relevance | path

Searched refs:newmask (Results 1 – 18 of 18) sorted by relevance

/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl15.c107 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/
Dpth_blockedsig.c34 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/
D2-1.c31 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()
D8-1.c25 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()
D4-1.c26 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()
D1-1.c24 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()
D3-1.c29 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/
Dsignal_test_01.c126 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()
Dsignal_test_06.c91 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/
Dmem_alloc.c45 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/
Dhugeshmctl01.c184 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/
Dstats.py3780 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/
Dbrw_eu_emit.c2331 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/
Dseobject.py1325 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/
Dlinux_syscall_hooks.h427 #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/
Dsanitizer_common_syscalls.inc748 PRE_SYSCALL(ssetmask)(long newmask) {}
750 POST_SYSCALL(ssetmask)(long res, long newmask) {}
/external/sqlite/dist/orig/
Dsqlite3.c15741 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/
Dsqlite3.c15741 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)) ){