Lines Matching refs:cls
70 mirror::CompressedReference<mirror::Class> cls; in SafeGetDeclaringClass() local
71 ssize_t rc = SafeCopy(&cls, method_declaring_class, sizeof(cls)); in SafeGetDeclaringClass()
76 CHECK_EQ(actual_class, cls.AsMirrorPtr()); in SafeGetDeclaringClass()
79 if (rc != sizeof(cls)) { in SafeGetDeclaringClass()
83 return cls.AsMirrorPtr(); in SafeGetDeclaringClass()
89 mirror::HeapReference<mirror::Class> cls; in SafeGetClass() local
90 ssize_t rc = SafeCopy(&cls, obj_cls, sizeof(cls)); in SafeGetClass()
95 CHECK_EQ(actual_class, cls.AsMirrorPtr()); in SafeGetClass()
98 if (rc != sizeof(cls)) { in SafeGetClass()
102 return cls.AsMirrorPtr(); in SafeGetClass()
105 static bool SafeVerifyClassClass(mirror::Class* cls) REQUIRES_SHARED(Locks::mutator_lock_) { in SafeVerifyClassClass() argument
106 mirror::Class* c_c = SafeGetClass(cls); in SafeVerifyClassClass()
110 CHECK_EQ(VerifyClassClass(cls), result); in SafeVerifyClassClass()
123 static bool SafeVerifyClassClass(mirror::Class* cls) REQUIRES_SHARED(Locks::mutator_lock_) { in SafeVerifyClassClass() argument
124 return VerifyClassClass(cls); in SafeVerifyClassClass()
347 mirror::Class* cls = SafeGetDeclaringClass(method_obj); in IsInGeneratedCode() local
348 if (cls == nullptr) { in IsInGeneratedCode()
353 if (!IsAligned<kObjectAlignment>(cls)) { in IsInGeneratedCode()
358 if (!SafeVerifyClassClass(cls)) { in IsInGeneratedCode()