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/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/python/cpython3/Objects/
Dsetobject.c308 size_t newmask; in set_table_resize() local
361 newmask = (size_t)so->mask; in set_table_resize()
365 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()
676 size_t newmask = (size_t)so->mask; in set_merge() local
683 set_insert_clean(newtable, newmask, key, other_entry->hash); in set_merge()
/external/igt-gpu-tools/assembler/
Dbrw_eu_emit.c2227 unsigned i, newmask = 0, len = 0; in brw_SAMPLE() local
2237 newmask |= 1<<i; in brw_SAMPLE()
2241 if (newmask != writemask) { in brw_SAMPLE()
2254 newmask = ~newmask & BRW_WRITEMASK_XYZW; in brw_SAMPLE()
2263 brw_MOV(p, get_element_ud(m1, 2), brw_imm_ud(newmask << 12)); in brw_SAMPLE()
/external/python/cffi/demo/
D_curses.py859 def mousemask(newmask): argument
862 availmask = lib.mousemask(newmask, oldmask)
/external/python/cpython3/Modules/clinic/
D_cursesmodule.c.h3320 _curses_mousemask_impl(PyObject *module, unsigned long newmask);
3326 unsigned long newmask; in _curses_mousemask() local
3332 newmask = PyLong_AsUnsignedLongMask(arg); in _curses_mousemask()
3333 return_value = _curses_mousemask_impl(module, newmask); in _curses_mousemask()
/external/selinux/python/semanage/
Dseobject.py1855 newmask = mask
1865 newmask = str(i.netmask())
1866 if newmask == "0.0.0.0" and i.version() == 6:
1867 newmask = "::"
1876 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/python/cpython2/Modules/
D_cursesmodule.c2216 unsigned long newmask; in PyCurses_MouseMask() local
2220 if (!PyArg_ParseTuple(args,"k;mousemask",&newmask)) in PyCurses_MouseMask()
2222 availmask = mousemask((mmask_t)newmask, &oldmask); in PyCurses_MouseMask()
/external/python/cpython3/Modules/
D_cursesmodule.c3427 _curses_mousemask_impl(PyObject *module, unsigned long newmask) in _curses_mousemask_impl() argument
3433 availmask = mousemask((mmask_t)newmask, &oldmask); in _curses_mousemask_impl()
Dposixmodule.c6421 cpu_set_t *newmask; in os_sched_setaffinity_impl() local
6429 newmask = CPU_ALLOC(newncpus); in os_sched_setaffinity_impl()
6430 if (newmask == NULL) { in os_sched_setaffinity_impl()
6435 CPU_ZERO_S(newsetsize, newmask); in os_sched_setaffinity_impl()
6436 memcpy(newmask, cpu_set, setsize); in os_sched_setaffinity_impl()
6439 cpu_set = newmask; in os_sched_setaffinity_impl()
/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/
Dsqlite3.c18035 u32 newmask; /* Mask of new.* columns referenced */ member
95513 pParse->newmask |= (iCol>=32 ? 0xffffffff : (((u32)1)<<iCol));
132499 pPrg->aColmask[1] = pSubParse->newmask;
132902 int newmask; /* Mask of NEW.* columns accessed by BEFORE triggers */
133361 newmask = sqlite3TriggerColmask(
133371 }else if( 0==(tmask&TRIGGER_BEFORE) || i>31 || (newmask & MASKBIT32(i)) ){
/external/sqlite/dist/orig/
Dsqlite3.c18035 u32 newmask; /* Mask of new.* columns referenced */ member
95497 pParse->newmask |= (iCol>=32 ? 0xffffffff : (((u32)1)<<iCol));
132483 pPrg->aColmask[1] = pSubParse->newmask;
132886 int newmask; /* Mask of NEW.* columns accessed by BEFORE triggers */
133345 newmask = sqlite3TriggerColmask(
133355 }else if( 0==(tmask&TRIGGER_BEFORE) || i>31 || (newmask & MASKBIT32(i)) ){