/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/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/python/cpython3/Modules/ |
D | signalmodule.c | 830 sigset_t newmask, previous; in signal_pthread_sigmask_impl() local 833 if (iterable_to_sigset(mask, &newmask)) in signal_pthread_sigmask_impl() 836 err = pthread_sigmask(how, &newmask, &previous); in signal_pthread_sigmask_impl()
|
D | _cursesmodule.c | 2680 int newmask; in PyCurses_MouseMask() local 2684 if (!PyArg_ParseTuple(args,"i;mousemask",&newmask)) in PyCurses_MouseMask() 2686 availmask = mousemask(newmask, &oldmask); in PyCurses_MouseMask()
|
D | posixmodule.c | 5632 cpu_set_t *newmask; in os_sched_setaffinity_impl() local 5640 newmask = CPU_ALLOC(newncpus); in os_sched_setaffinity_impl() 5641 if (newmask == NULL) { in os_sched_setaffinity_impl() 5646 CPU_ZERO_S(newsetsize, newmask); in os_sched_setaffinity_impl() 5647 memcpy(newmask, cpu_set, setsize); in os_sched_setaffinity_impl() 5650 cpu_set = newmask; in os_sched_setaffinity_impl()
|
/external/python/cpython3/Objects/ |
D | setobject.c | 302 size_t newmask; in set_table_resize() local 362 newmask = (size_t)so->mask; in set_table_resize() 366 set_insert_clean(newtable, newmask, entry->key, entry->hash); in set_table_resize() 372 set_insert_clean(newtable, newmask, entry->key, entry->hash); in set_table_resize() 675 size_t newmask = (size_t)so->mask; in set_merge() local 682 set_insert_clean(newtable, newmask, key, other_entry->hash); in set_merge()
|
/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/selinux/python/semanage/ |
D | seobject.py | 1818 newmask = mask 1828 newmask = str(i.netmask()) 1829 if newmask == "0.0.0.0" and i.version() == 6: 1830 newmask = "::" 1839 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/python/cpython2/Modules/ |
D | _cursesmodule.c | 2194 int newmask; in PyCurses_MouseMask() local 2198 if (!PyArg_ParseTuple(args,"i;mousemask",&newmask)) in PyCurses_MouseMask() 2200 availmask = mousemask(newmask, &oldmask); in PyCurses_MouseMask()
|
/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 | 16889 u32 newmask; /* Mask of new.* columns referenced */ member 91496 pParse->newmask |= (iCol>=32 ? 0xffffffff : (((u32)1)<<iCol)); 125860 pPrg->aColmask[1] = pSubParse->newmask; 126211 int newmask; /* Mask of NEW.* columns accessed by BEFORE triggers */ 126641 newmask = sqlite3TriggerColmask( 126651 }else if( 0==(tmask&TRIGGER_BEFORE) || i>31 || (newmask & MASKBIT32(i)) ){
|
/external/sqlite/dist/ |
D | sqlite3.c | 16889 u32 newmask; /* Mask of new.* columns referenced */ member 91496 pParse->newmask |= (iCol>=32 ? 0xffffffff : (((u32)1)<<iCol)); 125860 pPrg->aColmask[1] = pSubParse->newmask; 126211 int newmask; /* Mask of NEW.* columns accessed by BEFORE triggers */ 126641 newmask = sqlite3TriggerColmask( 126651 }else if( 0==(tmask&TRIGGER_BEFORE) || i>31 || (newmask & MASKBIT32(i)) ){
|