Home
last modified time | relevance | path

Searched refs:newset (Results 1 – 10 of 10) 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/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()
130 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/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/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/libfuse/lib/
Dfuse_loop_mt.c195 sigset_t newset; in fuse_start_thread() local
207 sigemptyset(&newset); in fuse_start_thread()
208 sigaddset(&newset, SIGTERM); in fuse_start_thread()
209 sigaddset(&newset, SIGINT); in fuse_start_thread()
210 sigaddset(&newset, SIGHUP); in fuse_start_thread()
211 sigaddset(&newset, SIGQUIT); in fuse_start_thread()
212 pthread_sigmask(SIG_BLOCK, &newset, &oldset); in fuse_start_thread()
/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()