Home
last modified time | relevance | path

Searched refs:sc (Results 1 – 12 of 12) sorted by relevance

/art/benchmark/scoped-primitive-array/
Dscoped_primitive_array.cc24 ScopedByteArrayRO sc(env, arr); in Java_ScopedPrimitiveArrayBenchmark_measureByteArray() local
25 ret += sc[0] + sc[sc.size() - 1]; in Java_ScopedPrimitiveArrayBenchmark_measureByteArray()
34 ScopedShortArrayRO sc(env, arr); in Java_ScopedPrimitiveArrayBenchmark_measureShortArray() local
35 ret += sc[0] + sc[sc.size() - 1]; in Java_ScopedPrimitiveArrayBenchmark_measureShortArray()
44 ScopedIntArrayRO sc(env, arr); in Java_ScopedPrimitiveArrayBenchmark_measureIntArray() local
45 ret += sc[0] + sc[sc.size() - 1]; in Java_ScopedPrimitiveArrayBenchmark_measureIntArray()
54 ScopedLongArrayRO sc(env, arr); in Java_ScopedPrimitiveArrayBenchmark_measureLongArray() local
55 ret += sc[0] + sc[sc.size() - 1]; in Java_ScopedPrimitiveArrayBenchmark_measureLongArray()
/art/runtime/arch/arm/
Dfault_handler_arm.cc51 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in GetMethodAndReturnPcAndSp() local
52 *out_sp = static_cast<uintptr_t>(sc->arm_sp); in GetMethodAndReturnPcAndSp()
60 uintptr_t* fault_addr = reinterpret_cast<uintptr_t*>(sc->fault_address); in GetMethodAndReturnPcAndSp()
64 *out_method = reinterpret_cast<ArtMethod*>(sc->arm_r0); in GetMethodAndReturnPcAndSp()
76 uint8_t* ptr = reinterpret_cast<uint8_t*>(sc->arm_pc); in GetMethodAndReturnPcAndSp()
87 *out_return_pc = (sc->arm_pc + instr_size) | 1; in GetMethodAndReturnPcAndSp()
102 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in Action() local
103 uint8_t* ptr = reinterpret_cast<uint8_t*>(sc->arm_pc); in Action()
105 uintptr_t gc_map_location = (sc->arm_pc + instr_size) | 1; in Action()
108 sc->arm_sp -= sizeof(uintptr_t); in Action()
[all …]
Dinstruction_set_features_arm.cc226 struct sigcontext *sc = &uc->uc_mcontext; in bad_instr_handle() local
227 sc->arm_r0 = 0; // Set R0 to #0 to signal error. in bad_instr_handle()
228 sc->arm_pc += 4; // Skip offending instruction. in bad_instr_handle()
/art/runtime/arch/arm64/
Dfault_handler_arm64.cc44 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in GetMethodAndReturnPcAndSp() local
45 *out_sp = static_cast<uintptr_t>(sc->sp); in GetMethodAndReturnPcAndSp()
53 uintptr_t* fault_addr = reinterpret_cast<uintptr_t*>(sc->fault_address); in GetMethodAndReturnPcAndSp()
57 *out_method = reinterpret_cast<ArtMethod*>(sc->regs[0]); in GetMethodAndReturnPcAndSp()
66 << static_cast<void*>(reinterpret_cast<uint8_t*>(sc->pc)); in GetMethodAndReturnPcAndSp()
68 *out_return_pc = sc->pc + 4; in GetMethodAndReturnPcAndSp()
80 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in Action() local
83 sc->sp -= sizeof(uintptr_t); in Action()
84 *reinterpret_cast<uintptr_t*>(sc->sp) = sc->pc + 4; in Action()
85 sc->regs[30] = reinterpret_cast<uintptr_t>(info->si_addr); in Action()
[all …]
/art/runtime/arch/mips64/
Dfault_handler_mips64.cc44 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in GetMethodAndReturnPcAndSp() local
45 *out_sp = static_cast<uintptr_t>(sc->sc_regs[mips64::SP]); in GetMethodAndReturnPcAndSp()
57 *out_method = reinterpret_cast<ArtMethod*>(sc->sc_regs[mips64::A0]); in GetMethodAndReturnPcAndSp()
67 << static_cast<void*>(reinterpret_cast<uint8_t*>(sc->sc_pc)); in GetMethodAndReturnPcAndSp()
69 *out_return_pc = sc->sc_pc + 4; in GetMethodAndReturnPcAndSp()
82 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in Action() local
86 sc->sc_regs[mips64::SP] -= mips64::Mips64CalleeSaveFrameSize(CalleeSaveType::kSaveEverything); in Action()
87 uintptr_t* padding = reinterpret_cast<uintptr_t*>(sc->sc_regs[mips64::SP]) + /* ArtMethod* */ 1; in Action()
90 sc->sc_regs[mips64::RA] = sc->sc_pc + 4; // RA needs to point to gc map location in Action()
91 sc->sc_pc = reinterpret_cast<uintptr_t>(art_quick_throw_null_pointer_exception_from_signal); in Action()
[all …]
Dquick_entrypoints_mips64.S1258 sc $t2, MIRROR_OBJECT_LOCK_WORD_OFFSET($a0)
1327 sc $t2, MIRROR_OBJECT_LOCK_WORD_OFFSET($a0)
1338 sc $t2, MIRROR_OBJECT_LOCK_WORD_OFFSET($a0)
/art/runtime/arch/mips/
Dfault_handler_mips.cc43 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in GetMethodAndReturnPcAndSp() local
44 *out_sp = static_cast<uintptr_t>(sc->sc_regs[mips::SP]); in GetMethodAndReturnPcAndSp()
56 *out_method = reinterpret_cast<ArtMethod*>(sc->sc_regs[mips::A0]); in GetMethodAndReturnPcAndSp()
66 << static_cast<void*>(reinterpret_cast<uint8_t*>(sc->sc_pc)); in GetMethodAndReturnPcAndSp()
68 *out_return_pc = sc->sc_pc + 4; in GetMethodAndReturnPcAndSp()
80 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in Action() local
84 sc->sc_regs[mips::SP] -= mips::MipsCalleeSaveFrameSize(CalleeSaveType::kSaveEverything); in Action()
85 uintptr_t* padding = reinterpret_cast<uintptr_t*>(sc->sc_regs[mips::SP]) + /* ArtMethod* */ 1; in Action()
88 sc->sc_regs[mips::RA] = sc->sc_pc + 4; // RA needs to point to gc map location in Action()
89 sc->sc_pc = reinterpret_cast<uintptr_t>(art_quick_throw_null_pointer_exception_from_signal); in Action()
[all …]
Dquick_entrypoints_mips.S1311 sc $t2, MIRROR_OBJECT_LOCK_WORD_OFFSET($a0)
1383 sc $t2, MIRROR_OBJECT_LOCK_WORD_OFFSET($a0)
1396 sc $t2, MIRROR_OBJECT_LOCK_WORD_OFFSET($a0)
/art/runtime/
Dcheck_jni.cc1746 ScopedCheck sc(kFlag_Default, __FUNCTION__); in GetVersion() local
1748 if (sc.Check(soa, true, "E", args)) { in GetVersion()
1751 if (sc.Check(soa, false, "I", &result)) { in GetVersion()
1761 ScopedCheck sc(kFlag_Default, __FUNCTION__); in GetJavaVM() local
1763 if (sc.Check(soa, true, "Ep", args)) { in GetJavaVM()
1766 if (sc.Check(soa, false, "i", &result)) { in GetJavaVM()
1776 ScopedCheck sc(kFlag_Default, __FUNCTION__); in RegisterNatives() local
1778 if (sc.Check(soa, true, "EcpI", args)) { in RegisterNatives()
1781 if (sc.Check(soa, false, "i", &result)) { in RegisterNatives()
1791 ScopedCheck sc(kFlag_Default, __FUNCTION__); in UnregisterNatives() local
[all …]
Dsubtype_check_info_test.cc134 static SubtypeCheckInfo CopyCleared(SubtypeCheckInfo sc) { in CopyCleared()
136 cleared_copy.depth_ = sc.depth_; in CopyCleared()
/art/test/004-SignalTest/
Dsignaltest.cc81 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in signalhandler() local
82 sc->arm_pc += 2; // Skip instruction causing segv. in signalhandler()
85 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in signalhandler() local
86 sc->pc += 4; // Skip instruction causing segv. in signalhandler()
/art/test/710-varhandle-creation/src/
DMain.java52 static char sc; field in Main