Home
last modified time | relevance | path

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