Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/containers/pidns/
Dpidns20.c84 sigset_t newset; in child_fn() local
102 sigemptyset(&newset); in child_fn()
103 sigaddset(&newset, SIGUSR1); in child_fn()
104 if (sigprocmask(SIG_BLOCK, &newset, 0) == -1) { in child_fn()
134 sigprocmask(SIG_UNBLOCK, &newset, 0); in child_fn()
Dpidns13.c74 sigset_t newset; in child_fn() local
123 sigemptyset(&newset); in child_fn()
124 sigaddset(&newset, SIGUSR1); in child_fn()
127 if (sigtimedwait(&newset, &info, &timeout) != SIGUSR1) { in child_fn()
/external/libxml2/
Dxpointer.c802 xmlLocationSetPtr newset; in xmlXPtrNewLocationSetNodeSet() local
804 newset = xmlXPtrLocationSetCreate(NULL); in xmlXPtrNewLocationSetNodeSet()
805 if (newset == NULL) in xmlXPtrNewLocationSetNodeSet()
809 xmlXPtrLocationSetAdd(newset, in xmlXPtrNewLocationSetNodeSet()
812 ret->user = (void *) newset; in xmlXPtrNewLocationSetNodeSet()
1769 xmlLocationSetPtr newset = NULL; in xmlXPtrStartPointFunction() local
1790 newset = xmlXPtrLocationSetCreate(NULL); in xmlXPtrStartPointFunction()
1791 if (newset == NULL) { in xmlXPtrStartPointFunction()
1814 xmlXPtrFreeLocationSet(newset); in xmlXPtrStartPointFunction()
1830 xmlXPtrLocationSetAdd(newset, point); in xmlXPtrStartPointFunction()
[all …]
Dxpath.c13107 xmlNodeSetPtr newset; in xmlXPathCompOpEvalFilterFirst() local
13122 newset = xmlXPathNodeSetCreate(NULL); in xmlXPathCompOpEvalFilterFirst()
13149 xmlXPathFreeNodeSet(newset); in xmlXPathCompOpEvalFilterFirst()
13158 if (xmlXPathNodeSetAdd(newset, oldset->nodeTab[i]) < 0) in xmlXPathCompOpEvalFilterFirst()
13180 if (newset->nodeNr > 0) { in xmlXPathCompOpEvalFilterFirst()
13181 *first = *(newset->nodeTab); in xmlXPathCompOpEvalFilterFirst()
13191 valuePush(ctxt, xmlXPathCacheWrapNodeSet(ctxt->context, newset)); in xmlXPathCompOpEvalFilterFirst()
13477 xmlNodeSetPtr newset = NULL; in xmlXPathCompOpEval() local
13689 newset = xmlXPathNodeSetCreate(NULL); in xmlXPathCompOpEval()
13747 xmlXPathFreeNodeSet(newset); in xmlXPathCompOpEval()
[all …]
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl33.c50 static sigset_t newset, oldset; variable
97 sigemptyset(&newset); in setup()
98 sigaddset(&newset, SIGIO); in setup()
100 if (sigprocmask(SIG_SETMASK, &newset, &oldset) < 0) in setup()
123 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/python/cpython3/Lib/
D_weakrefset.py127 newset = self.copy()
128 newset.difference_update(other)
129 return newset
175 newset = self.copy()
176 newset.symmetric_difference_update(other)
177 return newset
/external/python/cpython2/Lib/
D_weakrefset.py129 newset = self.copy()
130 newset.difference_update(other)
131 return newset
183 newset = self.copy()
184 newset.symmetric_difference_update(other)
185 return newset
/external/mksh/src/
Dmisc.c217 change_flag(enum sh_flag f, int what, bool newset) in change_flag() argument
220 unsigned char newval = (newset ? 1 : 0); in change_flag()
227 Flag(f) = newval = (newset ? 1 : 0); in change_flag()