/art/runtime/ |
D | runtime_common.cc | 131 : context(reinterpret_cast<ucontext_t*>(raw_context)->uc_mcontext) {} in UContext() 143 mcontext_t& context; member 148 DumpRegister32(os, "eax", context->__ss.__eax); in Dump() 149 DumpRegister32(os, "ebx", context->__ss.__ebx); in Dump() 150 DumpRegister32(os, "ecx", context->__ss.__ecx); in Dump() 151 DumpRegister32(os, "edx", context->__ss.__edx); in Dump() 154 DumpRegister32(os, "edi", context->__ss.__edi); in Dump() 155 DumpRegister32(os, "esi", context->__ss.__esi); in Dump() 156 DumpRegister32(os, "ebp", context->__ss.__ebp); in Dump() 157 DumpRegister32(os, "esp", context->__ss.__esp); in Dump() [all …]
|
D | fault_handler.h | 47 bool HandleFault(int sig, siginfo_t* info, void* context); 57 void GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, ArtMethod** out_method, 60 bool IsInGeneratedCode(siginfo_t* siginfo, void *context, bool check_dex_pc) 65 bool HandleFaultByOtherHandlers(int sig, siginfo_t* info, void* context) 83 virtual bool Action(int sig, siginfo_t* siginfo, void* context) = 0; 96 bool Action(int sig, siginfo_t* siginfo, void* context) OVERRIDE; 114 bool Action(int sig, siginfo_t* siginfo, void* context) OVERRIDE; 124 bool Action(int sig, siginfo_t* siginfo, void* context) OVERRIDE; 134 bool Action(int sig, siginfo_t* siginfo, void* context) OVERRIDE NO_THREAD_SAFETY_ANALYSIS;
|
D | fault_handler.cc | 43 static bool art_fault_handler(int sig, siginfo_t* info, void* context) { in art_fault_handler() argument 44 return fault_manager.HandleFault(sig, info, context); in art_fault_handler() 167 bool FaultManager::HandleFaultByOtherHandlers(int sig, siginfo_t* info, void* context) { in HandleFaultByOtherHandlers() argument 178 if (handler->Action(sig, info, context)) { in HandleFaultByOtherHandlers() 185 bool FaultManager::HandleFault(int sig, siginfo_t* info, void* context) { in HandleFault() argument 193 if (IsInGeneratedCode(info, context, true)) { in HandleFault() 197 if (handler->Action(sig, info, context)) { in HandleFault() 207 if (HandleFaultByOtherHandlers(sig, info, context)) { in HandleFault() 242 bool FaultManager::IsInGeneratedCode(siginfo_t* siginfo, void* context, bool check_dex_pc) { in IsInGeneratedCode() argument 271 GetMethodAndReturnPcAndSp(siginfo, context, &method_obj, &return_pc, &sp); in IsInGeneratedCode() [all …]
|
D | backtrace_helper.h | 40 static _Unwind_Reason_Code Callback(_Unwind_Context* context, void* arg) { in Callback() argument 42 const uintptr_t ip = _Unwind_GetIP(context); in Callback()
|
D | debugger.cc | 819 OwnedMonitorVisitor(Thread* thread, Context* context, in GetOwnedMonitors() 823 : StackVisitor(thread, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames), in GetOwnedMonitors() 859 std::unique_ptr<Context> context(Context::Create()); in GetOwnedMonitors() local 860 OwnedMonitorVisitor visitor(thread, context.get(), monitors, stack_depths); in GetOwnedMonitors() 1600 static bool Callback(void* context, const DexFile::PositionInfo& entry) { in OutputLineTable() 1601 DebugCallbackContext* pContext = reinterpret_cast<DebugCallbackContext*>(context); in OutputLineTable() 1628 DebugCallbackContext context; in OutputLineTable() local 1629 context.numItems = 0; in OutputLineTable() 1630 context.pReply = pReply; in OutputLineTable() 1633 m->GetDexFile()->DecodeDebugPositionInfo(code_item, DebugCallbackContext::Callback, &context); in OutputLineTable() [all …]
|
/art/test/636-arm64-veneer-pool/src/ |
D | Main.java | 1274 public void configure(Context context, Class<?> cls, Binder binder) { in configure() argument 1282 C0.m(context, binder); in configure() 1285 C1.m(context, binder); in configure() 1288 C2.m(context, binder); in configure() 1291 C3.m(context, binder); in configure() 1294 C4.m(context, binder); in configure() 1297 C5.m(context, binder); in configure() 1300 C6.m(context, binder); in configure() 1301 C7.m(context, binder); in configure() 1302 C8.m(context, binder); in configure() [all …]
|
/art/runtime/arch/mips/ |
D | fault_handler_mips.cc | 38 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, in GetMethodAndReturnPcAndSp() argument 41 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in GetMethodAndReturnPcAndSp() 70 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() argument 78 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 95 void* context ATTRIBUTE_UNUSED) { in Action() 112 bool StackOverflowHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() argument 113 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in Action()
|
/art/runtime/arch/mips64/ |
D | fault_handler_mips64.cc | 39 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, in GetMethodAndReturnPcAndSp() argument 42 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in GetMethodAndReturnPcAndSp() 71 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() argument 80 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 97 void* context ATTRIBUTE_UNUSED) { in Action() 114 bool StackOverflowHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() argument 115 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in Action()
|
/art/test/461-get-reference-vreg/ |
D | get_reference_vreg_jni.cc | 30 TestVisitor(Thread* thread, Context* context, mirror::Object* this_value) in TestVisitor() argument 32 : StackVisitor(thread, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames), in TestVisitor() 72 std::unique_ptr<Context> context(Context::Create()); in Java_Main_doNativeCallRef() local 73 TestVisitor visitor(soa.Self(), context.get(), soa.Decode<mirror::Object>(value).Ptr()); in Java_Main_doNativeCallRef() 80 std::unique_ptr<Context> context(Context::Create()); in Java_Main_doStaticNativeCallRef() local 81 TestVisitor visitor(soa.Self(), context.get(), nullptr); in Java_Main_doStaticNativeCallRef()
|
/art/runtime/arch/arm64/ |
D | fault_handler_arm64.cc | 41 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo ATTRIBUTE_UNUSED, void* context, in GetMethodAndReturnPcAndSp() argument 44 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); in GetMethodAndReturnPcAndSp() 72 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() argument 80 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 102 void* context) { in Action() argument 109 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); in Action() 154 void* context) { in Action() argument 155 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); in Action()
|
/art/runtime/arch/arm/ |
D | fault_handler_arm.cc | 48 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo ATTRIBUTE_UNUSED, void* context, in GetMethodAndReturnPcAndSp() argument 51 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in GetMethodAndReturnPcAndSp() 91 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() argument 102 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 128 void* context) { in Action() argument 135 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in Action() 199 void* context) { in Action() argument 200 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in Action()
|
/art/test/004-SignalTest/ |
D | signaltest.cc | 63 void* context) { in signalhandler() argument 80 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in signalhandler() 84 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in signalhandler() 88 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in signalhandler() 91 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in signalhandler() 94 UNUSED(context); in signalhandler()
|
/art/test/543-env-long-ref/ |
D | env_long_ref.cc | 30 TestVisitor(const ScopedObjectAccess& soa, Context* context, jobject expected_value) in TestVisitor() argument 32 : StackVisitor(soa.Self(), context, StackVisitor::StackWalkKind::kIncludeInlinedFrames), in TestVisitor() 60 std::unique_ptr<Context> context(Context::Create()); in Java_Main_lookForMyRegisters() local 61 TestVisitor visitor(soa, context.get(), value); in Java_Main_lookForMyRegisters()
|
/art/test/466-get-live-vreg/ |
D | get_live_vreg_jni.cc | 31 TestVisitor(Thread* thread, Context* context) REQUIRES_SHARED(Locks::mutator_lock_) in TestVisitor() argument 32 : StackVisitor(thread, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames) {} in TestVisitor() 68 std::unique_ptr<Context> context(Context::Create()); in Java_Main_doStaticNativeCallLiveVreg() local 69 TestVisitor visitor(soa.Self(), context.get()); in Java_Main_doStaticNativeCallLiveVreg()
|
/art/test/457-regs/ |
D | regs_jni.cc | 31 TestVisitor(Thread* thread, Context* context) in TestVisitor() argument 33 : StackVisitor(thread, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames) {} in TestVisitor() 132 std::unique_ptr<Context> context(Context::Create()); in Java_PhiLiveness_regsNativeCall() local 133 TestVisitor visitor(soa.Self(), context.get()); in Java_PhiLiveness_regsNativeCall() 141 std::unique_ptr<Context> context(Context::Create()); in Java_PhiLiveness_regsNativeCallWithParameters() local 146 TestVisitor visitor(soa.Self(), context.get()); in Java_PhiLiveness_regsNativeCallWithParameters()
|
/art/runtime/gc/space/ |
D | zygote_space.cc | 105 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); in SweepCallback() local 106 DCHECK(context->space->IsZygoteSpace()); in SweepCallback() 107 ZygoteSpace* zygote_space = context->space->AsZygoteSpace(); in SweepCallback() 108 Locks::heap_bitmap_lock_->AssertExclusiveHeld(context->self); in SweepCallback() 112 if (!context->swap_bitmaps) { in SweepCallback()
|
D | malloc_space.cc | 236 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); in SweepCallback() local 237 space::MallocSpace* space = context->space->AsMallocSpace(); in SweepCallback() 238 Thread* self = context->self; in SweepCallback() 242 if (!context->swap_bitmaps) { in SweepCallback() 251 context->freed.objects += num_ptrs; in SweepCallback() 252 context->freed.bytes += space->FreeList(self, num_ptrs, ptrs); in SweepCallback()
|
/art/runtime/arch/x86/ |
D | fault_handler_x86.cc | 280 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, in GetMethodAndReturnPcAndSp() argument 283 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in GetMethodAndReturnPcAndSp() 324 bool NullPointerHandler::Action(int, siginfo_t* sig, void* context) { in Action() argument 328 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 369 bool SuspensionHandler::Action(int, siginfo_t*, void* context) { in Action() argument 384 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 439 bool StackOverflowHandler::Action(int, siginfo_t* info, void* context) { in Action() argument 440 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action()
|
/art/compiler/optimizing/ |
D | induction_var_range.h | 67 bool GetInductionRange(HInstruction* context, 80 bool CanGenerateRange(HInstruction* context, 100 void GenerateRange(HInstruction* context, 113 HInstruction* GenerateTakenTest(HInstruction* context, HGraph* graph, HBasicBlock* block); 164 bool IsUnitStride(HInstruction* context, 194 bool HasInductionInfo(HInstruction* context, 264 bool GenerateRangeOrLastValue(HInstruction* context,
|
D | induction_var_range.cc | 201 bool InductionVarRange::GetInductionRange(HInstruction* context, in GetInductionRange() argument 210 if (!HasInductionInfo(context, instruction, &loop, &info, &trip)) { in GetInductionRange() 227 bool in_body = context->GetBlock() != loop->GetHeader(); in GetInductionRange() 240 bool InductionVarRange::CanGenerateRange(HInstruction* context, in CanGenerateRange() argument 246 return GenerateRangeOrLastValue(context, in CanGenerateRange() 262 void InductionVarRange::GenerateRange(HInstruction* context, in GenerateRange() argument 271 if (!GenerateRangeOrLastValue(context, in GenerateRange() 286 HInstruction* InductionVarRange::GenerateTakenTest(HInstruction* context, in GenerateTakenTest() argument 293 if (!GenerateRangeOrLastValue(context, in GenerateTakenTest() 294 context, in GenerateTakenTest() [all …]
|
/art/test/454-get-vreg/ |
D | get_vreg_jni.cc | 31 TestVisitor(Thread* thread, Context* context, mirror::Object* this_value) in TestVisitor() argument 33 : StackVisitor(thread, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames), in TestVisitor() 125 std::unique_ptr<Context> context(Context::Create()); in Java_Main_doNativeCall() local 126 TestVisitor visitor(soa.Self(), context.get(), soa.Decode<mirror::Object>(value).Ptr()); in Java_Main_doNativeCall()
|
/art/runtime/native/ |
D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 84 static void ThreadCountCallback(Thread*, void* context) { in ThreadCountCallback() argument 85 uint16_t& count = *reinterpret_cast<uint16_t*>(context); in ThreadCountCallback() 92 static void ThreadStatsGetterCallback(Thread* t, void* context) { in ThreadStatsGetterCallback() argument 120 std::vector<uint8_t>& bytes = *reinterpret_cast<std::vector<uint8_t>*>(context); in ThreadStatsGetterCallback()
|
/art/runtime/openjdkjvmti/ |
D | ti_method.cc | 299 LineNumberContext* context = reinterpret_cast<LineNumberContext*>(void_context); in CollectLineNumbers() local 302 context->push_back(jvmti_entry); in CollectLineNumbers() 336 LineNumberContext context; in GetLineNumberTable() local 337 bool success = dex_file->DecodeDebugPositionInfo(code_item, CollectLineNumbers, &context); in GetLineNumberTable() 343 jlong mem_size = context.size() * sizeof(jvmtiLineNumberEntry); in GetLineNumberTable() 349 memcpy(*table_ptr, context.data(), mem_size); in GetLineNumberTable() 350 *entry_count_ptr = static_cast<jint>(context.size()); in GetLineNumberTable()
|
/art/test/115-native-bridge/ |
D | nativebridge.cc | 190 void* context ATTRIBUTE_UNUSED) { in test_sigaction_handler() 539 void* context) { in StandardSignalHandler() argument 542 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in StandardSignalHandler() 546 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in StandardSignalHandler() 550 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in StandardSignalHandler() 553 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in StandardSignalHandler() 556 UNUSED(context); in StandardSignalHandler() 566 static bool nb_signalhandler(int sig, siginfo_t* info, void* context) { in nb_signalhandler() argument 570 return StandardSignalHandler(sig, info, context); in nb_signalhandler()
|
/art/test/596-monitor-inflation/ |
D | info.txt | 5 differently, and with more context, than the monitor_pool_test gtest.
|