Lines Matching refs:lots_of_objects

346   mirror::Object* lots_of_objects[1024];  in AllocAndFreeListTestBody()  local
347 for (size_t i = 0; i < arraysize(lots_of_objects); i++) { in AllocAndFreeListTestBody()
350 lots_of_objects[i] = Alloc(space, self, size_of_zero_length_byte_array, &allocation_size, in AllocAndFreeListTestBody()
352 EXPECT_TRUE(lots_of_objects[i] != nullptr); in AllocAndFreeListTestBody()
354 EXPECT_EQ(allocation_size, space->AllocationSize(lots_of_objects[i], &computed_usable_size)); in AllocAndFreeListTestBody()
359 space->FreeList(self, arraysize(lots_of_objects), lots_of_objects); in AllocAndFreeListTestBody()
362 for (size_t i = 0; i < arraysize(lots_of_objects); i++) { in AllocAndFreeListTestBody()
364 lots_of_objects[i] = AllocWithGrowth(space, self, 1024, &allocation_size, &usable_size); in AllocAndFreeListTestBody()
365 EXPECT_TRUE(lots_of_objects[i] != nullptr); in AllocAndFreeListTestBody()
367 EXPECT_EQ(allocation_size, space->AllocationSize(lots_of_objects[i], &computed_usable_size)); in AllocAndFreeListTestBody()
372 space->FreeList(self, arraysize(lots_of_objects), lots_of_objects); in AllocAndFreeListTestBody()
401 std::unique_ptr<mirror::Object*[]> lots_of_objects(new mirror::Object*[max_objects]); in SizeFootPrintGrowthLimitAndTrimBody()
433 lots_of_objects[i] = object.Get(); in SizeFootPrintGrowthLimitAndTrimBody()
485 mirror::Object* object = lots_of_objects.get()[i]; in SizeFootPrintGrowthLimitAndTrimBody()
496 lots_of_objects.get()[i] = nullptr; in SizeFootPrintGrowthLimitAndTrimBody()