• Home
  • Raw
  • Download

Lines Matching refs:v

50   const Verification* const v = Runtime::Current()->GetHeap()->GetVerification();  in TEST_F()  local
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()
61 EXPECT_TRUE(v->IsAddressInHeapSpace(unaligned_address)); 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()
78 const Verification* const v = Runtime::Current()->GetHeap()->GetVerification(); in TEST_F() local
79 EXPECT_FALSE(v->IsValidClass(reinterpret_cast<const void*>(1))); in TEST_F()
80 EXPECT_FALSE(v->IsValidClass(reinterpret_cast<const void*>(4))); in TEST_F()
81 EXPECT_FALSE(v->IsValidClass(nullptr)); in TEST_F()
82 EXPECT_TRUE(v->IsValidClass(string->GetClass())); in TEST_F()
83 EXPECT_FALSE(v->IsValidClass(string.Get())); in TEST_F()
97 const Verification* const v = Runtime::Current()->GetHeap()->GetVerification(); in TEST_F() local
99 EXPECT_FALSE(v->IsValidClass(reinterpret_cast<const void*>(uint_klass - kObjectAlignment))); in TEST_F()
100 EXPECT_FALSE(v->IsValidClass(reinterpret_cast<const void*>(&uint_klass))); in TEST_F()
108 const Verification* const v = runtime->GetHeap()->GetVerification(); in TEST_F() local
109 LOG(INFO) << v->DumpObjectInfo(reinterpret_cast<const void*>(1), "obj"); in TEST_F()
110 LOG(INFO) << v->DumpObjectInfo(reinterpret_cast<const void*>(4), "obj"); in TEST_F()
111 LOG(INFO) << v->DumpObjectInfo(nullptr, "obj"); in TEST_F()
130 const Verification* const v = runtime->GetHeap()->GetVerification(); in TEST_F() local
131 LOG(INFO) << v->DumpObjectInfo(string.Get(), "test"); in TEST_F()
132 LOG(INFO) << v->DumpObjectInfo(string->GetClass(), "obj"); in TEST_F()
134 LOG(INFO) << v->DumpObjectInfo(reinterpret_cast<const void*>(uint_klass - kObjectAlignment), in TEST_F()
136 LOG(INFO) << v->DumpObjectInfo(reinterpret_cast<const void*>(&uint_klass), "obj"); in TEST_F()
137 LOG(INFO) << v->DumpObjectInfo(arr.Get(), "arr"); in TEST_F()
157 const Verification* const v = runtime->GetHeap()->GetVerification(); in TEST_F() local
160 v->LogHeapCorruption(arr.Get(), ObjArray::DataOffset(kHeapReferenceSize), string.Get(), false); in TEST_F()
161 v->LogHeapCorruption(string.Get(), mirror::Object::ClassOffset(), string->GetClass(), false); in TEST_F()
163 v->LogHeapCorruption(nullptr, MemberOffset(0), string.Get(), false); in TEST_F()
164 v->LogHeapCorruption(nullptr, MemberOffset(0), arr.Get(), false); in TEST_F()
176 const Verification* const v = runtime->GetHeap()->GetVerification(); in TEST_F() local
177 std::string path = v->FirstPathFromRootSet(str); in TEST_F()