Home
last modified time | relevance | path

Searched refs:klass (Results 1 – 25 of 334) sorted by relevance

12345678910>>...14

/art/test/674-hiddenapi/src-ex/
DReflection.java25 public static boolean canDiscoverWithGetDeclaredField(Class<?> klass, String name) { in canDiscoverWithGetDeclaredField() argument
27 klass.getDeclaredField(name); in canDiscoverWithGetDeclaredField()
34 public static boolean canDiscoverWithGetDeclaredFields(Class<?> klass, String name) { in canDiscoverWithGetDeclaredFields() argument
35 for (Field f : klass.getDeclaredFields()) { in canDiscoverWithGetDeclaredFields()
43 public static boolean canDiscoverWithGetField(Class<?> klass, String name) { in canDiscoverWithGetField() argument
45 klass.getField(name); in canDiscoverWithGetField()
52 public static boolean canDiscoverWithGetFields(Class<?> klass, String name) { in canDiscoverWithGetFields() argument
53 for (Field f : klass.getFields()) { in canDiscoverWithGetFields()
61 public static boolean canGetField(Class<?> klass, String name) { in canGetField() argument
63 Field f = klass.getDeclaredField(name); in canGetField()
[all …]
DChildClass.java33 PrimitiveType(char shorty, Class klass, Object value) { in PrimitiveType() argument
35 mClass = klass; in PrimitiveType()
144 for (Class klass : new Class<?>[] { ParentClass.class, ParentInterface.class }) { in runTest()
146 checkField(klass, "field" + baseName, isStatic, visibility, expected, in runTest()
148 checkMethod(klass, "method" + baseName, isStatic, visibility, expected, in runTest()
183 private static void checkMemberCallback(Class<?> klass, String name, in checkMemberCallback() argument
191 klass.getField(name); in checkMemberCallback()
193 klass.getMethod(name); in checkMemberCallback()
197 klass.getDeclaredField(name); in checkMemberCallback()
199 klass.getDeclaredMethod(name); in checkMemberCallback()
[all …]
DJLI.java23 MethodHandles.Lookup lookup, Class<?> klass, String fieldName, Class<?> fieldType) { in canDiscoverWithLookupFindGetter() argument
25 return lookup.findGetter(klass, fieldName, fieldType) != null; in canDiscoverWithLookupFindGetter()
34 MethodHandles.Lookup lookup, Class<?> klass, String fieldName, Class<?> fieldType) { in canDiscoverWithLookupFindSetter() argument
36 return lookup.findSetter(klass, fieldName, fieldType) != null; in canDiscoverWithLookupFindSetter()
45 MethodHandles.Lookup lookup, Class<?> klass, String fieldName, Class<?> fieldType) { in canDiscoverWithLookupFindStaticGetter() argument
47 return lookup.findStaticGetter(klass, fieldName, fieldType) != null; in canDiscoverWithLookupFindStaticGetter()
56 MethodHandles.Lookup lookup, Class<?> klass, String fieldName, Class<?> fieldType) { in canDiscoverWithLookupFindStaticSetter() argument
58 return lookup.findStaticSetter(klass, fieldName, fieldType) != null; in canDiscoverWithLookupFindStaticSetter()
67 MethodHandles.Lookup lookup, Class<?> klass, MethodType methodType) { in canDiscoverWithLookupFindConstructor() argument
69 return lookup.findConstructor(klass, methodType) != null; in canDiscoverWithLookupFindConstructor()
[all …]
DJNI.java18 public static native boolean canDiscoverField(Class<?> klass, String name, boolean isStatic); in canDiscoverField() argument
19 public static native boolean canGetField(Class<?> klass, String name, boolean isStatic); in canGetField() argument
20 public static native boolean canSetField(Class<?> klass, String name, boolean isStatic); in canSetField() argument
22 public static native boolean canDiscoverMethod(Class<?> klass, String name, boolean isStatic); in canDiscoverMethod() argument
23 public static native boolean canInvokeMethodA(Class<?> klass, String name, boolean isStatic); in canInvokeMethodA() argument
24 public static native boolean canInvokeMethodV(Class<?> klass, String name, boolean isStatic); in canInvokeMethodV() argument
26 public static native boolean canDiscoverConstructor(Class<?> klass, String signature); in canDiscoverConstructor() argument
27 public static native boolean canInvokeConstructorA(Class<?> klass, String signature); in canInvokeConstructorA() argument
28 public static native boolean canInvokeConstructorV(Class<?> klass, String signature); in canInvokeConstructorV() argument
/art/runtime/
Dsubtype_check.h237 static SubtypeCheckInfo::State EnsureInitialized(ClassPtr klass) in EnsureInitialized()
240 return InitializeOrAssign(klass, /*assign=*/false).GetState(); in EnsureInitialized()
250 static SubtypeCheckInfo::State EnsureAssigned(ClassPtr klass) in EnsureAssigned()
253 return InitializeOrAssign(klass, /*assign=*/true).GetState(); in EnsureAssigned()
265 static SubtypeCheckInfo::State ForceUninitialize(ClassPtr klass) in ForceUninitialize()
282 WriteSubtypeCheckBits(klass, scb_uninitialized); in ForceUninitialize()
294 static SubtypeCheckInfo::State GetState(ClassPtr klass) in GetState()
297 return GetSubtypeCheckInfo(klass).GetState(); in GetState()
306 static BitString::StorageType GetEncodedPathToRootForSource(ClassPtr klass) in GetEncodedPathToRootForSource()
309 DCHECK_NE(SubtypeCheckInfo::kUninitialized, GetSubtypeCheckInfo(klass).GetState()); in GetEncodedPathToRootForSource()
[all …]
Daot_class_linker.cc47 Handle<mirror::Class> klass, in InitializeClass() argument
53 DCHECK(klass != nullptr); in InitializeClass()
54 if (klass->IsInitialized() || klass->IsInitializing()) { in InitializeClass()
55 return ClassLinker::InitializeClass(self, klass, can_init_statics, can_init_parents); in InitializeClass()
62 if (!strict_mode && runtime->GetHeap()->ObjectIsInBootImageSpace(klass->GetDexCache())) { in InitializeClass()
64 runtime->AbortTransactionAndThrowAbortError(self, "Can't initialize " + klass->PrettyTypeOf() in InitializeClass()
68 CHECK(klass->IsThrowableClass()) << klass->PrettyDescriptor(); in InitializeClass()
72 if (strict_mode && klass->IsBootStrapClassLoaded()) { in InitializeClass()
74 + klass->PrettyTypeOf() + " because it is an uninitialized boot class."); in InitializeClass()
80 if (strict_mode && !klass->IsInterface() && klass->HasSuperClass()) { in InitializeClass()
[all …]
Dclass_linker.cc253 static void EnsureSkipAccessChecksMethods(Handle<mirror::Class> klass, PointerSize pointer_size) in EnsureSkipAccessChecksMethods() argument
257 if (!klass->WasVerificationAttempted()) { in EnsureSkipAccessChecksMethods()
258 klass->SetSkipAccessChecksFlagOnAllMethods(pointer_size); in EnsureSkipAccessChecksMethods()
259 klass->SetVerificationAttempted(); in EnsureSkipAccessChecksMethods()
263 for (ArtMethod& m : klass->GetMethods(pointer_size)) { in EnsureSkipAccessChecksMethods()
293 void AddClass(Thread* self, ObjPtr<mirror::Class> klass) REQUIRES_SHARED(Locks::mutator_lock_) { in AddClass() argument
294 DCHECK_EQ(klass->GetStatus(), ClassStatus::kInitialized); in AddClass()
296 classes_[num_classes_] = self->GetJniEnv()->GetVm()->AddWeakGlobalRef(self, klass); in AddClass()
330 MutableHandle<mirror::Class> klass = hs.NewHandle<mirror::Class>(nullptr); in AdjustThreadVisibilityCounter() local
333 klass.Assign(ObjPtr<mirror::Class>::DownCast(self->DecodeJObject(classes_[i]))); in AdjustThreadVisibilityCounter()
[all …]
Ddebug_print.cc36 std::string DescribeSpace(ObjPtr<mirror::Class> klass) { in DescribeSpace() argument
40 heap->FindContinuousSpaceFromObject(klass, /* fail_ok= */ true); in DescribeSpace()
53 heap->FindDiscontinuousSpaceFromObject(klass, /* fail_ok= */ true); in DescribeSpace()
86 ObjPtr<mirror::Class> klass = in DescribeLoaders() local
88 if (klass != nullptr) { in DescribeLoaders()
90 oss << "[hit:" << DescribeSpace(klass) << "]"; in DescribeLoaders()
140 auto matcher = [target_descriptor, target_class](ObjPtr<mirror::Class> klass) in DumpB77342775DebugData()
142 if (klass->DescriptorEquals(target_descriptor)) { in DumpB77342775DebugData()
144 << DescribeLoaders(klass->GetClassLoader(), target_descriptor) in DumpB77342775DebugData()
145 << " match? " << std::boolalpha << (klass == target_class); in DumpB77342775DebugData()
[all …]
Dcha.cc82 void ClassHierarchyAnalysis::ResetSingleImplementationInHierarchy(ObjPtr<mirror::Class> klass, in ResetSingleImplementationInHierarchy() argument
87 DCHECK(klass != nullptr); in ResetSingleImplementationInHierarchy()
91 if (klass->IsInterface()) { in ResetSingleImplementationInHierarchy()
99 if (!alloc->ContainsUnsafe(klass->GetMethodsPtr())) { in ResetSingleImplementationInHierarchy()
104 if (!klass->IsResolved()) { in ResetSingleImplementationInHierarchy()
108 ObjPtr<mirror::Class> super = klass->GetSuperClass<kDefaultVerifyFlags, kWithoutReadBarrier>(); in ResetSingleImplementationInHierarchy()
121 klass->GetClassLoader<kDefaultVerifyFlags, kWithoutReadBarrier>(); in ResetSingleImplementationInHierarchy()
124 klass->GetVTableEntry<kDefaultVerifyFlags, kWithoutReadBarrier>(vtbl_index, pointer_size); in ResetSingleImplementationInHierarchy()
161 ObjPtr<mirror::IfTable> iftable = klass->GetIfTable<kDefaultVerifyFlags, kWithoutReadBarrier>(); in ResetSingleImplementationInHierarchy()
162 const size_t ifcount = klass->GetIfTableCount<kDefaultVerifyFlags>(); in ResetSingleImplementationInHierarchy()
[all …]
/art/test/989-method-trace-throw/
Dmethod_trace.cc40 jfloat JNICALL Java_art_Test989_returnFloatNative(JNIEnv* env, jclass klass) { in Java_art_Test989_returnFloatNative() argument
41 jmethodID targetMethod = env->GetStaticMethodID(klass, "doGetFloat", "()F"); in Java_art_Test989_returnFloatNative()
42 return env->CallStaticFloatMethod(klass, targetMethod); in Java_art_Test989_returnFloatNative()
45 jdouble JNICALL Java_art_Test989_returnDoubleNative(JNIEnv* env, jclass klass) { in Java_art_Test989_returnDoubleNative() argument
46 jmethodID targetMethod = env->GetStaticMethodID(klass, "doGetDouble", "()D"); in Java_art_Test989_returnDoubleNative()
47 return env->CallStaticDoubleMethod(klass, targetMethod); in Java_art_Test989_returnDoubleNative()
50 extern "C" JNIEXPORT jobject JNICALL Java_art_Test989_returnValueNative(JNIEnv* env, jclass klass) { in Java_art_Test989_returnValueNative() argument
51 jmethodID targetMethod = env->GetStaticMethodID(klass, "mkTestObject", "()Ljava/lang/Object;"); in Java_art_Test989_returnValueNative()
52 return env->CallStaticObjectMethod(klass, targetMethod); in Java_art_Test989_returnValueNative()
56 jclass klass ATTRIBUTE_UNUSED) { in Java_art_Test989_doNothingNative()
[all …]
/art/test/1936-thread-end-events/
Dmethod_trace.cc40 jfloat JNICALL Java_art_Test989_returnFloatNative(JNIEnv* env, jclass klass) { in Java_art_Test989_returnFloatNative() argument
41 jmethodID targetMethod = env->GetStaticMethodID(klass, "doGetFloat", "()F"); in Java_art_Test989_returnFloatNative()
42 return env->CallStaticFloatMethod(klass, targetMethod); in Java_art_Test989_returnFloatNative()
45 jdouble JNICALL Java_art_Test989_returnDoubleNative(JNIEnv* env, jclass klass) { in Java_art_Test989_returnDoubleNative() argument
46 jmethodID targetMethod = env->GetStaticMethodID(klass, "doGetDouble", "()D"); in Java_art_Test989_returnDoubleNative()
47 return env->CallStaticDoubleMethod(klass, targetMethod); in Java_art_Test989_returnDoubleNative()
50 extern "C" JNIEXPORT jobject JNICALL Java_art_Test989_returnValueNative(JNIEnv* env, jclass klass) { in Java_art_Test989_returnValueNative() argument
51 jmethodID targetMethod = env->GetStaticMethodID(klass, "mkTestObject", "()Ljava/lang/Object;"); in Java_art_Test989_returnValueNative()
52 return env->CallStaticObjectMethod(klass, targetMethod); in Java_art_Test989_returnValueNative()
56 jclass klass ATTRIBUTE_UNUSED) { in Java_art_Test989_doNothingNative()
[all …]
/art/runtime/mirror/
Dobject-refvisitor-inl.h37 ObjPtr<Class> klass = GetClass<kVerifyFlags, kReadBarrierOption>(); in VisitReferences() local
38 const uint32_t class_flags = klass->GetClassFlags<kVerifyNone>(); in VisitReferences()
40 DCHECK((!klass->IsVariableSize<kVerifyFlags>())); in VisitReferences()
41 VisitInstanceFieldsReferences<kVerifyFlags, kReadBarrierOption>(klass, visitor); in VisitReferences()
42 DCHECK((!klass->IsClassClass<kVerifyFlags>())); in VisitReferences()
43 DCHECK(!klass->IsStringClass<kVerifyFlags>()); in VisitReferences()
44 DCHECK(!klass->IsClassLoaderClass<kVerifyFlags>()); in VisitReferences()
45 DCHECK((!klass->IsArrayClass<kVerifyFlags>())); in VisitReferences()
48 DCHECK(!klass->IsStringClass<kVerifyFlags>()); in VisitReferences()
50 DCHECK((klass->IsClassClass<kVerifyFlags>())); in VisitReferences()
[all …]
/art/test/2038-hiddenapi-jvmti-ext/src/
DMain.java33 Class<?> klass = Class.forName("art.Test2038", true, BOOT_CLASS_LOADER); in main() local
34 assertFieldIsHidden(klass, "before set-policy"); in main()
35 assertMethodIsHidden(klass, "before set-policy"); in main()
40 assertFieldNotHidden(klass, "after disable-policy"); in main()
41 assertMethodNotHidden(klass, "after disable-policy"); in main()
45 assertFieldIsHidden(klass, "after set-policy 2"); in main()
46 assertMethodIsHidden(klass, "after set-policy 2"); in main()
49 private static void assertMethodNotHidden(Class<?> klass, String msg) { in assertMethodNotHidden() argument
51 klass.getDeclaredMethod("foo"); in assertMethodNotHidden()
58 private static void assertFieldNotHidden(Class<?> klass, String msg) { in assertFieldNotHidden() argument
[all …]
/art/test/674-hiddenapi/
Dhiddenapi.cc56 JNIEnv* env, jclass klass, jstring jpath, jboolean is_core_platform) { in Java_Main_appendToBootClassLoader() argument
78 Java_Main_setDexDomain(env, klass, int_index, is_core_platform); in Java_Main_appendToBootClassLoader()
96 static jobject NewInstance(JNIEnv* env, jclass klass) { in NewInstance() argument
97 jmethodID constructor = env->GetMethodID(klass, "<init>", "()V"); in NewInstance()
101 return env->NewObject(klass, constructor); in NewInstance()
105 JNIEnv* env, jclass, jclass klass, jstring name, jboolean is_static) { in Java_JNI_canDiscoverField() argument
107 jfieldID field = is_static ? env->GetStaticFieldID(klass, utf_name.c_str(), "I") in Java_JNI_canDiscoverField()
108 : env->GetFieldID(klass, utf_name.c_str(), "I"); in Java_JNI_canDiscoverField()
118 JNIEnv* env, jclass, jclass klass, jstring name, jboolean is_static) { in Java_JNI_canGetField() argument
120 jfieldID field = is_static ? env->GetStaticFieldID(klass, utf_name.c_str(), "I") in Java_JNI_canGetField()
[all …]
/art/test/999-redefine-hiddenapi/src/
DMain.java33 Class<?> klass = Class.forName("art.Test999", true, BOOT_CLASS_LOADER); in main() local
34 assertFieldIsHidden(klass, "before redefinition"); in main()
35 assertMethodIsHidden(klass, "before redefinition"); in main()
39 art.Redefinition.doCommonClassRedefinition(klass, CLASS_BYTES, DEX_BYTES); in main()
42 assertFieldIsHidden(klass, "after first redefinition"); in main()
43 assertMethodIsHidden(klass, "after first redefinition"); in main()
46 private static void assertMethodIsHidden(Class<?> klass, String msg) { in assertMethodIsHidden() argument
48 klass.getDeclaredMethod("foo"); in assertMethodIsHidden()
55 private static void assertFieldIsHidden(Class<?> klass, String msg) { in assertFieldIsHidden() argument
57 klass.getDeclaredField("bar"); in assertFieldIsHidden()
/art/openjdkjvmti/
Dti_class.h48 jclass klass,
53 jclass klass,
58 jclass klass,
62 static jvmtiError GetClassModifiers(jvmtiEnv* env, jclass klass, jint* modifiers_ptr);
65 jclass klass,
69 static jvmtiError GetClassStatus(jvmtiEnv* env, jclass klass, jint* status_ptr);
71 static jvmtiError GetClassLoader(jvmtiEnv* env, jclass klass, jobject* classloader_ptr);
83 static jvmtiError IsInterface(jvmtiEnv* env, jclass klass, jboolean* is_interface_ptr);
84 static jvmtiError IsArrayClass(jvmtiEnv* env, jclass klass, jboolean* is_array_class_ptr);
87 jclass klass,
[all …]
Dti_field.h45 jclass klass,
52 jclass klass,
57 jclass klass,
62 jclass klass,
66 static jvmtiError SetFieldModificationWatch(jvmtiEnv* env, jclass klass, jfieldID field)
68 static jvmtiError ClearFieldModificationWatch(jvmtiEnv* env, jclass klass, jfieldID field)
70 static jvmtiError SetFieldAccessWatch(jvmtiEnv* env, jclass klass, jfieldID field)
72 static jvmtiError ClearFieldAccessWatch(jvmtiEnv* env, jclass klass, jfieldID field)
/art/runtime/entrypoints/quick/
Dquick_alloc_entrypoints.cc39 mirror::Class* klass, in artAllocObjectFromCode() argument
42 DCHECK(klass != nullptr); in artAllocObjectFromCode()
50 size_t byte_count = klass->GetObjectSizeAllocFastPath(); in artAllocObjectFromCode()
56 obj->SetClass(klass); in artAllocObjectFromCode()
65 return AllocObjectFromCodeInitialized<kInstrumented>(klass, self, allocator_type).Ptr(); in artAllocObjectFromCode()
67 return AllocObjectFromCodeResolved<kInstrumented>(klass, self, allocator_type).Ptr(); in artAllocObjectFromCode()
69 return AllocObjectFromCode<kInstrumented>(klass, self, allocator_type).Ptr(); in artAllocObjectFromCode()
75 mirror::Class* klass, Thread* self) \
77 return artAllocObjectFromCode<false, true, instrumented_bool, allocator_type>(klass, self); \
80 mirror::Class* klass, Thread* self) \
[all …]
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h119 inline ObjPtr<mirror::Class> CheckClassInitializedForObjectAlloc(ObjPtr<mirror::Class> klass, in CheckClassInitializedForObjectAlloc() argument
124 if (UNLIKELY(!klass->IsVisiblyInitialized())) { in CheckClassInitializedForObjectAlloc()
126 Handle<mirror::Class> h_class(hs.NewHandle(klass)); in CheckClassInitializedForObjectAlloc()
144 return klass; in CheckClassInitializedForObjectAlloc()
147 ALWAYS_INLINE inline ObjPtr<mirror::Class> CheckObjectAlloc(ObjPtr<mirror::Class> klass, in CheckObjectAlloc() argument
152 if (UNLIKELY(!klass->IsInstantiable())) { in CheckObjectAlloc()
153 self->ThrowNewException("Ljava/lang/InstantiationError;", klass->PrettyDescriptor().c_str()); in CheckObjectAlloc()
157 if (UNLIKELY(klass->IsClassClass())) { in CheckObjectAlloc()
159 klass->PrettyDescriptor().c_str()); in CheckObjectAlloc()
163 return CheckClassInitializedForObjectAlloc(klass, self, slow_path); in CheckObjectAlloc()
[all …]
/art/compiler/optimizing/
Dreference_type_propagation.h51 static bool IsAdmissible(ObjPtr<mirror::Class> klass) REQUIRES_SHARED(Locks::mutator_lock_) { in IsAdmissible() argument
52 while (klass != nullptr && klass->IsArrayClass()) { in IsAdmissible()
53 DCHECK(klass->IsResolved()); in IsAdmissible()
54 klass = klass->GetComponentType(); in IsAdmissible()
56 return klass != nullptr && klass->IsResolved(); in IsAdmissible()
/art/runtime/native/
Djava_lang_Class.cc225 ObjPtr<mirror::Class> klass = mirror::Class::GetPrimitiveClass(soa.Decode<mirror::String>(name)); in Class_getPrimitiveClass() local
226 return soa.AddLocalReference<jclass>(klass); in Class_getPrimitiveClass()
239 Handle<mirror::Class> klass = hs.NewHandle(DecodeClass(soa, javaThis)); in Class_getInterfacesInternal() local
240 if (klass->IsObsoleteObject()) { in Class_getInterfacesInternal()
245 if (klass->IsProxyClass()) { in Class_getInterfacesInternal()
248 hs2.NewHandle(klass->GetProxyInterfaces()); in Class_getInterfacesInternal()
253 const dex::TypeList* iface_list = klass->GetInterfaceTypeList(); in Class_getInterfacesInternal()
275 ObjPtr<mirror::Class> interface = linker->LookupResolvedType(type_idx, klass.Get()); in Class_getInterfacesInternal()
285 ObjPtr<mirror::Class> klass, in GetDeclaredFields() argument
288 if (UNLIKELY(klass->IsObsoleteObject())) { in GetDeclaredFields()
[all …]
/art/test/690-hiddenapi-same-name-methods/src/
DMain.java49 Class<?> klass = Class.forName(className, true, BOOT_CLASS_LOADER); in main() local
50 checkMethodList(klass, /* expectedLength= */ 2); in main()
51 checkMethod(klass); in main()
55 private static void checkMethodList(Class<?> klass, int expectedLength) { in checkMethodList() argument
56 String className = klass.getName(); in checkMethodList()
57 Method[] methods = klass.getDeclaredMethods(); in checkMethodList()
83 private static void checkMethod(Class<?> klass) throws NoSuchMethodException { in checkMethod() argument
84 String className = klass.getName(); in checkMethod()
85 Method method = klass.getDeclaredMethod(METHOD_NAME); in checkMethod()
/art/test/986-native-method-bind/
Dnative_bind.cc37 ScopedLocalRef<jclass> klass(env, env->FindClass("art/Test986")); in doUpPrintCall() local
38 jmethodID targetMethod = env->GetStaticMethodID(klass.get(), function, "()V"); in doUpPrintCall()
39 env->CallStaticVoidMethod(klass.get(), targetMethod); in doUpPrintCall()
43 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED) { in Java_art_Test986_00024Transform_sayHi__()
48 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED) { in Java_art_Test986_00024Transform_sayHi2()
52 extern "C" JNIEXPORT void JNICALL NoReallySayGoodbye(JNIEnv* env, jclass klass ATTRIBUTE_UNUSED) { in NoReallySayGoodbye()
71 ScopedLocalRef<jclass> klass(env, env->FindClass("art/Test986")); in doJvmtiMethodBind() local
73 klass.get(), in doJvmtiMethodBind()
81 env->CallStaticObjectMethod(klass.get(), in doJvmtiMethodBind()
98 JNIEnv* env ATTRIBUTE_UNUSED, jclass klass ATTRIBUTE_UNUSED) { in Java_art_Test986_setupNativeBindNotify()
[all …]
/art/test/172-app-image-twice/
Ddebug_print_class.cc27 ObjPtr<mirror::Class> klass = soa.Decode<mirror::Class>(cls); in Java_Main_debugPrintClass() local
28 LOG(ERROR) << "klass: " << klass.Ptr() << " dex_file: " << klass->GetDexFile().GetLocation() in Java_Main_debugPrintClass()
29 << "/" << static_cast<const void*>(&klass->GetDexFile()) in Java_Main_debugPrintClass()
30 << " " << DescribeSpace(klass); in Java_Main_debugPrintClass()
/art/runtime/verifier/
Dreg_type_cache.cc165 ObjPtr<mirror::Class> klass = nullptr; in ResolveClass() local
167 klass = class_linker_->FindClass(self, descriptor, class_loader); in ResolveClass()
169 klass = class_linker_->LookupClass(self, descriptor, loader); in ResolveClass()
170 if (klass != nullptr && !klass->IsResolved()) { in ResolveClass()
172 klass = nullptr; in ResolveClass()
175 return klass; in ResolveClass()
197 ObjPtr<mirror::Class> klass = ResolveClass(descriptor, loader); in From() local
198 if (klass != nullptr) { in From()
203 DCHECK(!precise || klass->IsInstantiable()); in From()
209 if (klass->CannotBeAssignedFromOtherTypes() || precise) { in From()
[all …]

12345678910>>...14