Home
last modified time | relevance | path

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

/art/runtime/gc/
Dheap_verification_test.cc48 TEST_F(VerificationTest, IsValidHeapObjectAddress) { in TEST_F() argument
51 EXPECT_FALSE(v->IsValidHeapObjectAddress(reinterpret_cast<const void*>(1))); in TEST_F()
52 EXPECT_FALSE(v->IsValidHeapObjectAddress(reinterpret_cast<const void*>(4))); in TEST_F()
53 EXPECT_FALSE(v->IsValidHeapObjectAddress(nullptr)); in TEST_F()
57 EXPECT_TRUE(v->IsValidHeapObjectAddress(string.Get())); in TEST_F()
62 EXPECT_FALSE(v->IsValidHeapObjectAddress(unaligned_address)); in TEST_F()
63 EXPECT_TRUE(v->IsValidHeapObjectAddress(string->GetClass())); in TEST_F()
67 EXPECT_TRUE(v->IsValidHeapObjectAddress( in TEST_F()
69 EXPECT_FALSE(v->IsValidHeapObjectAddress( in TEST_F()
Dverification.cc56 if (IsValidHeapObjectAddress(addr)) { in DumpObjectInfo()
132 bool Verification::IsValidHeapObjectAddress(const void* addr, space::Space** out_space) const { in IsValidHeapObjectAddress() function in art::gc::Verification
137 if (!IsValidHeapObjectAddress(addr)) { in IsValidClass()
142 if (!IsValidHeapObjectAddress(k1)) { in IsValidClass()
149 if (!IsValidHeapObjectAddress(k2)) { in IsValidClass()
Dverification.h56 bool IsValidHeapObjectAddress(const void* addr, space::Space** out_space = nullptr) const