Searched defs:context (Results 1 - 25 of 30) sorted by relevance

12

/art/compiler/llvm/
H A Druntime_support_builder_arm.h27 RuntimeSupportBuilderARM(::llvm::LLVMContext& context, ::llvm::Module& module, IRBuilder& irb) argument
28 : RuntimeSupportBuilder(context, module, irb) {}
H A Druntime_support_builder_x86.h27 RuntimeSupportBuilderX86(::llvm::LLVMContext& context, ::llvm::Module& module, IRBuilder& irb) argument
28 : RuntimeSupportBuilder(context, module, irb) {}
H A Dir_builder.cc31 IRBuilder::IRBuilder(::llvm::LLVMContext& context, ::llvm::Module& module, argument
33 : LLVMIRBuilder(context), module_(&module), mdb_(context), java_object_type_(NULL),
57 ::llvm::Type* jenv_struct_type = ::llvm::StructType::create(context, "JEnv");
H A Dmd_builder.h38 explicit MDBuilder(::llvm::LLVMContext& context) argument
39 : LLVMMDBuilder(context), tbaa_root_(createTBAARoot("Art TBAA Root")) {
H A Dintrinsic_helper.cc93 IntrinsicHelper::IntrinsicHelper(::llvm::LLVMContext& context, argument
95 IRBuilder irb(context, module, *this);
H A Druntime_support_builder.cc39 RuntimeSupportBuilder::RuntimeSupportBuilder(::llvm::LLVMContext& context, argument
42 : context_(context), module_(module), irb_(irb) {
/art/runtime/arch/mips/
H A Dfault_handler_mips.cc32 void FaultManager::HandleNestedSignal(int sig, siginfo_t* info, void* context) { argument
35 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, argument
40 bool NullPointerHandler::Action(int sig, siginfo_t* info, void* context) { argument
44 bool SuspensionHandler::Action(int sig, siginfo_t* info, void* context) { argument
48 bool StackOverflowHandler::Action(int sig, siginfo_t* info, void* context) { argument
/art/sigchainlib/
H A Dsigchain_dummy.cc57 extern "C" void InvokeUserSignalHandler(int sig, siginfo_t* info, void* context) { argument
H A Dsigchain.cc115 extern "C" void InvokeUserSignalHandler(int sig, siginfo_t* info, void* context) { argument
134 action.sa_sigaction(sig, info, context);
180 // This will only occur outside of a signal context since we have
229 // Don't call this from within a signal context as it makes calls to
/art/test/004-SignalTest/
H A Dsignaltest.cc50 static void signalhandler(int sig, siginfo_t* info, void* context) { argument
57 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context);
61 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context);
65 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context);
/art/runtime/arch/arm64/
H A Dfault_handler_arm64.cc40 void FaultManager::HandleNestedSignal(int sig, siginfo_t* info, void* context) { argument
44 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context);
54 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, argument
57 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context);
85 bool NullPointerHandler::Action(int sig, siginfo_t* info, void* context) { argument
90 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context);
108 bool SuspensionHandler::Action(int sig, siginfo_t* info, void* context) { argument
114 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context);
158 bool StackOverflowHandler::Action(int sig, siginfo_t* info, void* context) { argument
159 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context);
[all...]
/art/runtime/arch/arm/
H A Dfault_handler_arm.cc50 void FaultManager::HandleNestedSignal(int sig, siginfo_t* info, void* context) { argument
56 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context);
67 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, argument
70 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context);
103 bool NullPointerHandler::Action(int sig, siginfo_t* info, void* context) { argument
111 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context);
130 bool SuspensionHandler::Action(int sig, siginfo_t* info, void* context) { argument
136 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context);
199 bool StackOverflowHandler::Action(int sig, siginfo_t* info, void* context) { argument
200 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context);
[all...]
/art/runtime/gc/space/
H A Dzygote_space.cc105 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); local
106 DCHECK(context->space->IsZygoteSpace());
107 ZygoteSpace* zygote_space = context->space->AsZygoteSpace();
108 Locks::heap_bitmap_lock_->AssertExclusiveHeld(context->self);
112 if (!context->swap_bitmaps) {
H A Dmalloc_space.cc231 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); local
232 space::MallocSpace* space = context->space->AsMallocSpace();
233 Thread* self = context->self;
237 if (!context->swap_bitmaps) {
246 context->freed.objects += num_ptrs;
247 context->freed.bytes += space->FreeList(self, num_ptrs, ptrs);
H A Dlarge_object_space.cc492 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); local
493 space::LargeObjectSpace* space = context->space->AsLargeObjectSpace();
494 Thread* self = context->self;
498 if (!context->swap_bitmaps) {
504 context->freed.objects += num_ptrs;
505 context->freed.bytes += space->FreeList(self, num_ptrs, ptrs);
/art/runtime/native/
H A Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc88 static void ThreadCountCallback(Thread*, void* context) { argument
89 uint16_t& count = *reinterpret_cast<uint16_t*>(context);
96 static void ThreadStatsGetterCallback(Thread* t, void* context) { argument
124 std::vector<uint8_t>& bytes = *reinterpret_cast<std::vector<uint8_t>*>(context);
/art/runtime/
H A Druntime_linux.cc135 explicit UContext(void* raw_context) : context(reinterpret_cast<ucontext_t*>(raw_context)->uc_mcontext) {}
140 DumpRegister32(os, "eax", context->__ss.__eax);
141 DumpRegister32(os, "ebx", context->__ss.__ebx);
142 DumpRegister32(os, "ecx", context->__ss.__ecx);
143 DumpRegister32(os, "edx", context->__ss.__edx);
146 DumpRegister32(os, "edi", context->__ss.__edi);
147 DumpRegister32(os, "esi", context->__ss.__esi);
148 DumpRegister32(os, "ebp", context->__ss.__ebp);
149 DumpRegister32(os, "esp", context->__ss.__esp);
152 DumpRegister32(os, "eip", context
271 mcontext_t& context; member in struct:art::UContext
[all...]
H A Dfault_handler.cc54 // our secondary signal handler gets called in a signal context. This results in
81 static void art_fault_handler(int sig, siginfo_t* info, void* context) { argument
82 fault_manager.HandleFault(sig, info, context);
86 static void art_nested_signal_handler(int sig, siginfo_t* info, void* context) { argument
87 fault_manager.HandleNestedSignal(sig, info, context);
138 void FaultManager::HandleFault(int sig, siginfo_t* info, void* context) { argument
144 if (IsInGeneratedCode(info, context, true)) {
148 if (handler->Action(sig, info, context)) {
167 if (handler->Action(sig, info, context)) {
176 InvokeUserSignalHandler(sig, info, context);
203 IsInGeneratedCode(siginfo_t* siginfo, void* context, bool check_dex_pc) argument
312 Action(int sig, siginfo_t* siginfo, void* context) argument
[all...]
H A Dthread_list.cc932 void ThreadList::ForEach(void (*callback)(Thread*, void*), void* context) { argument
934 callback(thread, 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) {
157 DCHECK(context_ != nullptr); // You can't reliably read registers without a context.
211 DCHECK(context_ != nullptr); // You can't reliably read registers without a context.
258 DCHECK(context_ != nullptr); // You can't reliably write registers without a context.
322 DCHECK(context_ != nullptr); // You can't reliably write registers without a context.
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 Ddex_file.cc722 LineNumFromPcContext context(rel_pc, -1);
724 NULL, &context);
725 return context.line_num_;
763 void* context, const byte* stream, LocalInfo* local_in_reg) const {
852 InvokeLocalCbIfLive(context, reg, address, local_in_reg, local_cb);
873 InvokeLocalCbIfLive(context, reg, address, local_in_reg, local_cb);
913 if (position_cb(context, address, line)) {
926 void* context) const {
933 DecodeDebugInfo0(code_item, is_static, method_idx, position_cb, local_cb, context, stream, &local_in_reg[0]);
936 InvokeLocalCbIfLive(context, re
761 DecodeDebugInfo0(const CodeItem* code_item, bool is_static, uint32_t method_idx, DexDebugNewPositionCb position_cb, DexDebugNewLocalCb local_cb, void* context, const byte* stream, LocalInfo* local_in_reg) const argument
941 LineNumFromPcContext* context = reinterpret_cast<LineNumFromPcContext*>(raw_context); local
[all...]
/art/runtime/arch/x86/
H A Dfault_handler_x86.cc229 void FaultManager::HandleNestedSignal(int sig, siginfo_t* info, void* context) { argument
239 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context);
244 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, argument
247 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context);
282 bool NullPointerHandler::Action(int sig, siginfo_t* info, void* context) { argument
283 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context);
322 bool SuspensionHandler::Action(int sig, siginfo_t* info, void* context) { argument
341 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context);
396 bool StackOverflowHandler::Action(int sig, siginfo_t* info, void* context) { argument
397 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context);
[all...]
/art/compiler/
H A Dimage_writer.cc654 NonImageClasses context; local
655 context.image_writer = this;
656 context.non_image_classes = &non_image_classes;
657 class_linker->VisitClasses(NonImageClassesVisitor, &context);
693 NonImageClasses* context = reinterpret_cast<NonImageClasses*>(arg); local
694 if (!context->image_writer->IsImageClass(klass)) {
696 context->non_image_classes->insert(klass->GetDescriptor(&temp));

Completed in 413 milliseconds

12