Lines Matching refs:cls
67 mirror::CompressedReference<mirror::Class> cls; in SafeGetDeclaringClass() local
68 ssize_t rc = SafeCopy(&cls, method_declaring_class, sizeof(cls)); in SafeGetDeclaringClass()
73 CHECK_EQ(actual_class, cls.AsMirrorPtr()); in SafeGetDeclaringClass()
76 if (rc != sizeof(cls)) { in SafeGetDeclaringClass()
80 return cls.AsMirrorPtr(); in SafeGetDeclaringClass()
86 mirror::HeapReference<mirror::Class> cls; in SafeGetClass() local
87 ssize_t rc = SafeCopy(&cls, obj_cls, sizeof(cls)); in SafeGetClass()
92 CHECK_EQ(actual_class, cls.AsMirrorPtr()); in SafeGetClass()
95 if (rc != sizeof(cls)) { in SafeGetClass()
99 return cls.AsMirrorPtr(); in SafeGetClass()
102 static bool SafeVerifyClassClass(mirror::Class* cls) REQUIRES_SHARED(Locks::mutator_lock_) { in SafeVerifyClassClass() argument
103 mirror::Class* c_c = SafeGetClass(cls); in SafeVerifyClassClass()
107 CHECK_EQ(VerifyClassClass(cls), result); in SafeVerifyClassClass()
120 static bool SafeVerifyClassClass(mirror::Class* cls) REQUIRES_SHARED(Locks::mutator_lock_) { in SafeVerifyClassClass() argument
121 return VerifyClassClass(cls); in SafeVerifyClassClass()
314 mirror::Class* cls = SafeGetDeclaringClass(method_obj); in IsInGeneratedCode() local
315 if (cls == nullptr) { in IsInGeneratedCode()
320 if (!IsAligned<kObjectAlignment>(cls)) { in IsInGeneratedCode()
325 if (!SafeVerifyClassClass(cls)) { in IsInGeneratedCode()