/art/runtime/arch/mips/ |
H A D | fault_handler_mips.cc | 39 void* context ATTRIBUTE_UNUSED) { 42 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, argument 45 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); 75 void* context) { 80 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 91 void* context ATTRIBUTE_UNUSED) { 108 bool StackOverflowHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { argument 109 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); 74 Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, void* context) argument
|
/art/runtime/arch/mips64/ |
H A D | fault_handler_mips64.cc | 39 void* context ATTRIBUTE_UNUSED) { 42 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, argument 45 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); 75 void* context) { 80 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 91 void* context ATTRIBUTE_UNUSED) { 108 bool StackOverflowHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { argument 109 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); 74 Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, void* context) argument
|
/art/test/004-SignalTest/ |
H A D | signaltest.cc | 51 void* context) { 58 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 62 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 66 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 69 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 72 UNUSED(context); 50 signalhandler(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, void* context) argument
|
/art/runtime/arch/arm64/ |
H A D | fault_handler_arm64.cc | 42 void* context) { 46 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 56 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo ATTRIBUTE_UNUSED, void* context, argument 59 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); 88 void* context) { 93 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 112 void* context) { 118 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); 163 void* context) { 164 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); 41 HandleNestedSignal(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, void* context) argument 87 Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, void* context) argument 111 Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, void* context) argument 162 Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, void* context) argument [all...] |
/art/runtime/arch/arm/ |
H A D | fault_handler_arm.cc | 50 void* context) { 56 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 67 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo ATTRIBUTE_UNUSED, void* context, argument 70 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); 111 void* context) { 119 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 139 void* context) { 145 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); 209 void* context) { 210 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); 49 HandleNestedSignal(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, void* context) argument 110 Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, void* context) argument 138 Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, void* context) argument 208 Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, void* context) argument [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 | 232 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); local 233 space::MallocSpace* space = context->space->AsMallocSpace(); 234 Thread* self = context->self; 238 if (!context->swap_bitmaps) { 247 context->freed.objects += num_ptrs; 248 context->freed.bytes += space->FreeList(self, num_ptrs, ptrs);
|
H A D | large_object_space.cc | 582 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); local 583 space::LargeObjectSpace* space = context->space->AsLargeObjectSpace(); 584 Thread* self = context->self; 588 if (!context->swap_bitmaps) { 594 context->freed.objects += num_ptrs; 595 context->freed.bytes += space->FreeList(self, num_ptrs, ptrs);
|
/art/runtime/native/ |
H A D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 85 static void ThreadCountCallback(Thread*, void* context) { argument 86 uint16_t& count = *reinterpret_cast<uint16_t*>(context); 93 static void ThreadStatsGetterCallback(Thread* t, void* context) { argument 121 std::vector<uint8_t>& bytes = *reinterpret_cast<std::vector<uint8_t>*>(context);
|
/art/runtime/ |
H A D | runtime_linux.cc | 48 // Stores the context of the signal that was unexpected and will terminate the runtime. The 153 context(reinterpret_cast<ucontext_t*>(raw_context)->uc_mcontext) { 159 DumpRegister32(os, "eax", context->__ss.__eax); 160 DumpRegister32(os, "ebx", context->__ss.__ebx); 161 DumpRegister32(os, "ecx", context->__ss.__ecx); 162 DumpRegister32(os, "edx", context->__ss.__edx); 165 DumpRegister32(os, "edi", context->__ss.__edi); 166 DumpRegister32(os, "esi", context->__ss.__esi); 167 DumpRegister32(os, "ebp", context->__ss.__ebp); 168 DumpRegister32(os, "esp", context 290 mcontext_t& context; member in struct:art::UContext [all...] |
H A D | fault_handler.cc | 57 // our secondary signal handler gets called in a signal context. This results in 82 static void art_fault_handler(int sig, siginfo_t* info, void* context) { argument 83 fault_manager.HandleFault(sig, info, context); 87 static void art_nested_signal_handler(int sig, siginfo_t* info, void* context) { argument 88 fault_manager.HandleNestedSignal(sig, info, context); 149 bool FaultManager::HandleFaultByOtherHandlers(int sig, siginfo_t* info, void* context) { argument 215 if (handler->Action(sig, info, context)) { 246 void FaultManager::HandleFault(int sig, siginfo_t* info, void* context) { argument 252 if (IsInGeneratedCode(info, context, true)) { 256 if (handler->Action(sig, info, context)) { 310 IsInGeneratedCode(siginfo_t* siginfo, void* context, bool check_dex_pc) argument 418 Action(int sig ATTRIBUTE_UNUSED, siginfo_t* siginfo, void* context) argument [all...] |
H A D | instrumentation.cc | 21 #include "arch/context.h" 174 InstallStackVisitor(Thread* thread_in, Context* context, uintptr_t instrumentation_exit_pc) argument 175 : StackVisitor(thread_in, context, kInstrumentationStackWalk), 286 std::unique_ptr<Context> context(Context::Create()); 288 InstallStackVisitor visitor(thread, context.get(), instrumentation_exit_pc);
|
H A D | profiler.cc | 628 // We go backward on the trie to retrieve context and dex_pc until the dummy root. 629 // The format of the context is "method_1@pc_1@method_2@pc_2@..." 659 // We write out profile data with dex pc and context information in the following format: 787 // Handles the situtation when the profile file doesn't contain context information. 792 // Handles the situtation when the profile file contains context information. 795 std::string context = context_count[2]; local 796 (*context_map)[std::make_pair(dexpc, context)] = count;
|
H A D | stack.cc | 19 #include "arch/context.h" 94 StackVisitor::StackVisitor(Thread* thread, Context* context, StackWalkKind walk_kind) argument 95 : StackVisitor(thread, context, walk_kind, 0) {} 98 Context* context, 110 context_(context) { 241 DCHECK(context_ != nullptr); // You can't reliably read registers without a context. 378 DCHECK(context_ != nullptr); // You can't reliably read registers without a context. 97 StackVisitor(Thread* thread, Context* context, StackWalkKind walk_kind, size_t num_frames) argument
|
H A D | thread_list.cc | 1298 void ThreadList::ForEach(void (*callback)(Thread*, void*), void* context) { argument 1300 callback(thread, context);
|
H A D | dex_file.cc | 810 LineNumFromPcContext context(rel_pc, -1); 811 DecodeDebugPositionInfo(code_item, LineNumForPcCb, &context); 812 return context.line_num_; 849 DexDebugNewLocalCb local_cb, void* context) const { 915 local_cb(context, local_in_reg[reg]); 944 local_cb(context, local_in_reg[reg]); 967 local_cb(context, local_in_reg[reg]); 1000 void* context) const { 1058 if (position_cb(context, entry)) { 1070 LineNumFromPcContext* context local [all...] |
H A D | thread.h | 28 #include "arch/context.h" 376 void ReleaseLongJumpContext(Context* context) { argument 378 // Each QuickExceptionHandler gets a long jump context and uses 383 // ReleaseLongJumpContext tries to save the context in tlsPtr_.long_jump_context 385 // getting a context. Since we only keep one context for reuse, delete the 386 // existing one since the passed in context is yet to be used for longjump. 389 tlsPtr_.long_jump_context = context; 1430 // Thread local, lazily allocated, long jump context. Used to deliver exceptions.
|
H A D | thread.cc | 31 #include "arch/context.h" 199 // Whether the context was created from an explicit deoptimization in the code. 260 << "No deoptimization context for thread " << *this; 1354 StackDumpVisitor(std::ostream& os_in, Thread* thread_in, Context* context, bool can_allocate_in) 1356 : StackVisitor(thread_in, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames), 1417 static void DumpLockedObject(mirror::Object* o, void* context) 1419 std::ostream& os = *reinterpret_cast<std::ostream*>(context); 1504 std::unique_ptr<Context> context(Context::Create()); 1505 StackDumpVisitor dumper(os, const_cast<Thread*>(this), context.get(), 2602 // Save the exception into the deoptimization context s 2878 Context* context = GetLongJumpContext(); local [all...] |
H A D | debugger.cc | 23 #include "arch/context.h" 824 OwnedMonitorVisitor(Thread* thread, Context* context, 828 : StackVisitor(thread, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames), 864 std::unique_ptr<Context> context(Context::Create()); 865 OwnedMonitorVisitor visitor(thread, context.get(), monitors, stack_depths); 1566 static bool Callback(void* context, const DexFile::PositionInfo& entry) { argument 1567 DebugCallbackContext* pContext = reinterpret_cast<DebugCallbackContext*>(context); 1594 DebugCallbackContext context; local 1595 context.numItems = 0; 1596 context 1649 DebugCallbackContext context; local 3733 DebugCallbackContext* context = reinterpret_cast<DebugCallbackContext*>(raw_context); local [all...] |
/art/dexlist/ |
H A D | dexlist.cc | 83 static bool positionsCb(void* context, const DexFile::PositionInfo& entry) { argument 84 int* pFirstLine = reinterpret_cast<int *>(context);
|
/art/runtime/arch/x86/ |
H A D | fault_handler_x86.cc | 236 void FaultManager::HandleNestedSignal(int, siginfo_t*, void* context) { argument 246 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); 251 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, argument 254 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); 295 bool NullPointerHandler::Action(int, siginfo_t*, void* context) { argument 296 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 335 bool SuspensionHandler::Action(int, siginfo_t*, void* context) { argument 354 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 409 bool StackOverflowHandler::Action(int, siginfo_t* info, void* context) { argument 410 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); [all...] |
/art/sigchainlib/ |
H A D | sigchain.cc | 123 static void sigchainlib_managed_handler_sigaction(int sig, siginfo_t* info, void* context) { argument 124 InvokeUserSignalHandler(sig, info, context); 141 extern "C" void InvokeUserSignalHandler(int sig, siginfo_t* info, void* context) { argument 157 if (managed(sig, info, context)) { 176 action.sa_sigaction(sig, info, context); 222 // This will only occur outside of a signal context since we have 310 // Don't call this from within a signal context as it makes calls to
|
/art/compiler/optimizing/ |
H A D | induction_var_range.cc | 126 bool InductionVarRange::GetInductionRange(HInstruction* context, argument 131 HLoopInformation* loop = context->GetBlock()->GetLoopInformation(); // closest enveloping loop 153 bool in_body = context->GetBlock() != header; 190 bool InductionVarRange::CanGenerateCode(HInstruction* context, argument 194 return GenerateCode(context, 201 void InductionVarRange::GenerateRangeCode(HInstruction* context, argument 208 if (!GenerateCode(context, instruction, graph, block, lower, upper, nullptr, &b1, &b2)) { 213 void InductionVarRange::GenerateTakenTest(HInstruction* context, argument 218 if (!GenerateCode(context, context, grap 605 GenerateCode(HInstruction* context, HInstruction* instruction, HGraph* graph, HBasicBlock* block, HInstruction** lower, HInstruction** upper, HInstruction** taken_test, bool* needs_finite_test, bool* needs_taken_test) const argument [all...] |
H A D | bounds_check_elimination.cc | 1286 HInstruction* context, 1292 if (induction_range_.GetInductionRange(context, index, &v1, &v2, &needs_finite_test)) { 1285 InductionRangeFitsIn(ValueRange* array_range, HInstruction* context, HInstruction* index, bool* try_dynamic_bce) argument
|
/art/test/115-native-bridge/ |
H A D | nativebridge.cc | 189 void* context ATTRIBUTE_UNUSED) { 414 static bool nb_signalhandler(int sig, siginfo_t* info ATTRIBUTE_UNUSED, void* context) { argument 418 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 422 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 426 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 429 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 432 UNUSED(context);
|