/art/runtime/ |
D | runtime_common.cc | 135 : context(reinterpret_cast<ucontext_t*>(raw_context)->uc_mcontext) {} in UContext() 147 mcontext_t& context; member 152 DumpRegister32(os, "eax", context->__ss.__eax); in Dump() 153 DumpRegister32(os, "ebx", context->__ss.__ebx); in Dump() 154 DumpRegister32(os, "ecx", context->__ss.__ecx); in Dump() 155 DumpRegister32(os, "edx", context->__ss.__edx); in Dump() 158 DumpRegister32(os, "edi", context->__ss.__edi); in Dump() 159 DumpRegister32(os, "esi", context->__ss.__esi); in Dump() 160 DumpRegister32(os, "ebp", context->__ss.__ebp); in Dump() 161 DumpRegister32(os, "esp", context->__ss.__esp); in Dump() [all …]
|
D | class_loader_context_test.cc | 45 void VerifyContextSize(ClassLoaderContext* context, size_t expected_size) { in VerifyContextSize() argument 46 ASSERT_TRUE(context != nullptr); in VerifyContextSize() 47 ASSERT_EQ(expected_size, context->GetParentChainSize()); in VerifyContextSize() 50 void VerifyClassLoaderPCL(ClassLoaderContext* context, in VerifyClassLoaderPCL() argument 54 context, index, ClassLoaderContext::kPathClassLoader, classpath); in VerifyClassLoaderPCL() 57 void VerifyClassLoaderDLC(ClassLoaderContext* context, in VerifyClassLoaderDLC() argument 61 context, index, ClassLoaderContext::kDelegateLastClassLoader, classpath); in VerifyClassLoaderDLC() 64 void VerifyClassLoaderIMC(ClassLoaderContext* context, in VerifyClassLoaderIMC() argument 68 context, index, ClassLoaderContext::kInMemoryDexClassLoader, classpath); in VerifyClassLoaderIMC() 71 void VerifyClassLoaderSharedLibraryPCL(ClassLoaderContext* context, in VerifyClassLoaderSharedLibraryPCL() argument [all …]
|
D | fault_handler.h | 48 bool HandleFault(int sig, siginfo_t* info, void* context); 59 void* context, 65 bool IsInGeneratedCode(siginfo_t* siginfo, void *context, bool check_dex_pc) 70 bool HandleFaultByOtherHandlers(int sig, siginfo_t* info, void* context) 88 virtual bool Action(int sig, siginfo_t* siginfo, void* context) = 0; 101 bool Action(int sig, siginfo_t* siginfo, void* context) override; 119 bool Action(int sig, siginfo_t* siginfo, void* context) override; 129 bool Action(int sig, siginfo_t* siginfo, void* context) override; 139 bool Action(int sig, siginfo_t* siginfo, void* context) override NO_THREAD_SAFETY_ANALYSIS;
|
D | fault_handler.cc | 47 static bool art_fault_handler(int sig, siginfo_t* info, void* context) { in art_fault_handler() argument 48 return fault_manager.HandleFault(sig, info, context); in art_fault_handler() 170 bool FaultManager::HandleFaultByOtherHandlers(int sig, siginfo_t* info, void* context) { in HandleFaultByOtherHandlers() argument 181 if (handler->Action(sig, info, context)) { in HandleFaultByOtherHandlers() 209 bool FaultManager::HandleFault(int sig, siginfo_t* info, void* context) { in HandleFault() argument 219 if (IsInGeneratedCode(info, context, true)) { in HandleFault() 223 if (handler->Action(sig, info, context)) { in HandleFault() 234 if (HandleFaultByOtherHandlers(sig, info, context)) { in HandleFault() 268 bool FaultManager::IsInGeneratedCode(siginfo_t* siginfo, void* context, bool check_dex_pc) { in IsInGeneratedCode() argument 298 GetMethodAndReturnPcAndSp(siginfo, context, &method_obj, &return_pc, &sp, &is_stack_overflow); in IsInGeneratedCode() [all …]
|
D | monitor_objects_stack_visitor.h | 40 Context* context, 45 context, in REQUIRES_SHARED() 79 static void VisitLockedObject(ObjPtr<mirror::Object> o, void* context)
|
D | oat_file.cc | 1058 } context; in PreLoad() 1060 dl_iterate_phdr(dl_iterate_context::callback, &context); in PreLoad() 1061 shared_objects_before_ = context.count; in PreLoad() 1143 auto* context = reinterpret_cast<dl_iterate_context*>(data); in Dlopen() 1148 uint8_t* reservation_begin = context->reservation->Begin(); in Dlopen() 1156 if (offset < context->reservation->Size()) { in Dlopen() 1158 DCHECK_LE(memsz, context->reservation->Size() - offset); in Dlopen() 1174 DCHECK_LT(offset, context->reservation->Size()); in Dlopen() 1175 DCHECK_LE(memsz, context->reservation->Size() - offset); in Dlopen() 1176 context->max_size = std::max(context->max_size, offset + memsz); in Dlopen() [all …]
|
D | monitor_objects_stack_visitor.cc | 90 void MonitorObjectsStackVisitor::VisitLockedObject(ObjPtr<mirror::Object> o, void* context) { in VisitLockedObject() argument 91 MonitorObjectsStackVisitor* self = reinterpret_cast<MonitorObjectsStackVisitor*>(context); in VisitLockedObject()
|
/art/tools/class2greylist/src/com/android/class2greylist/ |
D | CovariantReturnTypeHandler.java | 45 public void handleAnnotation(AnnotationEntry annotation, AnnotationContext context) { in handleAnnotation() argument 46 if (context instanceof AnnotatedClassContext) { in handleAnnotation() 49 handleAnnotation(annotation, (AnnotatedMemberContext) context); in handleAnnotation() 52 private void handleAnnotation(AnnotationEntry annotation, AnnotatedMemberContext context) { in handleAnnotation() argument 58 if (!(context.member instanceof Method)) { in handleAnnotation() 59 context.reportError("Cannot specify %s on a field", RETURN_TYPE); in handleAnnotation() 64 context.reportError("No %s set on @%s", RETURN_TYPE, SHORT_NAME); in handleAnnotation() 67 if (!mPublicApis.contains(context.getMemberDescriptor())) { in handleAnnotation() 68 context.reportError("Found @%s on non-SDK method", SHORT_NAME); in handleAnnotation() 74 String typeSignature = context.member.getSignature(); in handleAnnotation() [all …]
|
D | UnsupportedAppUsageAnnotationHandler.java | 87 public void handleAnnotation(AnnotationEntry annotation, AnnotationContext context) { in handleAnnotation() argument 89 if (context instanceof AnnotatedMemberContext) { in handleAnnotation() 90 AnnotatedMemberContext memberContext = (AnnotatedMemberContext) context; in handleAnnotation() 99 String signature = context.getMemberDescriptor(); in handleAnnotation() 110 context.reportError("Expected signature does not match generated:\n" in handleAnnotation() 118 context.reportError("Expected property %s to be of type int; got %d", in handleAnnotation() 128 if (context instanceof AnnotatedClassContext) { in handleAnnotation() 130 context.getClassDescriptor(), implicitMemberSignature); in handleAnnotation() 132 context.reportError( in handleAnnotation() 146 if (context instanceof AnnotatedClassContext && implicitMemberSignature == null) { in handleAnnotation() [all …]
|
D | AnnotationVisitor.java | 58 AnnotationContext context = new AnnotatedClassContext(mStatus, mClass, "L%s;"); in visit() local 60 handleAnnotations(context, annotationEntries); in visit() 77 AnnotationContext context = new AnnotatedMemberContext(mStatus, in visitMember() local 81 handleAnnotations(context, annotationEntries); in visitMember() 84 private void handleAnnotations(AnnotationContext context, AnnotationEntry[] annotationEntries) { in handleAnnotations() argument 89 mAnnotationHandlers.get(a.getAnnotationType()).handleAnnotation(a, context); in handleAnnotations()
|
D | SignatureSyntaxError.java | 22 public final String context; field in SignatureSyntaxError 27 this.context = sc.getOriginalString(); in SignatureSyntaxError()
|
D | JavadocLinkSyntaxError.java | 22 public final String context; field in JavadocLinkSyntaxError 28 this.context = sc.getOriginalString(); in JavadocLinkSyntaxError()
|
D | RepeatedAnnotationHandler.java | 28 public void handleAnnotation(AnnotationEntry annotation, AnnotationContext context) { in handleAnnotation() argument 32 context.reportError("No value found on %s", annotation.getAnnotationType()); in handleAnnotation() 44 mWrappedHandler.handleAnnotation(aev.getAnnotationEntry(), context); in handleAnnotation() local
|
D | MemberDumpingVisitor.java | 43 AnnotationContext context = new AnnotatedMemberContext(mStatus, in visitMember() local 46 System.out.println(context.getMemberDescriptor()); in visitMember()
|
/art/test/167-visit-locks/ |
D | visit_locks.cc | 42 VisitLocks(Thread* thread, Context* context) in Java_Main_testVisitLocks() argument 43 : StackVisitor(thread, context, StackWalkKind::kIncludeInlinedFrames) { in Java_Main_testVisitLocks() 69 Context* context = Context::Create(); in Java_Main_testVisitLocks() local 70 VisitLocks vl(soa.Self(), context); in Java_Main_testVisitLocks() 72 delete context; in Java_Main_testVisitLocks()
|
/art/runtime/arch/arm64/ |
D | fault_handler_arm64.cc | 42 void* context, in GetMethodAndReturnPcAndSp() argument 47 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); in GetMethodAndReturnPcAndSp() 77 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() argument 85 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 107 void* context) { in Action() argument 114 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); in Action() 159 void* context) { in Action() argument 160 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); in Action()
|
/art/runtime/arch/arm/ |
D | fault_handler_arm.cc | 49 void* context, in GetMethodAndReturnPcAndSp() argument 54 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in GetMethodAndReturnPcAndSp() 96 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() argument 107 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 133 void* context) { in Action() argument 140 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in Action() 204 void* context) { in Action() argument 205 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in Action()
|
/art/test/004-SignalTest/ |
D | signaltest.cc | 63 void* context) { in signalhandler() argument 80 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in signalhandler() 84 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in signalhandler() 88 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in signalhandler() 91 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in signalhandler() 94 UNUSED(context); in signalhandler()
|
/art/test/466-get-live-vreg/ |
D | get_live_vreg_jni.cc | 32 TestVisitor(Thread* thread, Context* context) REQUIRES_SHARED(Locks::mutator_lock_) in TestVisitor() argument 33 : StackVisitor(thread, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames) {} in TestVisitor() 82 std::unique_ptr<Context> context(Context::Create()); in Java_Main_doStaticNativeCallLiveVreg() local 83 TestVisitor visitor(soa.Self(), context.get()); in Java_Main_doStaticNativeCallLiveVreg()
|
/art/test/457-regs/ |
D | regs_jni.cc | 31 TestVisitor(Thread* thread, Context* context) in TestVisitor() argument 33 : StackVisitor(thread, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames) {} in TestVisitor() 132 std::unique_ptr<Context> context(Context::Create()); in Java_PhiLiveness_regsNativeCall() local 133 TestVisitor visitor(soa.Self(), context.get()); in Java_PhiLiveness_regsNativeCall() 141 std::unique_ptr<Context> context(Context::Create()); in Java_PhiLiveness_regsNativeCallWithParameters() local 146 TestVisitor visitor(soa.Self(), context.get()); in Java_PhiLiveness_regsNativeCallWithParameters()
|
/art/runtime/gc/space/ |
D | zygote_space.cc | 120 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); in SweepCallback() local 121 DCHECK(context->space->IsZygoteSpace()); in SweepCallback() 122 ZygoteSpace* zygote_space = context->space->AsZygoteSpace(); in SweepCallback() 123 Locks::heap_bitmap_lock_->AssertExclusiveHeld(context->self); in SweepCallback() 127 if (!context->swap_bitmaps) { in SweepCallback()
|
/art/runtime/arch/x86/ |
D | fault_handler_x86.cc | 280 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, in GetMethodAndReturnPcAndSp() argument 285 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in GetMethodAndReturnPcAndSp() 328 bool NullPointerHandler::Action(int, siginfo_t* sig, void* context) { in Action() argument 332 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 373 bool SuspensionHandler::Action(int, siginfo_t*, void* context) { in Action() argument 388 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 443 bool StackOverflowHandler::Action(int, siginfo_t* info, void* context) { in Action() argument 444 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action()
|
/art/compiler/optimizing/ |
D | induction_var_range.h | 67 bool GetInductionRange(HInstruction* context, 80 bool CanGenerateRange(HInstruction* context, 100 void GenerateRange(HInstruction* context, 113 HInstruction* GenerateTakenTest(HInstruction* context, HGraph* graph, HBasicBlock* block); 180 bool IsUnitStride(HInstruction* context, 219 bool HasInductionInfo(HInstruction* context, 289 bool GenerateRangeOrLastValue(HInstruction* context,
|
/art/test/543-env-long-ref/ |
D | env_long_ref.cc | 28 std::unique_ptr<Context> context(Context::Create()); in Java_Main_lookForMyRegisters() local 50 context.get(), in Java_Main_lookForMyRegisters()
|
/art/test/454-get-vreg/ |
D | get_vreg_jni.cc | 31 TestVisitor(Thread* thread, Context* context, mirror::Object* this_value) in TestVisitor() argument 33 : StackVisitor(thread, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames), in TestVisitor() 125 std::unique_ptr<Context> context(Context::Create()); in Java_Main_doNativeCall() local 126 TestVisitor visitor(soa.Self(), context.get(), soa.Decode<mirror::Object>(value).Ptr()); in Java_Main_doNativeCall()
|