Home
last modified time | relevance | path

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

/third_party/nghttp2/src/
Dshrpx_signal.cc37 sigset_t newset; in shrpx_signal_block_all() local
39 sigfillset(&newset); in shrpx_signal_block_all()
44 rv = pthread_sigmask(SIG_SETMASK, &newset, oldset); in shrpx_signal_block_all()
53 return sigprocmask(SIG_SETMASK, &newset, oldset); in shrpx_signal_block_all()
58 sigset_t newset; in shrpx_signal_unblock_all() local
60 sigemptyset(&newset); in shrpx_signal_unblock_all()
65 rv = pthread_sigmask(SIG_SETMASK, &newset, nullptr); in shrpx_signal_unblock_all()
74 return sigprocmask(SIG_SETMASK, &newset, nullptr); in shrpx_signal_unblock_all()
/third_party/ltp/testcases/kernel/containers/pidns/
Dpidns13.c51 sigset_t newset; in child_fn() local
65 sigemptyset(&newset); in child_fn()
66 sigaddset(&newset, SIGUSR1); in child_fn()
67 SAFE_SIGPROCMASK(SIG_BLOCK, &newset, NULL); in child_fn()
84 if (sigtimedwait(&newset, &info, &timeout) != SIGUSR1) { in child_fn()
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()
/third_party/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl33.c50 static sigset_t newset, oldset; variable
86 sigemptyset(&newset); in setup()
87 sigaddset(&newset, SIGIO); in setup()
89 if (sigprocmask(SIG_SETMASK, &newset, &oldset) < 0) in setup()
119 TEST(sigtimedwait(&newset, NULL, &timeout)); in do_test()
Dfcntl31.c67 static sigset_t newset, oldset; variable
149 sigemptyset(&newset); in setup()
150 sigaddset(&newset, SIGUSR1); in setup()
151 sigaddset(&newset, SIGIO); in setup()
153 if (sigprocmask(SIG_SETMASK, &newset, &oldset) < 0) in setup()
358 ret = sigtimedwait(&newset, NULL, &timeout); in check_io_signal()
/third_party/gettext/gnulib-local/lib/libxml/
Dxpointer.c831 xmlLocationSetPtr newset; in xmlXPtrNewLocationSetNodeSet() local
833 newset = xmlXPtrLocationSetCreate(NULL); in xmlXPtrNewLocationSetNodeSet()
834 if (newset == NULL) in xmlXPtrNewLocationSetNodeSet()
838 xmlXPtrLocationSetAdd(newset, in xmlXPtrNewLocationSetNodeSet()
841 ret->user = (void *) newset; in xmlXPtrNewLocationSetNodeSet()
1798 xmlLocationSetPtr newset = NULL; in xmlXPtrStartPointFunction() local
1819 newset = xmlXPtrLocationSetCreate(NULL); in xmlXPtrStartPointFunction()
1820 if (newset == NULL) { in xmlXPtrStartPointFunction()
1843 xmlXPtrFreeLocationSet(newset); in xmlXPtrStartPointFunction()
1859 xmlXPtrLocationSetAdd(newset, point); in xmlXPtrStartPointFunction()
[all …]
Dxpath.c13135 xmlNodeSetPtr newset; in xmlXPathCompOpEvalFilterFirst() local
13150 newset = xmlXPathNodeSetCreate(NULL); in xmlXPathCompOpEvalFilterFirst()
13177 xmlXPathFreeNodeSet(newset); in xmlXPathCompOpEvalFilterFirst()
13186 if (xmlXPathNodeSetAdd(newset, oldset->nodeTab[i]) < 0) in xmlXPathCompOpEvalFilterFirst()
13208 if (newset->nodeNr > 0) { in xmlXPathCompOpEvalFilterFirst()
13209 *first = *(newset->nodeTab); in xmlXPathCompOpEvalFilterFirst()
13219 valuePush(ctxt, xmlXPathCacheWrapNodeSet(ctxt->context, newset)); in xmlXPathCompOpEvalFilterFirst()
13505 xmlNodeSetPtr newset = NULL; in xmlXPathCompOpEval() local
13717 newset = xmlXPathNodeSetCreate(NULL); in xmlXPathCompOpEval()
13775 xmlXPathFreeNodeSet(newset); in xmlXPathCompOpEval()
[all …]
/third_party/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()
1767 xmlLocationSetPtr newset = NULL; in xmlXPtrStartPointFunction() local
1788 newset = xmlXPtrLocationSetCreate(NULL); in xmlXPtrStartPointFunction()
1789 if (newset == NULL) { in xmlXPtrStartPointFunction()
1812 xmlXPtrFreeLocationSet(newset); in xmlXPtrStartPointFunction()
1828 xmlXPtrLocationSetAdd(newset, point); in xmlXPtrStartPointFunction()
[all …]
/third_party/python/Lib/
D_weakrefset.py132 newset = self.copy()
133 newset.difference_update(other)
134 return newset
180 newset = self.copy()
181 newset.symmetric_difference_update(other)
182 return newset
/third_party/cef/tools/
Dcef_parser.py227 newset = set(newargs)
228 if len(oldset.symmetric_difference(newset)) > 0:
233 oldonly = oldset.difference(newset)
238 newonly = newset.difference(oldset)
/third_party/mksh/
Dmisc.c245 change_flag(enum sh_flag f, int what, bool newset) in change_flag() argument
248 unsigned char newval = (newset ? 1 : 0); in change_flag()