/art/compiler/llvm/ |
H A D | runtime_support_builder_arm.h | 27 RuntimeSupportBuilderARM(::llvm::LLVMContext& context, ::llvm::Module& module, IRBuilder& irb) argument 28 : RuntimeSupportBuilder(context, module, irb) {}
|
H A D | runtime_support_builder_x86.h | 27 RuntimeSupportBuilderX86(::llvm::LLVMContext& context, ::llvm::Module& module, IRBuilder& irb) argument 28 : RuntimeSupportBuilder(context, module, irb) {}
|
H A D | ir_builder.cc | 31 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 D | md_builder.h | 38 explicit MDBuilder(::llvm::LLVMContext& context) argument 39 : LLVMMDBuilder(context), tbaa_root_(createTBAARoot("Art TBAA Root")) {
|
H A D | intrinsic_helper.cc | 93 IntrinsicHelper::IntrinsicHelper(::llvm::LLVMContext& context, argument 95 IRBuilder irb(context, module, *this);
|
H A D | runtime_support_builder.cc | 39 RuntimeSupportBuilder::RuntimeSupportBuilder(::llvm::LLVMContext& context, argument 42 : context_(context), module_(module), irb_(irb) {
|
/art/runtime/arch/mips/ |
H A D | fault_handler_mips.cc | 32 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 D | sigchain_dummy.cc | 57 extern "C" void InvokeUserSignalHandler(int sig, siginfo_t* info, void* context) { argument
|
H A D | sigchain.cc | 115 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 D | signaltest.cc | 50 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 D | fault_handler_arm64.cc | 40 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 D | fault_handler_arm.cc | 50 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 D | zygote_space.cc | 105 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 D | malloc_space.cc | 231 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 D | large_object_space.cc | 492 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 D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 88 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 D | runtime_linux.cc | 135 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 D | fault_handler.cc | 54 // 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 D | thread_list.cc | 932 void ThreadList::ForEach(void (*callback)(Thread*, void*), void* context) { argument 934 callback(thread, context);
|
H A D | stack.cc | 19 #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 D | instrumentation.cc | 21 #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 D | profiler.cc | 622 // 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 D | dex_file.cc | 722 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 D | fault_handler_x86.cc | 229 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 D | image_writer.cc | 654 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));
|