/external/linux-kselftest/tools/testing/selftests/rseq/ |
D | rseq.c | 49 static void signal_off_save(sigset_t *oldset) in signal_off_save() argument 55 ret = pthread_sigmask(SIG_BLOCK, &set, oldset); in signal_off_save() 60 static void signal_restore(sigset_t oldset) in signal_restore() argument 64 ret = pthread_sigmask(SIG_SETMASK, &oldset, NULL); in signal_restore() 78 sigset_t oldset; in rseq_register_current_thread() local 82 signal_off_save(&oldset); in rseq_register_current_thread() 99 signal_restore(oldset); in rseq_register_current_thread() 106 sigset_t oldset; in rseq_unregister_current_thread() local 110 signal_off_save(&oldset); in rseq_unregister_current_thread() 124 signal_restore(oldset); in rseq_unregister_current_thread()
|
/external/ltp/include/lapi/ |
D | safe_rt_signal.h | 38 sigset_t *oldset, size_t sigsetsize) in safe_rt_sigprocmask() argument 42 ret = tst_syscall(__NR_rt_sigprocmask, how, set, oldset, sigsetsize); in safe_rt_sigprocmask() 46 how, set, oldset, sigsetsize); in safe_rt_sigprocmask() 50 how, set, oldset, sigsetsize, ret); in safe_rt_sigprocmask() 56 #define SAFE_RT_SIGPROCMASK(how, set, oldset, sigsetsize) \ argument 57 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/musl/src/misc/ |
D | forkpty.c | 13 sigset_t set, oldset; in forkpty() local 18 pthread_sigmask(SIG_BLOCK, &set, &oldset); in forkpty() 36 pthread_sigmask(SIG_SETMASK, &oldset, 0); in forkpty() 54 pthread_sigmask(SIG_SETMASK, &oldset, 0); in forkpty()
|
/external/libxml2/ |
D | xpointer.c | 898 xmlNodeSetPtr oldset; in xmlXPtrGetChildNo() local 902 oldset = obj->nodesetval; in xmlXPtrGetChildNo() 903 if ((indx <= 0) || (oldset == NULL) || (oldset->nodeNr != 1)) { in xmlXPtrGetChildNo() 908 cur = xmlXPtrGetNthChild(oldset->nodeTab[0], indx); in xmlXPtrGetChildNo() 914 oldset->nodeTab[0] = cur; in xmlXPtrGetChildNo() 1785 xmlLocationSetPtr oldset = NULL; in xmlXPtrStartPointFunction() local 1810 oldset = (xmlLocationSetPtr) obj->user; in xmlXPtrStartPointFunction() 1811 if (oldset != NULL) { in xmlXPtrStartPointFunction() 1814 for (i = 0; i < oldset->locNr; i++) { in xmlXPtrStartPointFunction() 1815 tmp = oldset->locTab[i]; in xmlXPtrStartPointFunction() [all …]
|
D | xpath.c | 13390 xmlNodeSetPtr oldset; in xmlXPathCompOpEval() local 13481 oldset = obj->nodesetval; in xmlXPathCompOpEval() 13485 if (oldset != NULL) { in xmlXPathCompOpEval() 13486 for (i = 0; i < oldset->nodeNr; i++) { in xmlXPathCompOpEval() 13491 ctxt->context->node = oldset->nodeTab[i]; in xmlXPathCompOpEval() 13510 xmlXPtrNewRangeNodeObject(oldset->nodeTab[i], in xmlXPathCompOpEval()
|
/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 89 if (sigprocmask(SIG_SETMASK, &newset, &oldset) < 0) in setup() 205 if (sigprocmask(SIG_SETMASK, &oldset, NULL) < 0) in cleanup()
|
D | fcntl31.c | 64 static sigset_t newset, oldset; variable 146 if (sigprocmask(SIG_SETMASK, &newset, &oldset) < 0) in setup() 362 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 | 193 sigset_t oldset; in fuse_start_thread() local 211 pthread_sigmask(SIG_BLOCK, &newset, &oldset); in fuse_start_thread() 213 pthread_sigmask(SIG_SETMASK, &oldset, NULL); in fuse_start_thread()
|
/external/ltp/lib/ |
D | tst_safe_macros.c | 337 int how, sigset_t *set, sigset_t *oldset) in safe_sigprocmask() argument 341 rval = sigprocmask(how, set, oldset); in safe_sigprocmask() 346 oldset); in safe_sigprocmask() 350 strhow(how), set, oldset, rval); in safe_sigprocmask()
|
/external/rust/crates/nix/src/sys/ |
D | signal.rs | 849 oldset: Option<*mut libc::sigset_t>) -> Result<()> { 850 if set.is_none() && oldset.is_none() { 859 oldset.unwrap_or(ptr::null_mut()) 883 oldset: Option<&mut SigSet>) -> Result<()> 885 do_pthread_sigmask(how, set, oldset.map(|os| &mut os.sigset as *mut _ )) 892 pub fn sigprocmask(how: SigmaskHow, set: Option<&SigSet>, oldset: Option<&mut SigSet>) -> Result<()… 893 if set.is_none() && oldset.is_none() { 902 oldset.map_or_else(ptr::null_mut::<libc::sigset_t>,
|
/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/ltp/include/ |
D | tst_safe_macros.h | 522 int how, sigset_t *set, sigset_t *oldset); 523 #define SAFE_SIGPROCMASK(how, set, oldset) \ argument 524 safe_sigprocmask(__FILE__, __LINE__, (how), (set), (oldset))
|
/external/rust/crates/libc/src/unix/newlib/ |
D | mod.rs | 693 pub fn pthread_sigmask(how: ::c_int, set: *const sigset_t, oldset: *mut sigset_t) -> ::c_int; in pthread_sigmask()
|
/external/rust/crates/libc/src/unix/bsd/ |
D | mod.rs | 776 pub fn pthread_sigmask(how: ::c_int, set: *const sigset_t, oldset: *mut sigset_t) -> ::c_int; in pthread_sigmask()
|
/external/rust/crates/libc/src/unix/redox/ |
D | mod.rs | 1031 oldset: *mut ::sigset_t, in pthread_sigmask()
|
/external/cronet/third_party/libxml/src/ |
D | xpath.c | 13363 xmlNodeSetPtr oldset; in xmlXPathCompOpEval() local 13454 oldset = obj->nodesetval; in xmlXPathCompOpEval() 13458 if (oldset != NULL) { in xmlXPathCompOpEval() 13459 for (i = 0; i < oldset->nodeNr; i++) { in xmlXPathCompOpEval() 13464 ctxt->context->node = oldset->nodeTab[i]; in xmlXPathCompOpEval() 13483 xmlXPtrNewRangeNodeObject(oldset->nodeTab[i], in xmlXPathCompOpEval()
|
/external/google-breakpad/src/third_party/lss/ |
D | linux_syscall_support.h | 3727 struct kernel_sigset_t *oldset) { in LSS_NAME() 3728 return LSS_NAME(rt_sigprocmask)(how, set, oldset, (KERNEL_NSIG+7)/8); in LSS_NAME()
|