Lines Matching refs:obj
63 mirror::Object* obj = los->Alloc(self, request_size, &allocation_size, nullptr, in LargeObjectTest() local
65 ASSERT_TRUE(obj != nullptr); in LargeObjectTest()
66 ASSERT_EQ(allocation_size, los->AllocationSize(obj, nullptr)); in LargeObjectTest()
71 memset(obj, magic, request_size); in LargeObjectTest()
72 requests.push_back(std::make_pair(obj, request_size)); in LargeObjectTest()
85 mirror::Object* obj = pair.first; in LargeObjectTest() local
86 ASSERT_FALSE(los->IsZygoteLargeObject(self, obj)); in LargeObjectTest()
90 mirror::Object* obj = pair.first; in LargeObjectTest() local
91 ASSERT_TRUE(los->IsZygoteLargeObject(self, obj)); in LargeObjectTest()
98 mirror::Object* obj = requests.back().first; in LargeObjectTest() local
103 ASSERT_EQ(reinterpret_cast<const uint8_t*>(obj)[k], magic); in LargeObjectTest()
105 ASSERT_GE(los->Free(Thread::Current(), obj), request_size); in LargeObjectTest()
115 mirror::Object* obj = los->Alloc(self, 100 * MB, &bytes_allocated, nullptr, in LargeObjectTest() local
117 EXPECT_TRUE(obj != nullptr); in LargeObjectTest()
118 los->Free(Thread::Current(), obj); in LargeObjectTest()