/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() 1780 xmlLocationSetPtr oldset = NULL; in xmlXPtrStartPointFunction() local 1805 oldset = (xmlLocationSetPtr) obj->user; in xmlXPtrStartPointFunction() 1806 if (oldset != NULL) { in xmlXPtrStartPointFunction() 1809 for (i = 0; i < oldset->locNr; i++) { in xmlXPtrStartPointFunction() 1810 tmp = oldset->locTab[i]; in xmlXPtrStartPointFunction() [all …]
|
/external/llvm-project/libc/src/signal/linux/ |
D | sigprocmask.cpp | 18 sigset_t *__restrict oldset) { in LLVM_LIBC_ENTRYPOINT() 19 int ret = __llvm_libc::syscall(SYS_rt_sigprocmask, how, set, oldset, in LLVM_LIBC_ENTRYPOINT()
|
/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/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_platform_linux.cpp | 473 __sanitizer_sigset_t oldset; in cur_thread() local 474 CHECK_EQ(0, internal_sigprocmask(SIG_SETMASK, &emptyset, &oldset)); in cur_thread() 491 CHECK_EQ(0, internal_sigprocmask(SIG_SETMASK, &oldset, nullptr)); in cur_thread() 503 __sanitizer_sigset_t oldset; in cur_thread_finalize() local 504 CHECK_EQ(0, internal_sigprocmask(SIG_SETMASK, &emptyset, &oldset)); in cur_thread_finalize() 510 CHECK_EQ(0, internal_sigprocmask(SIG_SETMASK, &oldset, nullptr)); in cur_thread_finalize()
|
D | tsan_interceptors_posix.cpp | 177 __sanitizer_sigset_t oldset; member 1921 __sanitizer_sigset_t *oldset) { in TSAN_INTERCEPTOR() argument 1922 SCOPED_TSAN_INTERCEPTOR(pthread_sigmask, how, set, oldset); in TSAN_INTERCEPTOR() 1923 return REAL(pthread_sigmask)(how, set, oldset); in TSAN_INTERCEPTOR() 1998 int res = REAL(pthread_sigmask)(SIG_SETMASK, &sctx->emptyset, &sctx->oldset); in ProcessPendingSignals() 2008 res = REAL(pthread_sigmask)(SIG_SETMASK, &sctx->oldset, 0); in ProcessPendingSignals()
|
/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/llvm-project/libc/src/signal/ |
D | sigprocmask.h | 17 sigset_t *__restrict oldset);
|
/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/rust/crates/nix/src/sys/ |
D | signal.rs | 697 oldset: Option<*mut libc::sigset_t>) -> Result<()> { in do_pthread_sigmask() 698 if set.is_none() && oldset.is_none() { in do_pthread_sigmask() 707 oldset.unwrap_or(ptr::null_mut()) in do_pthread_sigmask() 731 oldset: Option<&mut SigSet>) -> Result<()> in pthread_sigmask() 733 do_pthread_sigmask(how, set, oldset.map(|os| &mut os.sigset as *mut _ )) in pthread_sigmask() 740 pub fn sigprocmask(how: SigmaskHow, set: Option<&SigSet>, oldset: Option<&mut SigSet>) -> Result<()… in sigprocmask() 741 if set.is_none() && oldset.is_none() { in sigprocmask() 750 oldset.map_or_else(ptr::null_mut::<libc::sigset_t>, in sigprocmask()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_solaris.cpp | 195 __sanitizer_sigset_t *oldset) { in DECLARE__REAL_AND_INTERNAL() argument 196 return _REAL(sigprocmask)(how, set, oldset); in DECLARE__REAL_AND_INTERNAL()
|
D | sanitizer_linux.h | 51 __sanitizer_sigset_t *oldset);
|
D | sanitizer_netbsd.cpp | 319 __sanitizer_sigset_t *oldset) { in internal_sigprocmask() argument 321 return _sys___sigprocmask14(how, set, oldset); in internal_sigprocmask()
|
D | sanitizer_linux.cpp | 850 __sanitizer_sigset_t *oldset) { in internal_sigprocmask() argument 852 return internal_syscall(SYSCALL(sigprocmask), how, set, oldset); in internal_sigprocmask() 855 __sanitizer_kernel_sigset_t *k_oldset = (__sanitizer_kernel_sigset_t *)oldset; in internal_sigprocmask()
|
D | sanitizer_mac.cpp | 227 __sanitizer_sigset_t *oldset) { in internal_sigprocmask() argument 229 return pthread_sigmask(how, set, oldset); in internal_sigprocmask()
|
/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()
|
/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/rust/crates/libc/src/unix/newlib/ |
D | mod.rs | 659 pub fn pthread_sigmask(how: ::c_int, set: *const sigset_t, oldset: *mut sigset_t) -> ::c_int; in pthread_sigmask()
|