Searched refs:context (Results 26 - 40 of 40) sorted by relevance

12

/art/runtime/
H A Dthread.cc33 #include "arch/context.h"
864 StackDumpVisitor(std::ostream& os, Thread* thread, Context* context, bool can_allocate)
866 : StackVisitor(thread, context), os(os), thread(thread), can_allocate(can_allocate),
922 static void DumpLockedObject(mirror::Object* o, void* context)
924 std::ostream& os = *reinterpret_cast<std::ostream*>(context);
981 std::unique_ptr<Context> context(Context::Create());
982 StackDumpVisitor dumper(os, const_cast<Thread*>(this), context.get(),
1940 tlsPtr_.long_jump_context = nullptr; // Avoid context being shared.
1949 CurrentMethodVisitor(Thread* thread, Context* context, bool abort_on_error)
1951 : StackVisitor(thread, context), this_object
1982 Context* context = GetLongJumpContext(); local
2195 Context* context = GetLongJumpContext(); local
[all...]
H A Ddex_file.h772 typedef bool (*DexDebugNewPositionCb)(void* context, uint32_t address, uint32_t line_num);
776 typedef void (*DexDebugNewLocalCb)(void* context, uint16_t reg,
783 static bool LineNumForPcCb(void* context, uint32_t address, uint32_t line_num);
825 void InvokeLocalCbIfLive(void* context, int reg, uint32_t end_address, argument
828 local_cb(context, reg, local_in_reg[reg].start_address_, end_address,
847 void* context) const;
940 void* context, const byte* stream, LocalInfo* local_in_reg) const;
H A Dthread_list.h112 void ForEach(void (*callback)(Thread*, void*), void* context)
H A Dstack.cc19 #include "arch/context.h"
91 StackVisitor::StackVisitor(Thread* thread, Context* context) argument
94 context_(context) {
98 StackVisitor::StackVisitor(Thread* thread, Context* context, size_t num_frames) argument
101 context_(context) {
148 DCHECK(context_ != nullptr); // You can't reliably read registers without a context.
202 DCHECK(context_ != nullptr); // You can't reliably read registers without a context.
249 DCHECK(context_ != nullptr); // You can't reliably write registers without a context.
313 DCHECK(context_ != nullptr); // You can't reliably write registers without a context.
H A Dstack.h496 StackVisitor(Thread* thread, Context* context) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
723 StackVisitor(Thread* thread, Context* context, size_t num_frames)
H A Dinstrumentation.cc21 #include "arch/context.h"
203 InstallStackVisitor(Thread* thread, Context* context, uintptr_t instrumentation_exit_pc) argument
204 : StackVisitor(thread, context), instrumentation_stack_(thread->GetInstrumentationStack()),
312 std::unique_ptr<Context> context(Context::Create());
314 InstallStackVisitor visitor(thread, context.get(), instrumentation_exit_pc);
H A Dprofiler.cc622 // We go backward on the trie to retrieve context and dex_pc until the dummy root.
623 // The format of the context is "method_1@pc_1@method_2@pc_2@..."
653 // We write out profile data with dex pc and context information in the following format:
781 // Handles the situtation when the profile file doesn't contain context information.
786 // Handles the situtation when the profile file contains context information.
789 std::string context = context_count[2]; local
790 (*context_map)[std::make_pair(dexpc, context)] = count;
H A Dthread.h346 void ReleaseLongJumpContext(Context* context) { argument
348 tlsPtr_.long_jump_context = context;
1090 // Thread local, lazily allocated, long jump context. Used to deliver exceptions.
H A Dthread_list.cc875 void ThreadList::ForEach(void (*callback)(Thread*, void*), void* context) { argument
877 callback(thread, context);
H A DAndroid.mk166 arch/context.cc \
/art/compiler/
H A Dimage_writer.cc315 NonImageClasses context; local
316 context.image_writer = this;
317 context.non_image_classes = &non_image_classes;
318 class_linker->VisitClasses(NonImageClassesVisitor, &context);
353 NonImageClasses* context = reinterpret_cast<NonImageClasses*>(arg); local
354 if (!context->image_writer->IsImageClass(klass)) {
356 context->non_image_classes->insert(klass->GetDescriptor(&temp));
/art/compiler/driver/
H A Dcompiler_driver.cc1522 // context from the code use (to disambiguate virtual vs direct
1646 ParallelCompilationManager context(class_linker, class_loader, this, &dex_file, dex_files,
1652 context.ForAll(0, dex_file.NumTypeIds(), ResolveType, thread_count_);
1656 context.ForAll(0, dex_file.NumClassDefs(), ResolveClassFieldsAndMethods, thread_count_);
1729 ParallelCompilationManager context(class_linker, class_loader, this, &dex_file, dex_files,
1731 context.ForAll(0, dex_file.NumClassDefs(), VerifyClass, thread_count_);
1773 ParallelCompilationManager context(class_linker, class_loader, this, &dex_file, dex_files,
1775 context.ForAll(0, dex_file.NumClassDefs(), SetVerifiedClass, thread_count_);
1868 ParallelCompilationManager context(class_linker, jni_class_loader, this, &dex_file, dex_files,
1877 context
[all...]
H A Dcompiler_driver.h701 static void CompileClass(const ParallelCompilationManager* context, size_t class_def_index)
/art/runtime/gc/
H A Dheap.cc1803 BinContext context; local
1804 context.prev_ = reinterpret_cast<uintptr_t>(space->Begin());
1805 context.collector_ = this;
1808 bin_live_bitmap_->Walk(Callback, reinterpret_cast<void*>(&context));
1810 AddBin(reinterpret_cast<uintptr_t>(space->End()) - context.prev_, context.prev_);
1828 BinContext* context = reinterpret_cast<BinContext*>(arg); local
1829 ZygoteCompactingCollector* collector = context->collector_;
1831 size_t bin_size = object_addr - context->prev_;
1833 collector->AddBin(bin_size, context
[all...]
/art/compiler/llvm/
H A Dir_builder.h71 IRBuilder(::llvm::LLVMContext& context, ::llvm::Module& module,

Completed in 7845 milliseconds

12