Searched refs:IsValidHeapObjectAddress (Results 1 – 3 of 3) sorted by relevance
48 TEST_F(VerificationTest, IsValidHeapObjectAddress) { in TEST_F() argument51 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()
56 if (IsValidHeapObjectAddress(addr)) { in DumpObjectInfo()132 bool Verification::IsValidHeapObjectAddress(const void* addr, space::Space** out_space) const { in IsValidHeapObjectAddress() function in art::gc::Verification137 if (!IsValidHeapObjectAddress(addr)) { in IsValidClass()142 if (!IsValidHeapObjectAddress(k1)) { in IsValidClass()149 if (!IsValidHeapObjectAddress(k2)) { in IsValidClass()
56 bool IsValidHeapObjectAddress(const void* addr, space::Space** out_space = nullptr) const