/art/test/976-conflict-no-methods/smali/ |
D | Main.smali | 21 .method public constructor <init>()V 25 .end method 27 .method public static main([Ljava/lang/String;)V 33 .end method 35 .method public abstractMethod0()V 38 .end method 40 .method public abstractMethod1()V 43 .end method 45 .method public abstractMethod2()V 48 .end method [all …]
|
D | Iface.smali | 88 .method public abstract abstractMethod0()V 89 .end method 91 .method public abstract abstractMethod1()V 92 .end method 94 .method public abstract abstractMethod2()V 95 .end method 97 .method public abstract abstractMethod3()V 98 .end method 100 .method public abstract abstractMethod4()V 101 .end method [all …]
|
/art/test/972-default-imt-collision/smali/ |
D | Iface2.smali | 87 .method public abstract notImplementedMethod0()V 88 .end method 90 .method public abstract notImplementedMethod1()V 91 .end method 93 .method public abstract notImplementedMethod2()V 94 .end method 96 .method public abstract notImplementedMethod3()V 97 .end method 99 .method public abstract notImplementedMethod4()V 100 .end method [all …]
|
/art/runtime/mirror/ |
D | abstract_method.cc | 25 bool AbstractMethod::CreateFromArtMethod(ArtMethod* method) { in CreateFromArtMethod() argument 26 auto* interface_method = method->GetInterfaceMethodIfProxy( in CreateFromArtMethod() 30 SetArtMethod<kTransactionActive>(method); in CreateFromArtMethod() 31 SetFieldObject<kTransactionActive>(DeclaringClassOffset(), method->GetDeclaringClass()); in CreateFromArtMethod() 34 SetField32<kTransactionActive>(AccessFlagsOffset(), method->GetAccessFlags()); in CreateFromArtMethod() 35 SetField32<kTransactionActive>(DexMethodIndexOffset(), method->GetDexMethodIndex()); in CreateFromArtMethod() 39 template bool AbstractMethod::CreateFromArtMethod<false>(ArtMethod* method); 40 template bool AbstractMethod::CreateFromArtMethod<true>(ArtMethod* method); 47 void AbstractMethod::SetArtMethod(ArtMethod* method) { in SetArtMethod() argument 48 SetField64<kTransactionActive>(ArtMethodOffset(), reinterpret_cast<uint64_t>(method)); in SetArtMethod() [all …]
|
D | method.cc | 55 Method* Method::CreateFromArtMethod(Thread* self, ArtMethod* method) { in CreateFromArtMethod() argument 56 DCHECK(!method->IsConstructor()) << PrettyMethod(method); in CreateFromArtMethod() 59 static_cast<AbstractMethod*>(ret)->CreateFromArtMethod<kTransactionActive>(method); in CreateFromArtMethod() 64 template Method* Method::CreateFromArtMethod<false>(Thread* self, ArtMethod* method); 65 template Method* Method::CreateFromArtMethod<true>(Thread* self, ArtMethod* method); 100 Constructor* Constructor::CreateFromArtMethod(Thread* self, ArtMethod* method) { in CreateFromArtMethod() argument 101 DCHECK(method->IsConstructor()) << PrettyMethod(method); in CreateFromArtMethod() 104 static_cast<AbstractMethod*>(ret)->CreateFromArtMethod<kTransactionActive>(method); in CreateFromArtMethod() 109 template Constructor* Constructor::CreateFromArtMethod<false>(Thread* self, ArtMethod* method); 110 template Constructor* Constructor::CreateFromArtMethod<true>(Thread* self, ArtMethod* method);
|
/art/runtime/native/ |
D | java_lang_reflect_Method.cc | 34 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in Method_getAnnotationNative() local 35 if (method->GetDeclaringClass()->IsProxyClass()) { in Method_getAnnotationNative() 41 method->GetDexFile()->GetAnnotationForMethod(method, klass)); in Method_getAnnotationNative() 46 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in Method_getDefaultValue() local 47 if (!method->GetDeclaringClass()->IsAnnotation()) { in Method_getDefaultValue() 50 return soa.AddLocalReference<jobject>(method->GetDexFile()->GetAnnotationDefaultValue(method)); in Method_getDefaultValue() 55 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in Method_getExceptionTypes() local 56 if (method->GetDeclaringClass()->IsProxyClass()) { in Method_getExceptionTypes() 57 mirror::Class* klass = method->GetDeclaringClass(); in Method_getExceptionTypes() 61 if (&m == method) { in Method_getExceptionTypes() [all …]
|
D | java_lang_reflect_AbstractMethod.cc | 32 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in AbstractMethod_getDeclaredAnnotations() local 33 if (method->GetDeclaringClass()->IsProxyClass()) { in AbstractMethod_getDeclaredAnnotations() 41 return soa.AddLocalReference<jobjectArray>(method->GetDexFile()->GetAnnotationsForMethod(method)); in AbstractMethod_getDeclaredAnnotations() 46 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in AbstractMethod_getSignatureAnnotation() local 47 if (method->GetDeclaringClass()->IsProxyClass()) { in AbstractMethod_getSignatureAnnotation() 52 method->GetDexFile()->GetSignatureAnnotationForMethod(method)); in AbstractMethod_getSignatureAnnotation() 59 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in AbstractMethod_isAnnotationPresentNative() local 60 if (method->GetDeclaringClass()->IsProxyClass()) { in AbstractMethod_isAnnotationPresentNative() 65 return method->GetDexFile()->IsMethodAnnotationPresent(method, klass); in AbstractMethod_isAnnotationPresentNative()
|
D | java_lang_reflect_Constructor.cc | 36 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in Constructor_getAnnotationNative() local 37 if (method->IsProxyMethod()) { in Constructor_getAnnotationNative() 42 method->GetDexFile()->GetAnnotationForMethod(method, klass)); in Constructor_getAnnotationNative() 48 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in Constructor_getDeclaredAnnotations() local 49 if (method->IsProxyMethod()) { in Constructor_getDeclaredAnnotations() 61 method->GetDexFile()->GetAnnotationsForMethod(method)); in Constructor_getDeclaredAnnotations() 67 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod) in Constructor_getExceptionTypes() local 70 method->GetDexFile()->GetExceptionTypesForMethod(method); in Constructor_getExceptionTypes() 89 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in Constructor_getParameterAnnotationsNative() local 90 if (method->IsProxyMethod()) { in Constructor_getParameterAnnotationsNative() [all …]
|
/art/test/800-smali/smali/ |
D | b_27799205_helper.smali | 7 .method public static run1()V 12 .end method 14 .method public static run2()V 19 .end method 21 .method public static run3()V 26 .end method 28 .method public static run4()V 33 .end method 35 .method public static run5()V 40 .end method [all …]
|
D | b_21869691B.smali | 9 .method protected constructor <init>()V 13 .end method 15 # Have an implementation for the interface method. 16 .method public a()V 19 .end method 22 .method public callB()V 26 .end method 29 .method public callB(LB21869691C;)V 33 .end method
|
D | b_26143249.smali | 7 .method public constructor <init>()V 11 .end method 13 .method public run()V 17 .end method 19 .method public abstract abs()V 20 .end method
|
/art/runtime/ |
D | reflection_test.cc | 84 void ReflectionTestMakeExecutable(ArtMethod** method, in ReflectionTestMakeExecutable() argument 110 *method = is_static ? c->FindDirectMethod(method_name, method_signature, sizeof(void*)) in ReflectionTestMakeExecutable() 112 CHECK(method != nullptr); in ReflectionTestMakeExecutable() 133 ArtMethod* method; in InvokeNopMethod() local 135 ReflectionTestMakeExecutable(&method, &receiver, is_static, "nop", "()V"); in InvokeNopMethod() 137 InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), nullptr); in InvokeNopMethod() 142 ArtMethod* method; in InvokeIdentityByteMethod() local 144 ReflectionTestMakeExecutable(&method, &receiver, is_static, "identity", "(B)B"); in InvokeIdentityByteMethod() 149 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args); in InvokeIdentityByteMethod() 153 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args); in InvokeIdentityByteMethod() [all …]
|
D | instrumentation.cc | 97 for (ArtMethod& method : klass->GetMethods(sizeof(void*))) { in InstallStubsForClass() 98 InstallStubsForMethod(&method); in InstallStubsForClass() 103 static void UpdateEntrypoints(ArtMethod* method, const void* quick_code) in UpdateEntrypoints() argument 105 method->SetEntryPointFromQuickCompiledCode(quick_code); in UpdateEntrypoints() 108 bool Instrumentation::NeedDebugVersionForBootImageCode(ArtMethod* method, const void* code) const in NeedDebugVersionForBootImageCode() argument 112 !method->IsNative() && in NeedDebugVersionForBootImageCode() 113 !method->IsProxyMethod(); in NeedDebugVersionForBootImageCode() 116 void Instrumentation::InstallStubsForMethod(ArtMethod* method) { in InstallStubsForMethod() argument 117 if (!method->IsInvokable() || method->IsProxyMethod()) { in InstallStubsForMethod() 122 if (method->IsConstructor() && in InstallStubsForMethod() [all …]
|
D | instrumentation.h | 65 ArtMethod* method, 70 ArtMethod* method, uint32_t dex_pc, 77 ArtMethod* method, uint32_t dex_pc) 82 ArtMethod* method, uint32_t new_dex_pc) 86 virtual void FieldRead(Thread* thread, mirror::Object* this_object, ArtMethod* method, 90 virtual void FieldWritten(Thread* thread, mirror::Object* this_object, ArtMethod* method, 99 ArtMethod* method, 183 void Deoptimize(ArtMethod* method) 189 void Undeoptimize(ArtMethod* method) 193 bool IsDeoptimized(ArtMethod* method) [all …]
|
/art/test/432-optimizing-cmp/smali/ |
D | cmp.smali | 5 .method public static $opt$CmpLong(JJ)I 9 .end method 11 .method public static $opt$CmpGtFloat(FF)I 15 .end method 17 .method public static $opt$CmpLtFloat(FF)I 21 .end method 23 .method public static $opt$CmpGtDouble(DD)I 27 .end method 29 .method public static $opt$CmpLtDouble(DD)I 33 .end method
|
/art/test/412-new-array/smali/ |
D | fill_array_data.smali | 5 .method public static intArray([I)V 16 .end method 18 .method public static shortArray([S)V 29 .end method 31 .method public static charArray([C)V 42 .end method 44 .method public static byteArray([B)V 55 .end method 57 .method public static booleanArray([Z)V 68 .end method [all …]
|
D | filled_new_array.smali | 5 .method public static newInt(III)[I 10 .end method 12 .method public static newRef(Ljava/lang/Object;Ljava/lang/Object;)[Ljava/lang/Object; 17 .end method 19 .method public static newArray([I[I)[[I 24 .end method 26 .method public static newIntRange(III)[I 31 .end method 33 .method public static newRefRange(Ljava/lang/Object;Ljava/lang/Object;)[Ljava/lang/Object; 38 .end method [all …]
|
/art/tools/dmtracedump/ |
D | tracedump.cc | 142 struct MethodEntry* method; member 198 MethodEntry* method; member 296 void initMethodEntry(MethodEntry* method, int64_t methodId, const char* className, in initMethodEntry() argument 299 method->methodId = methodId; in initMethodEntry() 300 method->className = className; in initMethodEntry() 301 method->methodName = methodName; in initMethodEntry() 302 method->signature = signature; in initMethodEntry() 303 method->fileName = fileName; in initMethodEntry() 304 method->lineNum = (lineNumStr != nullptr) ? atoi(lineNumStr) : -1; in initMethodEntry() 305 method->elapsedExclusive = 0; in initMethodEntry() [all …]
|
/art/compiler/optimizing/ |
D | intrinsics.cc | 124 static Intrinsics GetIntrinsic(InlineMethod method) { in GetIntrinsic() argument 125 switch (method.opcode) { in GetIntrinsic() 128 return ((method.d.data & kIntrinsicFlagToFloatingPoint) == 0) ? in GetIntrinsic() 131 return ((method.d.data & kIntrinsicFlagToFloatingPoint) == 0) ? in GetIntrinsic() 150 switch (GetType(method.d.data, true)) { in GetIntrinsic() 156 LOG(FATAL) << "Unknown/unsupported op size " << method.d.data; in GetIntrinsic() 160 switch (GetType(method.d.data, true)) { in GetIntrinsic() 168 LOG(FATAL) << "Unknown/unsupported op size " << method.d.data; in GetIntrinsic() 172 switch (GetType(method.d.data, true)) { in GetIntrinsic() 178 LOG(FATAL) << "Unknown/unsupported op size " << method.d.data; in GetIntrinsic() [all …]
|
/art/test/004-JniTest/ |
D | expected.txt | 31 Calling method ConcreteClass->JniCallNonOverridenDefaultMethod on object of type ConcreteClass 33 Calling method ConcreteClass->JniCallOverridenDefaultMethod on object of type ConcreteClass 35 Calling method ConcreteClass->JniCallOverridenDefaultMethodWithSuper on object of type ConcreteClass 38 Calling method ConcreteClass->JniCallOverridenAbstractMethod on object of type ConcreteClass 40 Calling method ConcreteClass->JniCallConflictDefaultMethod on object of type ConcreteClass 41 EXCEPTION OCCURED: java.lang.IncompatibleClassChangeError: Conflicting default method implementatio… 42 Calling method ConcreteClass->JniCallSoftConflictMethod on object of type ConcreteClass 44 Calling method DefaultInterface->JniCallNonOverridenDefaultMethod on object of type ConcreteClass 46 Calling method DefaultInterface->JniCallOverridenDefaultMethod on object of type ConcreteClass 48 Calling method DefaultInterface->JniCallOverridenAbstractMethod on object of type ConcreteClass [all …]
|
/art/runtime/interpreter/ |
D | interpreter.cc | 35 static void InterpreterJni(Thread* self, ArtMethod* method, const StringPiece& shorty, in InterpreterJni() argument 41 if (method->IsStatic()) { in InterpreterJni() 44 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() 46 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 55 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() 57 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 62 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() 64 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 69 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() 71 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() [all …]
|
/art/test/457-regs/smali/ |
D | PhiLiveness.smali | 19 .method public static mergeOk(ZB)V 29 .end method 31 .method public static mergeNotOk(ZF)V 41 .end method 43 .method public static mergeReferences(LMain;)V 53 .end method 55 .method public static phiEquivalent()F 65 .end method 67 .method public static phiAllEquivalents(LMain;)V 77 .end method [all …]
|
/art/test/955-lambda-smali/smali/ |
D | MoveResult.smali | 19 .method public constructor <init>()V 23 .end method 25 .method public static run()V 38 .end method 41 .method public static testZ()V 61 .end method 64 .method public static lambdaZ(J)Z 70 .end method 73 .method public static testB()V 93 .end method [all …]
|
/art/runtime/jit/ |
D | jit_code_cache.cc | 168 bool JitCodeCache::ContainsMethod(ArtMethod* method) { in ContainsMethod() argument 171 if (it.second == method) { in ContainsMethod() 197 ArtMethod* method, in CommitCode() argument 206 method, in CommitCode() 218 method, in CommitCode() 244 void JitCodeCache::FreeCode(const void* code_ptr, ArtMethod* method ATTRIBUTE_UNUSED) { in FreeCode() 308 ArtMethod* method, in CommitCodeInternal() argument 353 method_code_map_.Put(code_ptr, method); in CommitCodeInternal() 356 osr_code_map_.Put(method, code_ptr); in CommitCodeInternal() 359 method, method_header->GetEntryPoint()); in CommitCodeInternal() [all …]
|
/art/test/044-proxy/src/ |
D | WrappedThrow.java | 188 public Object invoke(Object proxy, Method method, Object[] args) in invoke() argument 195 if (method.getDeclaringClass() == java.lang.Object.class) { in invoke() 197 if (method.getName().equals("toString")) in invoke() 199 else if (method.getName().equals("hashCode")) in invoke() 201 else if (method.getName().equals("equals")) in invoke() 207 System.out.println("Invoke " + method); in invoke() 216 if (method.getName().equals("throwFunky")) in invoke() 218 if (method.getName().equals("throwFunky2")) in invoke() 220 if (method.getName().equals("throwException")) in invoke() 222 if (method.getName().equals("throwBase")) in invoke() [all …]
|