Searched refs:sc (Results 1 – 5 of 5) sorted by relevance
/art/runtime/arch/arm/ |
D | fault_handler_arm.cc | 57 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in HandleNestedSignal() local 61 sc->arm_r0 = reinterpret_cast<uintptr_t>(*self->GetNestedSignalState()); in HandleNestedSignal() 62 sc->arm_r1 = 1; in HandleNestedSignal() 63 sc->arm_pc = reinterpret_cast<uintptr_t>(longjmp); in HandleNestedSignal() 64 VLOG(signals) << "longjmp address: " << reinterpret_cast<void*>(sc->arm_pc); in HandleNestedSignal() 71 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in GetMethodAndReturnPcAndSp() local 72 *out_sp = static_cast<uintptr_t>(sc->arm_sp); in GetMethodAndReturnPcAndSp() 80 uintptr_t* fault_addr = reinterpret_cast<uintptr_t*>(sc->fault_address); in GetMethodAndReturnPcAndSp() 84 *out_method = reinterpret_cast<mirror::ArtMethod*>(sc->arm_r0); in GetMethodAndReturnPcAndSp() 96 uint8_t* ptr = reinterpret_cast<uint8_t*>(sc->arm_pc); in GetMethodAndReturnPcAndSp() [all …]
|
/art/runtime/arch/arm64/ |
D | fault_handler_arm64.cc | 45 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in HandleNestedSignal() local 49 sc->regs[0] = reinterpret_cast<uintptr_t>(*self->GetNestedSignalState()); in HandleNestedSignal() 50 sc->regs[1] = 1; in HandleNestedSignal() 51 sc->pc = reinterpret_cast<uintptr_t>(longjmp); in HandleNestedSignal() 58 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in GetMethodAndReturnPcAndSp() local 59 *out_sp = static_cast<uintptr_t>(sc->sp); in GetMethodAndReturnPcAndSp() 67 uintptr_t* fault_addr = reinterpret_cast<uintptr_t*>(sc->fault_address); in GetMethodAndReturnPcAndSp() 71 *out_method = reinterpret_cast<mirror::ArtMethod*>(sc->regs[0]); in GetMethodAndReturnPcAndSp() 80 << static_cast<void*>(reinterpret_cast<uint8_t*>(sc->pc)); in GetMethodAndReturnPcAndSp() 82 *out_return_pc = sc->pc + 4; in GetMethodAndReturnPcAndSp() [all …]
|
/art/test/004-SignalTest/ |
D | signaltest.cc | 58 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in signalhandler() local 59 sc->arm_pc += 2; // Skip instruction causing segv. in signalhandler() 62 struct sigcontext *sc = reinterpret_cast<struct sigcontext*>(&uc->uc_mcontext); in signalhandler() local 63 sc->pc += 4; // Skip instruction causing segv. in signalhandler()
|
/art/runtime/ |
D | check_jni.cc | 895 ScopedCheck sc(env, flags, __FUNCTION__); \ 896 sc.Check(true, types, ##args) 900 sc.Check(false, type, _rc); \ 903 sc.Check(false, "V") 1127 sc.CheckClassName(name); in DefineClass() 1133 sc.CheckClassName(name); in FindClass() 1326 sc.CheckStaticFieldID(c, fid); \ 1331 sc.CheckInstanceFieldID(obj, fid); \ 1336 sc.CheckStaticFieldID(c, fid); \ 1340 sc.CheckFieldType(java_type_value, fid, _type[0], true); \ [all …]
|
/art/compiler/ |
D | common_compiler_test.cc | 52 struct sigcontext *sc = &uc->uc_mcontext; in baddivideinst() local 53 sc->arm_r0 = 0; // set R0 to #0 to signal error in baddivideinst() 54 sc->arm_pc += 4; // skip offending instruction in baddivideinst()
|