/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); 58 void GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, ArtMethod** out_method, 61 bool IsInGeneratedCode(siginfo_t* siginfo, void *context, bool check_dex_pc) 66 bool HandleFaultByOtherHandlers(int sig, siginfo_t* info, void* context) 84 virtual bool Action(int sig, siginfo_t* siginfo, void* context) = 0; 97 bool Action(int sig, siginfo_t* siginfo, void* context) override; 115 bool Action(int sig, siginfo_t* siginfo, void* context) override; 125 bool Action(int sig, siginfo_t* siginfo, void* context) override; 135 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 297 GetMethodAndReturnPcAndSp(siginfo, context, &method_obj, &return_pc, &sp); 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)
|
/art/test/636-arm64-veneer-pool/src/ |
D | Main.java | 1274 public void configure(Context context, Class<?> cls, Binder binder) { in configure() argument 1282 C0.m(context, binder); in configure() 1285 C1.m(context, binder); in configure() 1288 C2.m(context, binder); in configure() 1291 C3.m(context, binder); in configure() 1294 C4.m(context, binder); in configure() 1297 C5.m(context, binder); in configure() 1300 C6.m(context, binder); in configure() 1301 C7.m(context, binder); in configure() 1302 C8.m(context, binder); in configure() [all …]
|
/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 | 82 public void handleAnnotation(AnnotationEntry annotation, AnnotationContext context) { in handleAnnotation() argument 84 if (context instanceof AnnotatedMemberContext) { in handleAnnotation() 85 AnnotatedMemberContext memberContext = (AnnotatedMemberContext) context; in handleAnnotation() 94 String signature = context.getMemberDescriptor(); in handleAnnotation() 104 context.reportError("Expected signature does not match generated:\n" in handleAnnotation() 112 context.reportError("Expected property %s to be of type int; got %d", in handleAnnotation() 122 if (context instanceof AnnotatedClassContext) { in handleAnnotation() 124 context.getClassDescriptor(), implicitMemberSignature); in handleAnnotation() 126 context.reportError( in handleAnnotation() 136 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 | 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
|
/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/mips64/ |
D | fault_handler_mips64.cc | 41 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, in GetMethodAndReturnPcAndSp() argument 44 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in GetMethodAndReturnPcAndSp() 73 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() argument 82 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 99 void* context ATTRIBUTE_UNUSED) { in Action() 116 bool StackOverflowHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() argument 117 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in Action()
|
/art/runtime/arch/mips/ |
D | fault_handler_mips.cc | 40 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, in GetMethodAndReturnPcAndSp() argument 43 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in GetMethodAndReturnPcAndSp() 72 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() argument 80 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 97 void* context ATTRIBUTE_UNUSED) { in Action() 114 bool StackOverflowHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() argument 115 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in Action()
|
/art/runtime/arch/arm64/ |
D | fault_handler_arm64.cc | 41 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo ATTRIBUTE_UNUSED, void* context, in GetMethodAndReturnPcAndSp() argument 44 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); in GetMethodAndReturnPcAndSp() 72 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() argument 80 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 102 void* context) { in Action() argument 109 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); in Action() 154 void* context) { in Action() argument 155 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); in Action()
|
/art/runtime/arch/arm/ |
D | fault_handler_arm.cc | 48 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo ATTRIBUTE_UNUSED, void* context, in GetMethodAndReturnPcAndSp() argument 51 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in GetMethodAndReturnPcAndSp() 91 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() argument 102 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 128 void* context) { in Action() argument 135 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in Action() 199 void* context) { in Action() argument 200 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in Action()
|
/art/tools/amm/AmmTest/src/com/android/amm/test/ |
D | ThreadedRendererUse.java | 31 public ThreadedRendererUse(Context context, int width, int height) { in ThreadedRendererUse() argument 32 mTextView = new TextView(context); in ThreadedRendererUse() 40 WindowManager wm = context.getSystemService(WindowManager.class); in ThreadedRendererUse()
|
D | TextureViewUse.java | 33 public TextureViewUse(Context context, ViewGroup vg, int width, int height) { in TextureViewUse() argument 34 mTextureView = new TextureView(context); in TextureViewUse()
|
/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() 84 std::unique_ptr<Context> context(Context::Create()); in Java_Main_doStaticNativeCallLiveVreg() local 85 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 | 112 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); in SweepCallback() local 113 DCHECK(context->space->IsZygoteSpace()); in SweepCallback() 114 ZygoteSpace* zygote_space = context->space->AsZygoteSpace(); in SweepCallback() 115 Locks::heap_bitmap_lock_->AssertExclusiveHeld(context->self); in SweepCallback() 119 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 283 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in GetMethodAndReturnPcAndSp() 324 bool NullPointerHandler::Action(int, siginfo_t* sig, void* context) { in Action() argument 328 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 369 bool SuspensionHandler::Action(int, siginfo_t*, void* context) { in Action() argument 384 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 439 bool StackOverflowHandler::Action(int, siginfo_t* info, void* context) { in Action() argument 440 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 45 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()
|