Home
last modified time | relevance | path

Searched refs:sc (Results 1 – 10 of 10) 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.cc55 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in GetMethodAndReturnPcAndSp() local
56 *out_sp = static_cast<uintptr_t>(sc->arm_sp); in GetMethodAndReturnPcAndSp()
64 uintptr_t* fault_addr = reinterpret_cast<uintptr_t*>(sc->fault_address); in GetMethodAndReturnPcAndSp()
68 *out_method = reinterpret_cast<ArtMethod*>(sc->arm_r0); in GetMethodAndReturnPcAndSp()
82 uint8_t* ptr = reinterpret_cast<uint8_t*>(sc->arm_pc); in GetMethodAndReturnPcAndSp()
93 *out_return_pc = (sc->arm_pc + instr_size) | 1; in GetMethodAndReturnPcAndSp()
108 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in Action() local
109 uint8_t* ptr = reinterpret_cast<uint8_t*>(sc->arm_pc); in Action()
110 bool in_thumb_mode = sc->arm_cpsr & (1 << 5); in Action()
112 uintptr_t gc_map_location = (sc->arm_pc + instr_size) | (in_thumb_mode ? 1 : 0); in Action()
[all …]
Dinstruction_set_features_arm.cc236 struct sigcontext *sc = &uc->uc_mcontext; in bad_instr_handle() local
237 sc->arm_r0 = 0; // Set R0 to #0 to signal error. in bad_instr_handle()
238 sc->arm_pc += 4; // Skip offending instruction. in bad_instr_handle()
/art/runtime/arch/arm64/
Dfault_handler_arm64.cc48 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in GetMethodAndReturnPcAndSp() local
49 *out_sp = static_cast<uintptr_t>(sc->sp); in GetMethodAndReturnPcAndSp()
57 uintptr_t* fault_addr = reinterpret_cast<uintptr_t*>(sc->fault_address); in GetMethodAndReturnPcAndSp()
61 *out_method = reinterpret_cast<ArtMethod*>(sc->regs[0]); in GetMethodAndReturnPcAndSp()
72 << static_cast<void*>(reinterpret_cast<uint8_t*>(sc->pc)); in GetMethodAndReturnPcAndSp()
74 *out_return_pc = sc->pc + 4; in GetMethodAndReturnPcAndSp()
86 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in Action() local
89 sc->sp -= sizeof(uintptr_t); in Action()
90 *reinterpret_cast<uintptr_t*>(sc->sp) = sc->pc + 4; in Action()
91 sc->regs[30] = reinterpret_cast<uintptr_t>(info->si_addr); in Action()
[all …]
/art/runtime/jni/
Dcheck_jni.cc1801 ScopedCheck sc(kFlag_Default, __FUNCTION__); in GetVersion() local
1803 if (sc.Check(soa, true, "E", args)) { in GetVersion()
1806 if (sc.Check(soa, false, "I", &result)) { in GetVersion()
1816 ScopedCheck sc(kFlag_Default, __FUNCTION__); in GetJavaVM() local
1818 if (sc.Check(soa, true, "Ep", args)) { in GetJavaVM()
1821 if (sc.Check(soa, false, "i", &result)) { in GetJavaVM()
1831 ScopedCheck sc(kFlag_Default, __FUNCTION__); in RegisterNatives() local
1833 if (sc.Check(soa, true, "EcpI", args)) { in RegisterNatives()
1836 if (sc.Check(soa, false, "i", &result)) { in RegisterNatives()
1846 ScopedCheck sc(kFlag_Default, __FUNCTION__); in UnregisterNatives() local
[all …]
/art/test/730-checker-inlining-super/src/
DMain.java35 public static int doInvokeTypedSuperClass(SuperClass sc) { in doInvokeTypedSuperClass() argument
36 return sc.doInvoke(); in doInvokeTypedSuperClass()
/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/115-native-bridge/
Dnativebridge.cc561 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in StandardSignalHandler() local
562 sc->arm_pc += 2; // Skip instruction causing segv & sigill. in StandardSignalHandler()
565 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in StandardSignalHandler()
566 sc->pc += 4; // Skip instruction causing segv & sigill. in StandardSignalHandler()
/art/runtime/
Dsubtype_check_info_test.cc134 static SubtypeCheckInfo CopyCleared(const SubtypeCheckInfo& sc) { in CopyCleared()
136 cleared_copy.depth_ = sc.depth_; in CopyCleared()
/art/test/710-varhandle-creation/src/
DMain.java52 static char sc; field in Main