Home
last modified time | relevance | path

Searched refs:oldset (Results 1 – 25 of 29) sorted by relevance

12

/external/linux-kselftest/tools/testing/selftests/rseq/
Drseq.c50 static void signal_off_save(sigset_t *oldset) in signal_off_save() argument
56 ret = pthread_sigmask(SIG_BLOCK, &set, oldset); in signal_off_save()
61 static void signal_restore(sigset_t oldset) in signal_restore() argument
65 ret = pthread_sigmask(SIG_SETMASK, &oldset, NULL); in signal_restore()
79 sigset_t oldset; in rseq_register_current_thread() local
83 signal_off_save(&oldset); in rseq_register_current_thread()
100 signal_restore(oldset); in rseq_register_current_thread()
107 sigset_t oldset; in rseq_unregister_current_thread() local
111 signal_off_save(&oldset); in rseq_unregister_current_thread()
125 signal_restore(oldset); in rseq_unregister_current_thread()
/external/ltp/include/lapi/
Dsafe_rt_signal.h33 sigset_t *oldset, size_t sigsetsize) in safe_rt_sigprocmask() argument
37 ret = tst_syscall(__NR_rt_sigprocmask, how, set, oldset, sigsetsize); in safe_rt_sigprocmask()
41 file, lineno, how, set, oldset, sigsetsize); in safe_rt_sigprocmask()
47 #define SAFE_RT_SIGPROCMASK(how, set, oldset, sigsetsize) \ argument
48 safe_rt_sigprocmask(__FILE__, __LINE__, how, set, oldset, sigsetsize)
/external/compiler-rt/lib/esan/
Desan_interceptors.cpp428 __sanitizer_sigset_t *oldset) { in INTERCEPTOR() argument
430 COMMON_INTERCEPTOR_ENTER(ctx, sigprocmask, how, set, oldset); in INTERCEPTOR()
432 if (processSigprocmask(how, set, oldset)) in INTERCEPTOR()
433 res = REAL(sigprocmask)(how, set, oldset); in INTERCEPTOR()
434 if (!res && oldset) in INTERCEPTOR()
435 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, oldset, sizeof(*oldset)); in INTERCEPTOR()
445 __sanitizer_sigset_t *oldset) { in INTERCEPTOR() argument
447 COMMON_INTERCEPTOR_ENTER(ctx, pthread_sigmask, how, set, oldset); in INTERCEPTOR()
449 if (processSigprocmask(how, set, oldset)) in INTERCEPTOR()
450 res = REAL(sigprocmask)(how, set, oldset); in INTERCEPTOR()
[all …]
/external/libxml2/
Dxpointer.c894 xmlNodeSetPtr oldset; in xmlXPtrGetChildNo() local
898 oldset = obj->nodesetval; in xmlXPtrGetChildNo()
899 if ((indx <= 0) || (oldset == NULL) || (oldset->nodeNr != 1)) { in xmlXPtrGetChildNo()
904 cur = xmlXPtrGetNthChild(oldset->nodeTab[0], indx); in xmlXPtrGetChildNo()
910 oldset->nodeTab[0] = cur; in xmlXPtrGetChildNo()
1770 xmlLocationSetPtr oldset = NULL; in xmlXPtrStartPointFunction() local
1795 oldset = (xmlLocationSetPtr) obj->user; in xmlXPtrStartPointFunction()
1796 if (oldset != NULL) { in xmlXPtrStartPointFunction()
1799 for (i = 0; i < oldset->locNr; i++) { in xmlXPtrStartPointFunction()
1800 tmp = oldset->locTab[i]; in xmlXPtrStartPointFunction()
[all …]
Dxpath.c12942 xmlNodeSetPtr oldset; in xmlXPathCompOpEvalFilterFirst() local
13111 oldset = obj->nodesetval; in xmlXPathCompOpEvalFilterFirst()
13125 for (i = 0; i < oldset->nodeNr; i++) { in xmlXPathCompOpEvalFilterFirst()
13130 ctxt->context->node = oldset->nodeTab[i]; in xmlXPathCompOpEvalFilterFirst()
13131 if ((oldset->nodeTab[i]->type != XML_NAMESPACE_DECL) && in xmlXPathCompOpEvalFilterFirst()
13132 (oldset->nodeTab[i]->doc != NULL)) in xmlXPathCompOpEvalFilterFirst()
13133 ctxt->context->doc = oldset->nodeTab[i]->doc; in xmlXPathCompOpEvalFilterFirst()
13144 ctxt->context->contextSize = oldset->nodeNr; in xmlXPathCompOpEvalFilterFirst()
13158 if (xmlXPathNodeSetAdd(newset, oldset->nodeTab[i]) < 0) in xmlXPathCompOpEvalFilterFirst()
13478 xmlNodeSetPtr oldset; in xmlXPathCompOpEval() local
[all …]
/external/compiler-rt/lib/tsan/rtl/
Dtsan_platform_linux.cc360 __sanitizer_sigset_t oldset; in cur_thread() local
361 CHECK_EQ(0, internal_sigprocmask(SIG_SETMASK, &emptyset, &oldset)); in cur_thread()
378 CHECK_EQ(0, internal_sigprocmask(SIG_SETMASK, &oldset, nullptr)); in cur_thread()
386 __sanitizer_sigset_t oldset; in cur_thread_finalize() local
387 CHECK_EQ(0, internal_sigprocmask(SIG_SETMASK, &emptyset, &oldset)); in cur_thread_finalize()
393 CHECK_EQ(0, internal_sigprocmask(SIG_SETMASK, &oldset, nullptr)); in cur_thread_finalize()
Dtsan_interceptors.cc92 __sanitizer_sigset_t *oldset);
218 __sanitizer_sigset_t oldset; member
1836 CHECK_EQ(0, pthread_sigmask(SIG_SETMASK, &sctx->emptyset, &sctx->oldset)); in ProcessPendingSignals()
1845 CHECK_EQ(0, pthread_sigmask(SIG_SETMASK, &sctx->oldset, 0)); in ProcessPendingSignals()
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl33.c50 static sigset_t newset, oldset; variable
100 if (sigprocmask(SIG_SETMASK, &newset, &oldset) < 0) in setup()
216 if (sigprocmask(SIG_SETMASK, &oldset, NULL) < 0) in cleanup()
Dfcntl31.c68 static sigset_t newset, oldset; variable
151 if (sigprocmask(SIG_SETMASK, &newset, &oldset) < 0) in setup()
382 if (sigprocmask(SIG_SETMASK, &oldset, NULL) < 0) in cleanup()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
DgenIndexFilters.bat88 my $oldset = $2;
96 if (length($2) < length($oldset)) {
97 $oldset = $2;
/external/libfuse/lib/
Dfuse_loop_mt.c194 sigset_t oldset; in fuse_start_thread() local
212 pthread_sigmask(SIG_BLOCK, &newset, &oldset); in fuse_start_thread()
214 pthread_sigmask(SIG_SETMASK, &oldset, NULL); in fuse_start_thread()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux.h36 __sanitizer_sigset_t *oldset);
Dsanitizer_mac.cc180 __sanitizer_sigset_t *oldset) { in internal_sigprocmask() argument
181 return sigprocmask(how, set, oldset); in internal_sigprocmask()
Dsanitizer_linux.cc692 __sanitizer_sigset_t *oldset) { in internal_sigprocmask() argument
694 return internal_syscall(SYSCALL(sigprocmask), how, set, oldset); in internal_sigprocmask()
697 __sanitizer_kernel_sigset_t *k_oldset = (__sanitizer_kernel_sigset_t *)oldset; in internal_sigprocmask()
Dsanitizer_common_interceptors.inc3480 __sanitizer_sigset_t *oldset) {
3482 COMMON_INTERCEPTOR_ENTER(ctx, sigprocmask, how, set, oldset);
3487 int res = REAL(sigprocmask)(how, set, oldset);
3488 if (!res && oldset)
3489 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, oldset, sizeof(*oldset));
/external/jemalloc_new/src/
Dbackground_thread.c362 sigset_t oldset;
363 int mask_err = pthread_sigmask(SIG_SETMASK, &set, &oldset);
373 int restore_err = pthread_sigmask(SIG_SETMASK, &oldset, NULL);
/external/google-breakpad/src/third_party/lss/
Dlinux_syscall_support.h3261 struct kernel_sigset_t *oldset) { in LSS_NAME()
3262 return LSS_NAME(rt_sigprocmask)(how, set, oldset, (KERNEL_NSIG+7)/8); in LSS_NAME()
3550 struct kernel_sigset_t *oldset) { in LSS_NAME()
3552 int rc = LSS_NAME(rt_sigprocmask)(how, set, oldset, (KERNEL_NSIG+7)/8); in LSS_NAME()
3555 if (oldset) { in LSS_NAME()
3556 LSS_NAME(sigemptyset)(oldset); in LSS_NAME()
3560 oldset ? &oldset->sig[0] : NULL); in LSS_NAME()
/external/rust/crates/libc/src/unix/newlib/
Dmod.rs657 oldset: *mut sigset_t, in pthread_sigmask()
/external/rust/crates/libc/src/unix/bsd/
Dmod.rs720 oldset: *mut sigset_t, in pthread_sigmask()
/external/rust/crates/libc/src/unix/redox/
Dmod.rs889 oldset: *mut ::sigset_t, in pthread_sigmask()
/external/rust/crates/libc/src/unix/haiku/
Dmod.rs1464 oldset: *mut sigset_t, in pthread_sigmask()
/external/rust/crates/libc/src/unix/
Dmod.rs1351 oldset: *mut sigset_t, in sigprocmask()
/external/rust/crates/libc/src/vxworks/
Dmod.rs1319 oldset: *mut sigset_t, in sigprocmask()
/external/rust/crates/libc/src/unix/uclibc/
Dmod.rs2219 oldset: *mut sigset_t, in pthread_sigmask()
/external/rust/crates/libc/src/fuchsia/
Dmod.rs3927 oldset: *mut sigset_t, in sigprocmask()
4470 oldset: *mut sigset_t, in pthread_sigmask()

12