Home
last modified time | relevance | path

Searched refs:context (Results 1 – 25 of 27) sorted by relevance

12

/art/runtime/
Druntime_linux.cc132 …explicit UContext(void* raw_context) : context(reinterpret_cast<ucontext_t*>(raw_context)->uc_mcon… in UContext()
137 DumpRegister32(os, "eax", context->__ss.__eax); in Dump()
138 DumpRegister32(os, "ebx", context->__ss.__ebx); in Dump()
139 DumpRegister32(os, "ecx", context->__ss.__ecx); in Dump()
140 DumpRegister32(os, "edx", context->__ss.__edx); in Dump()
143 DumpRegister32(os, "edi", context->__ss.__edi); in Dump()
144 DumpRegister32(os, "esi", context->__ss.__esi); in Dump()
145 DumpRegister32(os, "ebp", context->__ss.__ebp); in Dump()
146 DumpRegister32(os, "esp", context->__ss.__esp); in Dump()
149 DumpRegister32(os, "eip", context->__ss.__eip); in Dump()
[all …]
Ddex_file.cc627 LineNumFromPcContext context(rel_pc, -1); in GetLineNumFromPC() local
629 NULL, &context); in GetLineNumFromPC()
630 return context.line_num_; in GetLineNumFromPC()
668 void* context, const byte* stream, LocalInfo* local_in_reg) const { in DecodeDebugInfo0() argument
756 InvokeLocalCbIfLive(context, reg, address, local_in_reg, local_cb); in DecodeDebugInfo0()
777 InvokeLocalCbIfLive(context, reg, address, local_in_reg, local_cb); in DecodeDebugInfo0()
817 if (position_cb(context, address, line)) { in DecodeDebugInfo0()
830 void* context) const { in DecodeDebugInfo()
836 …DecodeDebugInfo0(code_item, is_static, method_idx, position_cb, local_cb, context, stream, &local_… in DecodeDebugInfo()
839 …InvokeLocalCbIfLive(context, reg, code_item->insns_size_in_code_units_, &local_in_reg[0], local_cb… in DecodeDebugInfo()
[all …]
Ddebugger.cc706 OwnedMonitorVisitor(Thread* thread, Context* context) in GetOwnedMonitors()
708 : StackVisitor(thread, context), current_stack_depth(0) {} in GetOwnedMonitors()
730 UniquePtr<Context> context(Context::Create()); in GetOwnedMonitors() local
731 OwnedMonitorVisitor visitor(thread, context.get()); in GetOwnedMonitors()
1322 static bool Callback(void* context, uint32_t address, uint32_t line_number) { in OutputLineTable()
1323 DebugCallbackContext* pContext = reinterpret_cast<DebugCallbackContext*>(context); in OutputLineTable()
1349 DebugCallbackContext context; in OutputLineTable() local
1350 context.numItems = 0; in OutputLineTable()
1351 context.pReply = pReply; in OutputLineTable()
1354 DebugCallbackContext::Callback, NULL, &context); in OutputLineTable()
[all …]
Dthread.cc779 StackDumpVisitor(std::ostream& os, Thread* thread, Context* context, bool can_allocate) in StackDumpVisitor()
781 : StackVisitor(thread, context), os(os), thread(thread), can_allocate(can_allocate), in StackDumpVisitor()
837 static void DumpLockedObject(mirror::Object* o, void* context) in DumpLockedObject()
839 std::ostream& os = *reinterpret_cast<std::ostream*>(context); in DumpLockedObject()
887 UniquePtr<Context> context(Context::Create()); in DumpStack() local
888 …StackDumpVisitor dumper(os, const_cast<Thread*>(this), context.get(), !throwing_OutOfMemoryError_); in DumpStack()
1961 CurrentMethodVisitor(Thread* thread, Context* context) in CurrentMethodVisitor()
1963 : StackVisitor(thread, context), this_object_(NULL), method_(NULL), dex_pc_(0) {} in CurrentMethodVisitor()
1992 Context* context = GetLongJumpContext(); in GetCurrentLocationForThrow() local
1993 CurrentMethodVisitor visitor(this, context); in GetCurrentLocationForThrow()
[all …]
Ddex_file.h715 typedef bool (*DexDebugNewPositionCb)(void* context, uint32_t address, uint32_t line_num);
719 typedef void (*DexDebugNewLocalCb)(void* context, uint16_t reg,
726 static bool LineNumForPcCb(void* context, uint32_t address, uint32_t line_num);
768 void InvokeLocalCbIfLive(void* context, int reg, uint32_t end_address, in InvokeLocalCbIfLive() argument
771 local_cb(context, reg, local_in_reg[reg].start_address_, end_address, in InvokeLocalCbIfLive()
790 void* context) const;
869 void* context, const byte* stream, LocalInfo* local_in_reg) const;
Dinstrumentation.cc107 InstallStackVisitor(Thread* thread, Context* context, uintptr_t instrumentation_exit_pc) in InstrumentationInstallStack()
108 : StackVisitor(thread, context), instrumentation_stack_(thread->GetInstrumentationStack()), in InstrumentationInstallStack()
161 UniquePtr<Context> context(Context::Create()); in InstrumentationInstallStack() local
163 InstallStackVisitor visitor(thread, context.get(), instrumentation_exit_pc); in InstrumentationInstallStack()
Dthread_list.h82 void ForEach(void (*callback)(Thread*, void*), void* context)
Dstack.cc86 StackVisitor::StackVisitor(Thread* thread, Context* context) in StackVisitor() argument
89 context_(context) { in StackVisitor()
Dthread_list.cc558 void ThreadList::ForEach(void (*callback)(Thread*, void*), void* context) { in ForEach() argument
560 callback(thread, context); in ForEach()
Dthread.h319 void ReleaseLongJumpContext(Context* context) { in ReleaseLongJumpContext() argument
321 long_jump_context_ = context; in ReleaseLongJumpContext()
/art/compiler/llvm/
Dir_builder.cc31 IRBuilder::IRBuilder(::llvm::LLVMContext& context, ::llvm::Module& module, in IRBuilder() argument
33 : LLVMIRBuilder(context), module_(&module), mdb_(context), java_object_type_(NULL), in IRBuilder()
57 ::llvm::Type* jenv_struct_type = ::llvm::StructType::create(context, "JEnv"); in IRBuilder()
Druntime_support_builder_thumb2.h27 RuntimeSupportBuilderThumb2(::llvm::LLVMContext& context, ::llvm::Module& module, IRBuilder& irb) in RuntimeSupportBuilderThumb2() argument
28 : RuntimeSupportBuilderARM(context, module, irb) {} in RuntimeSupportBuilderThumb2()
Druntime_support_builder_x86.h27 RuntimeSupportBuilderX86(::llvm::LLVMContext& context, ::llvm::Module& module, IRBuilder& irb) in RuntimeSupportBuilderX86() argument
28 : RuntimeSupportBuilder(context, module, irb) {} in RuntimeSupportBuilderX86()
Druntime_support_builder_arm.h27 RuntimeSupportBuilderARM(::llvm::LLVMContext& context, ::llvm::Module& module, IRBuilder& irb) in RuntimeSupportBuilderARM() argument
28 : RuntimeSupportBuilder(context, module, irb) {} in RuntimeSupportBuilderARM()
Dmd_builder.h38 explicit MDBuilder(::llvm::LLVMContext& context) in MDBuilder() argument
39 : LLVMMDBuilder(context), tbaa_root_(createTBAARoot("Art TBAA Root")) { in MDBuilder()
Dintrinsic_helper.cc93 IntrinsicHelper::IntrinsicHelper(::llvm::LLVMContext& context, in IntrinsicHelper() argument
95 IRBuilder irb(context, module, *this); in IntrinsicHelper()
Dintrinsic_helper.h126 IntrinsicHelper(::llvm::LLVMContext& context, ::llvm::Module& module);
Druntime_support_builder.h42 RuntimeSupportBuilder(::llvm::LLVMContext& context, ::llvm::Module& module, IRBuilder& irb);
Druntime_support_builder.cc39 RuntimeSupportBuilder::RuntimeSupportBuilder(::llvm::LLVMContext& context, in RuntimeSupportBuilder() argument
42 : context_(context), module_(module), irb_(irb) { in RuntimeSupportBuilder()
Dir_builder.h71 IRBuilder(::llvm::LLVMContext& context, ::llvm::Module& module,
/art/runtime/native/
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc81 static void ThreadCountCallback(Thread*, void* context) { in ThreadCountCallback() argument
82 uint16_t& count = *reinterpret_cast<uint16_t*>(context); in ThreadCountCallback()
89 static void ThreadStatsGetterCallback(Thread* t, void* context) { in ThreadStatsGetterCallback() argument
115 std::vector<uint8_t>& bytes = *reinterpret_cast<std::vector<uint8_t>*>(context); in ThreadStatsGetterCallback()
/art/compiler/
Dimage_writer.cc261 NonImageClasses context; in PruneNonImageClasses() local
262 context.image_writer = this; in PruneNonImageClasses()
263 context.non_image_classes = &non_image_classes; in PruneNonImageClasses()
264 class_linker->VisitClasses(NonImageClassesVisitor, &context); in PruneNonImageClasses()
297 NonImageClasses* context = reinterpret_cast<NonImageClasses*>(arg); in NonImageClassesVisitor() local
298 if (!context->image_writer->IsImageClass(klass)) { in NonImageClassesVisitor()
299 context->non_image_classes->insert(ClassHelper(klass).GetDescriptor()); in NonImageClassesVisitor()
/art/runtime/gc/collector/
Dmark_sweep.cc1114 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); in SweepCallback() local
1115 MarkSweep* mark_sweep = context->mark_sweep; in SweepCallback()
1117 space::AllocSpace* space = context->space; in SweepCallback()
1118 Thread* self = context->self; in SweepCallback()
1132 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); in ZygoteSweepCallback() local
1133 Locks::heap_bitmap_lock_->AssertExclusiveHeld(context->self); in ZygoteSweepCallback()
1134 Heap* heap = context->mark_sweep->GetHeap(); in ZygoteSweepCallback()
/art/compiler/driver/
Dcompiler_driver.cc1613 ParallelCompilationManager context(class_linker, class_loader, this, &dex_file, thread_pool); in ResolveDexFile() local
1619 context.ForAll(0, dex_file.NumTypeIds(), ResolveType, thread_count_); in ResolveDexFile()
1624 context.ForAll(0, dex_file.NumClassDefs(), ResolveClassFieldsAndMethods, thread_count_); in ResolveDexFile()
1686 ParallelCompilationManager context(class_linker, class_loader, this, &dex_file, thread_pool); in VerifyDexFile() local
1687 context.ForAll(0, dex_file.NumClassDefs(), VerifyClass, thread_count_); in VerifyDexFile()
2200 ParallelCompilationManager context(class_linker, jni_class_loader, this, &dex_file, thread_pool); in InitializeClasses() local
2201 context.ForAll(0, dex_file.NumClassDefs(), InitializeClass, thread_count_); in InitializeClasses()
2298 ParallelCompilationManager context(Runtime::Current()->GetClassLinker(), class_loader, this, in CompileDexFile() local
2300 context.ForAll(0, dex_file.NumClassDefs(), CompilerDriver::CompileClass, thread_count_); in CompileDexFile()
Dcompiler_driver.h374 static void CompileClass(const ParallelCompilationManager* context, size_t class_def_index)

12