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

12

/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/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.h45 void HandleFault(int sig, siginfo_t* info, void* context);
46 void HandleNestedSignal(int sig, siginfo_t* info, void* context);
50 // Note that the following two functions are called in the context of a signal handler.
54 void GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, mirror::ArtMethod** out_method,
57 bool IsInGeneratedCode(siginfo_t* siginfo, void *context, bool check_dex_pc)
76 virtual bool Action(int sig, siginfo_t* siginfo, void* context) = 0;
89 bool Action(int sig, siginfo_t* siginfo, void* context) OVERRIDE;
99 bool Action(int sig, siginfo_t* siginfo, void* context) OVERRIDE;
109 bool Action(int sig, siginfo_t* siginfo, void* context) OVERRIDE;
119 bool Action(int sig, siginfo_t* siginfo, void* context) OVERRID
[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
311 Action(int sig, siginfo_t* siginfo, void* context) argument
[all...]
H A Ddex_file.cc715 LineNumFromPcContext context(rel_pc, -1);
717 NULL, &context);
718 return context.line_num_;
756 void* context, const byte* stream, LocalInfo* local_in_reg) const {
845 InvokeLocalCbIfLive(context, reg, address, local_in_reg, local_cb);
866 InvokeLocalCbIfLive(context, reg, address, local_in_reg, local_cb);
906 if (position_cb(context, address, line)) {
919 void* context) const {
926 DecodeDebugInfo0(code_item, is_static, method_idx, position_cb, local_cb, context, stream, &local_in_reg[0]);
929 InvokeLocalCbIfLive(context, re
754 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
934 LineNumFromPcContext* context = reinterpret_cast<LineNumFromPcContext*>(raw_context); local
[all...]
H A Ddebugger.cc23 #include "arch/context.h"
941 OwnedMonitorVisitor(Thread* thread, Context* context,
945 : StackVisitor(thread, context), current_stack_depth(0),
982 std::unique_ptr<Context> context(Context::Create());
983 OwnedMonitorVisitor visitor(thread, context.get(), &monitors, &stack_depths);
1647 static bool Callback(void* context, uint32_t address, uint32_t line_number) { argument
1648 DebugCallbackContext* pContext = reinterpret_cast<DebugCallbackContext*>(context);
1675 DebugCallbackContext context; local
1676 context.numItems = 0;
1677 context
1730 DebugCallbackContext context; local
3365 DebugCallbackContext* context = reinterpret_cast<DebugCallbackContext*>(raw_context); local
[all...]
H A Dquick_exception_handler.cc19 #include "arch/context.h"
45 CatchBlockStackVisitor(Thread* self, Context* context, Handle<mirror::Throwable>* exception,
48 : StackVisitor(self, context), self_(self), exception_(exception),
172 DeoptimizeStackVisitor(Thread* self, Context* context, QuickExceptionHandler* exception_handler)
174 : StackVisitor(self, context), self_(self), exception_handler_(exception_handler),
346 // Place context back on thread so it will be available when we continue.
/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 Dintrinsic_helper.h126 IntrinsicHelper(::llvm::LLVMContext& context, ::llvm::Module& module);
H A Druntime_support_builder.h42 RuntimeSupportBuilder(::llvm::LLVMContext& context, ::llvm::Module& module, IRBuilder& irb);
H A Druntime_support_builder.cc39 RuntimeSupportBuilder::RuntimeSupportBuilder(::llvm::LLVMContext& context, argument
42 : context_(context), module_(module), irb_(irb) {
/art/sigchainlib/
H A Dsigchain.h32 void InvokeUserSignalHandler(int sig, siginfo_t* info, void* context);
H A Dsigchain.cc116 void InvokeUserSignalHandler(int sig, siginfo_t* info, void* context) { argument
135 action.sa_sigaction(sig, info, context);
181 // This will only occur outside of a signal context since we have
231 // Don't call this from within a signal context as it makes calls to
/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/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/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/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/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);

Completed in 2021 milliseconds

12