Home
last modified time | relevance | path

Searched refs:IsValidClass (Results 1 – 3 of 3) sorted by relevance

/art/runtime/gc/
Dheap_verification_test.cc66 TEST_F(VerificationTest, IsValidClass) { in TEST_F() argument
72 EXPECT_FALSE(v->IsValidClass(reinterpret_cast<const void*>(1))); in TEST_F()
73 EXPECT_FALSE(v->IsValidClass(reinterpret_cast<const void*>(4))); in TEST_F()
74 EXPECT_FALSE(v->IsValidClass(nullptr)); in TEST_F()
75 EXPECT_FALSE(v->IsValidClass(string.Get())); in TEST_F()
76 EXPECT_TRUE(v->IsValidClass(string->GetClass())); in TEST_F()
78 EXPECT_FALSE(v->IsValidClass(reinterpret_cast<const void*>(uint_klass - kObjectAlignment))); in TEST_F()
79 EXPECT_FALSE(v->IsValidClass(reinterpret_cast<const void*>(&uint_klass))); in TEST_F()
Dverification.cc35 if (IsValidClass(klass)) { in DumpObjectInfo()
92 if (IsValidClass(holder_klass)) { in LogHeapCorruption()
122 bool Verification::IsValidClass(const void* addr) const { in IsValidClass() function in art::gc::Verification
Dverification.h54 bool IsValidClass(const void* klass) const REQUIRES_SHARED(Locks::mutator_lock_);