Lines Matching refs:context

886     OwnedMonitorVisitor(Thread* thread, Context* context,  in GetOwnedMonitors()
890 : StackVisitor(thread, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames), in GetOwnedMonitors()
926 std::unique_ptr<Context> context(Context::Create()); in GetOwnedMonitors() local
927 OwnedMonitorVisitor visitor(thread, context.get(), monitors, stack_depths); in GetOwnedMonitors()
1628 static bool Callback(void* context, uint32_t address, uint32_t line_number) { in OutputLineTable()
1629 DebugCallbackContext* pContext = reinterpret_cast<DebugCallbackContext*>(context); in OutputLineTable()
1656 DebugCallbackContext context; in OutputLineTable() local
1657 context.numItems = 0; in OutputLineTable()
1658 context.pReply = pReply; in OutputLineTable()
1662 DebugCallbackContext::Callback, nullptr, &context); in OutputLineTable()
1665 JDWP::Set4BE(expandBufGetBuffer(pReply) + numLinesOffset, context.numItems); in OutputLineTable()
1676 static void Callback(void* context, uint16_t slot, uint32_t startAddress, uint32_t endAddress, in OutputVariableTable()
1679 DebugCallbackContext* pContext = reinterpret_cast<DebugCallbackContext*>(context); in OutputVariableTable()
1711 DebugCallbackContext context; in OutputVariableTable() local
1712 context.method = m; in OutputVariableTable()
1713 context.pReply = pReply; in OutputVariableTable()
1714 context.variable_count = 0; in OutputVariableTable()
1715 context.with_generic = with_generic; in OutputVariableTable()
1721 &context); in OutputVariableTable()
1724 JDWP::Set4BE(expandBufGetBuffer(pReply) + variable_count_offset, context.variable_count); in OutputVariableTable()
2489 GetThisVisitor(Thread* thread, Context* context, JDWP::FrameId frame_id_in) in GetThisVisitor()
2491 : StackVisitor(thread, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames), in GetThisVisitor()
2521 std::unique_ptr<Context> context(Context::Create()); in GetThisObject() local
2522 GetThisVisitor visitor(thread, context.get(), frame_id); in GetThisObject()
2531 FindFrameVisitor(Thread* thread, Context* context, JDWP::FrameId frame_id) in FindFrameVisitor() argument
2533 : StackVisitor(thread, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames), in FindFrameVisitor()
2577 std::unique_ptr<Context> context(Context::Create()); in GetLocalValues() local
2578 FindFrameVisitor visitor(thread, context.get(), frame_id); in GetLocalValues()
2748 std::unique_ptr<Context> context(Context::Create()); in SetLocalValues() local
2749 FindFrameVisitor visitor(thread, context.get(), frame_id); in SetLocalValues()
2937 CatchLocationFinder(Thread* self, const Handle<mirror::Throwable>& exception, Context* context) in CatchLocationFinder() argument
2939 : StackVisitor(self, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames), in CatchLocationFinder()
3024 std::unique_ptr<Context> context(Context::Create()); in PostException() local
3025 CatchLocationFinder clf(self, h_exception, context.get()); in PostException()
3726 DebugCallbackContext* context = reinterpret_cast<DebugCallbackContext*>(raw_context); in ConfigureStep() local
3727 if (static_cast<int32_t>(line_number_cb) == context->line_number_) { in ConfigureStep()
3728 if (!context->last_pc_valid) { in ConfigureStep()
3730 context->last_pc = address; in ConfigureStep()
3731 context->last_pc_valid = true; in ConfigureStep()
3735 } else if (context->last_pc_valid) { // and the line number is new in ConfigureStep()
3737 for (uint32_t dex_pc = context->last_pc; dex_pc < address; ++dex_pc) { in ConfigureStep()
3738 context->single_step_control_->AddDexPc(dex_pc); in ConfigureStep()
3740 context->last_pc_valid = false; in ConfigureStep()
3777 DebugCallbackContext context(single_step_control, line_number, code_item); in ConfigureStep() local
3779 DebugCallbackContext::Callback, nullptr, &context); in ConfigureStep()
4755 HeapChunkContext context(what == HPSG_WHAT_MERGED_OBJECTS, native); in DdmSendHeapSegments() local
4758 dlmalloc_inspect_all(HeapChunkContext::HeapChunkNativeCallback, &context); in DdmSendHeapSegments()
4759 …HeapChunkContext::HeapChunkNativeCallback(nullptr, nullptr, 0, &context); // Indicate end of a sp… in DdmSendHeapSegments()
4770 context.SetChunkOverhead(sizeof(size_t)); in DdmSendHeapSegments()
4771 space->AsDlMallocSpace()->Walk(HeapChunkContext::HeapChunkJavaCallback, &context); in DdmSendHeapSegments()
4773 context.SetChunkOverhead(0); in DdmSendHeapSegments()
4781 space->AsRosAllocSpace()->Walk(HeapChunkContext::HeapChunkJavaCallback, &context); in DdmSendHeapSegments()
4787 context.SetChunkOverhead(0); in DdmSendHeapSegments()
4788 space->AsBumpPointerSpace()->Walk(BumpPointerSpaceCallback, &context); in DdmSendHeapSegments()
4789 HeapChunkContext::HeapChunkJavaCallback(nullptr, nullptr, 0, &context); in DdmSendHeapSegments()
4796 context.SetChunkOverhead(0); in DdmSendHeapSegments()
4797 space->AsRegionSpace()->Walk(BumpPointerSpaceCallback, &context); in DdmSendHeapSegments()
4798 HeapChunkContext::HeapChunkJavaCallback(nullptr, nullptr, 0, &context); in DdmSendHeapSegments()
4805 context.ResetStartOfNextChunk(); in DdmSendHeapSegments()
4809 context.SetChunkOverhead(0); in DdmSendHeapSegments()
4810 heap->GetLargeObjectsSpace()->Walk(HeapChunkContext::HeapChunkJavaCallback, &context); in DdmSendHeapSegments()