Home
last modified time | relevance | path

Searched refs:newset (Results 1 – 9 of 9) sorted by relevance

/external/ltp/testcases/kernel/containers/pidns/
Dpidns20.c85 sigset_t newset; in child_fn() local
103 sigemptyset(&newset); in child_fn()
104 sigaddset(&newset, SIGUSR1); in child_fn()
105 if (sigprocmask(SIG_BLOCK, &newset, 0) == -1) { in child_fn()
135 sigprocmask(SIG_UNBLOCK, &newset, 0); in child_fn()
Dpidns13.c75 sigset_t newset; in child_fn() local
124 sigemptyset(&newset); in child_fn()
125 sigaddset(&newset, SIGUSR1); in child_fn()
128 if (sigtimedwait(&newset, &info, &timeout) != SIGUSR1) { in child_fn()
/external/libxml2/
Dxpointer.c795 xmlLocationSetPtr newset; in xmlXPtrNewLocationSetNodeSet() local
797 newset = xmlXPtrLocationSetCreate(NULL); in xmlXPtrNewLocationSetNodeSet()
798 if (newset == NULL) in xmlXPtrNewLocationSetNodeSet()
802 xmlXPtrLocationSetAdd(newset, in xmlXPtrNewLocationSetNodeSet()
805 ret->user = (void *) newset; in xmlXPtrNewLocationSetNodeSet()
1757 xmlLocationSetPtr newset = NULL; in xmlXPtrStartPointFunction() local
1778 newset = xmlXPtrLocationSetCreate(NULL); in xmlXPtrStartPointFunction()
1779 if (newset == NULL) { in xmlXPtrStartPointFunction()
1802 xmlXPtrFreeLocationSet(newset); in xmlXPtrStartPointFunction()
1818 xmlXPtrLocationSetAdd(newset, point); in xmlXPtrStartPointFunction()
[all …]
Dxpath.c13186 xmlNodeSetPtr newset; in xmlXPathCompOpEvalFilterFirst() local
13193 newset = xmlXPathNodeSetCreate(NULL); in xmlXPathCompOpEvalFilterFirst()
13220 xmlXPathFreeNodeSet(newset); in xmlXPathCompOpEvalFilterFirst()
13230 if (xmlXPathNodeSetAdd(newset, oldset->nodeTab[i]) < 0) in xmlXPathCompOpEvalFilterFirst()
13253 if (newset->nodeNr > 0) { in xmlXPathCompOpEvalFilterFirst()
13254 *first = *(newset->nodeTab); in xmlXPathCompOpEvalFilterFirst()
13270 valuePush(ctxt, xmlXPathCacheWrapNodeSet(ctxt->context, newset)); in xmlXPathCompOpEvalFilterFirst()
13634 xmlNodeSetPtr newset = NULL; in xmlXPathCompOpEval() local
13878 newset = xmlXPathNodeSetCreate(NULL); in xmlXPathCompOpEval()
13936 xmlXPathFreeNodeSet(newset); in xmlXPathCompOpEval()
[all …]
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl33.c61 static sigset_t newset, oldset; variable
138 sigemptyset(&newset); in setup()
139 sigaddset(&newset, SIGIO); in setup()
141 if (sigprocmask(SIG_SETMASK, &newset, &oldset) < 0) in setup()
171 TEST(sigtimedwait(&newset, NULL, &timeout)); in do_test()
Dfcntl31.c68 static sigset_t newset, oldset; variable
147 sigemptyset(&newset); in setup()
148 sigaddset(&newset, SIGUSR1); in setup()
149 sigaddset(&newset, SIGIO); in setup()
151 if (sigprocmask(SIG_SETMASK, &newset, &oldset) < 0) in setup()
356 ret = sigtimedwait(&newset, NULL, &timeout); in check_io_signal()
/external/valgrind/coregrind/
Dm_signals.c1338 vki_sigset_t* newset, in do_setmask() argument
1347 newset, newset ? format_sigset(newset) : "NULL" ); in do_setmask()
1356 if (newset) { in do_setmask()
1357 do_sigprocmask_bitops (how, &VG_(threads)[tid].sig_mask, newset ); in do_setmask()
/external/mksh/src/
Dmisc.c250 change_flag(enum sh_flag f, int what, bool newset) in change_flag() argument
253 unsigned char newval = (newset ? 1 : 0); in change_flag()
260 Flag(f) = newval = (newset ? 1 : 0); in change_flag()
/external/dhcpcd-6.8.2/
Ddhcpcd.c1257 sigset_t newset; in signal_init() local
1263 sigfillset(&newset); in signal_init()
1264 if (sigprocmask(SIG_SETMASK, &newset, oldset) == -1) in signal_init()