Home
last modified time | relevance | path

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

12

/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.c887 xmlNodeSetPtr oldset; in xmlXPtrGetChildNo() local
891 oldset = obj->nodesetval; in xmlXPtrGetChildNo()
892 if ((indx <= 0) || (oldset == NULL) || (oldset->nodeNr != 1)) { in xmlXPtrGetChildNo()
897 cur = xmlXPtrGetNthChild(oldset->nodeTab[0], indx); in xmlXPtrGetChildNo()
903 oldset->nodeTab[0] = cur; in xmlXPtrGetChildNo()
1758 xmlLocationSetPtr oldset = NULL; in xmlXPtrStartPointFunction() local
1783 oldset = (xmlLocationSetPtr) obj->user; in xmlXPtrStartPointFunction()
1784 if (oldset != NULL) { in xmlXPtrStartPointFunction()
1787 for (i = 0; i < oldset->locNr; i++) { in xmlXPtrStartPointFunction()
1788 tmp = oldset->locTab[i]; in xmlXPtrStartPointFunction()
[all …]
Dxpath.c12987 xmlNodeSetPtr oldset; in xmlXPathCompOpEvalFilterFirst() local
13163 oldset = obj->nodesetval; in xmlXPathCompOpEvalFilterFirst()
13169 if ((oldset == NULL) || (oldset->nodeNr == 0)) { in xmlXPathCompOpEvalFilterFirst()
13196 for (i = 0; i < oldset->nodeNr; i++) { in xmlXPathCompOpEvalFilterFirst()
13201 ctxt->context->node = oldset->nodeTab[i]; in xmlXPathCompOpEvalFilterFirst()
13202 if ((oldset->nodeTab[i]->type != XML_NAMESPACE_DECL) && in xmlXPathCompOpEvalFilterFirst()
13203 (oldset->nodeTab[i]->doc != NULL)) in xmlXPathCompOpEvalFilterFirst()
13204 ctxt->context->doc = oldset->nodeTab[i]->doc; in xmlXPathCompOpEvalFilterFirst()
13215 ctxt->context->contextSize = oldset->nodeNr; in xmlXPathCompOpEvalFilterFirst()
13230 if (xmlXPathNodeSetAdd(newset, oldset->nodeTab[i]) < 0) in xmlXPathCompOpEvalFilterFirst()
[all …]
/external/dhcpcd-6.8.2/compat/
Dpollts.c46 sigset_t oldset; in pollts() local
56 if (sigmask && sigprocmask(SIG_SETMASK, sigmask, &oldset) == -1) in pollts()
59 if (sigmask && sigprocmask(SIG_SETMASK, &oldset, NULL) == -1) in pollts()
/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.c61 static sigset_t newset, oldset; variable
141 if (sigprocmask(SIG_SETMASK, &newset, &oldset) < 0) in setup()
253 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/valgrind/coregrind/
Dm_libcsignal.c217 Int VG_(sigprocmask)( Int how, const vki_sigset_t* set, vki_sigset_t* oldset) in VG_()
222 how, (UWord)set, (UWord)oldset, in VG_()
226 how, (UWord)set, (UWord)oldset); in VG_()
234 how, (UWord)set, (UWord)oldset); in VG_()
Dpub_core_signals.h65 vki_sigset_t* oldset );
Dm_signals.c1339 vki_sigset_t* oldset ) in do_setmask() argument
1351 if (oldset) { in do_setmask()
1352 *oldset = VG_(threads)[tid].sig_mask; in do_setmask()
1354 VG_(dmsg)("\toldset=%p %s\n", oldset, format_sigset(oldset)); in do_setmask()
1368 vki_sigset_t* oldset ) in VG_()
1375 do_setmask ( tid, how, set, oldset ); in VG_()
/external/valgrind/include/
Dpub_tool_libcsignal.h49 vki_sigset_t* oldset );
/external/libchrome/sandbox/linux/services/
Dsyscall_wrappers.h76 std::nullptr_t oldset);
Dsyscall_wrappers.cc142 int sys_sigprocmask(int how, const sigset_t* set, std::nullptr_t oldset) { in sys_sigprocmask() argument
/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/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/dhcpcd-6.8.2/
Ddhcpcd.c1255 signal_init(sigset_t *oldset) in signal_init() argument
1264 if (sigprocmask(SIG_SETMASK, &newset, oldset) == -1) in signal_init()
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-linux.c3153 vki_old_sigset_t* oldset; in PRE() local
3159 int, how, vki_old_sigset_t *, set, vki_old_sigset_t *, oldset); in PRE()
3168 oldset = (vki_old_sigset_t*)ARG3; in PRE()
3178 oldset ? &bigger_oldset : NULL) in PRE()
3181 if (oldset) in PRE()
3182 *oldset = bigger_oldset.sig[0]; in PRE()
3196 void convert_sigset_to_rt(const vki_old_sigset_t *oldset, vki_sigset_t *set) in convert_sigset_to_rt() argument
3199 set->sig[0] = *oldset; in convert_sigset_to_rt()
3341 int, how, vki_sigset_t *, set, vki_sigset_t *, oldset, in PRE()
Dsyswrap-darwin.c2249 int, how, vki_sigset_t *, set, vki_sigset_t *, oldset); in PRE()
4393 int, how, vki_sigset_t *, set, vki_sigset_t *, oldset); in PRE()
/external/valgrind/memcheck/tests/x86-linux/
Dscalar.stderr.exp1474 Syscall param sigprocmask(oldset) contains uninitialised byte(s)
1485 Syscall param sigprocmask(oldset) points to unaddressable byte(s)
2150 Syscall param rt_sigprocmask(oldset) contains uninitialised byte(s)
2163 Syscall param rt_sigprocmask(oldset) points to unaddressable byte(s)
/external/valgrind/memcheck/tests/darwin/
Dscalar.stderr.exp1037 Syscall param __pthread_sigmask(oldset) contains uninitialised byte(s)

12