Lines Matching refs:allocation_size
224 size_t allocation_size = 0;
225 mirror::Object* obj = los->Alloc(Thread::Current(), request_size, &allocation_size);
227 ASSERT_EQ(allocation_size, los->AllocationSize(obj));
228 ASSERT_GE(allocation_size, request_size);
279 size_t allocation_size = 0;
280 lots_of_objects[i] = space->Alloc(self, 16, &allocation_size);
281 EXPECT_EQ(allocation_size, space->AllocationSize(lots_of_objects[i]));
293 size_t allocation_size = 0;
294 lots_of_objects[i] = space->AllocWithGrowth(self, 1024, &allocation_size);
295 EXPECT_EQ(allocation_size, space->AllocationSize(lots_of_objects[i]));
363 size_t allocation_size = space->AllocationSize(object);
364 EXPECT_EQ(bytes_allocated, allocation_size);
366 EXPECT_GE(allocation_size, static_cast<size_t>(object_size));
368 EXPECT_GE(allocation_size, 8u);
370 amount_allocated += allocation_size;
415 size_t allocation_size = space->AllocationSize(object);
417 EXPECT_GE(allocation_size, static_cast<size_t>(object_size));
419 EXPECT_GE(allocation_size, 8u);
423 amount_allocated -= allocation_size;