/external/linux-kselftest/tools/testing/selftests/rseq/ |
D | rseq.c | 50 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/ |
D | safe_rt_signal.h | 33 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/ |
D | esan_interceptors.cpp | 428 __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/ |
D | xpointer.c | 894 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 …]
|
D | xpath.c | 12942 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/ |
D | tsan_platform_linux.cc | 360 __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()
|
D | tsan_interceptors.cc | 92 __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/ |
D | fcntl33.c | 50 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()
|
D | fcntl31.c | 68 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/ |
D | genIndexFilters.bat | 88 my $oldset = $2; 96 if (length($2) < length($oldset)) { 97 $oldset = $2;
|
/external/libfuse/lib/ |
D | fuse_loop_mt.c | 194 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/ |
D | sanitizer_linux.h | 36 __sanitizer_sigset_t *oldset);
|
D | sanitizer_mac.cc | 180 __sanitizer_sigset_t *oldset) { in internal_sigprocmask() argument 181 return sigprocmask(how, set, oldset); in internal_sigprocmask()
|
D | sanitizer_linux.cc | 692 __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()
|
D | sanitizer_common_interceptors.inc | 3480 __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/ |
D | background_thread.c | 362 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/ |
D | linux_syscall_support.h | 3261 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/ |
D | mod.rs | 657 oldset: *mut sigset_t, in pthread_sigmask()
|
/external/rust/crates/libc/src/unix/bsd/ |
D | mod.rs | 720 oldset: *mut sigset_t, in pthread_sigmask()
|
/external/rust/crates/libc/src/unix/redox/ |
D | mod.rs | 889 oldset: *mut ::sigset_t, in pthread_sigmask()
|
/external/rust/crates/libc/src/unix/haiku/ |
D | mod.rs | 1464 oldset: *mut sigset_t, in pthread_sigmask()
|
/external/rust/crates/libc/src/unix/ |
D | mod.rs | 1351 oldset: *mut sigset_t, in sigprocmask()
|
/external/rust/crates/libc/src/vxworks/ |
D | mod.rs | 1319 oldset: *mut sigset_t, in sigprocmask()
|
/external/rust/crates/libc/src/unix/uclibc/ |
D | mod.rs | 2219 oldset: *mut sigset_t, in pthread_sigmask()
|
/external/rust/crates/libc/src/fuchsia/ |
D | mod.rs | 3927 oldset: *mut sigset_t, in sigprocmask() 4470 oldset: *mut sigset_t, in pthread_sigmask()
|