Home
last modified time | relevance | path

Searched refs:AllocationSize (Results 1 – 16 of 16) sorted by relevance

/aosp12/art/runtime/gc/space/
H A Dspace_create_test.cc141 size_t free3 = space->AllocationSize(ptr3.Get(), nullptr); in TEST_P()
161 size_t free1 = space->AllocationSize(ptr1.Get(), nullptr); in TEST_P()
218 free1 = space->AllocationSize(ptr1.Get(), nullptr); in TEST_P()
275 size_t free3 = space->AllocationSize(ptr3.Get(), nullptr); in TEST_P()
295 size_t free1 = space->AllocationSize(ptr1.Get(), nullptr); in TEST_P()
322 EXPECT_EQ(allocation_size, space->AllocationSize(lots_of_objects[i], &computed_usable_size)); in TEST_P()
342 EXPECT_EQ(allocation_size, space->AllocationSize(lots_of_objects[i], &computed_usable_size)); in TEST_P()
H A Dmemory_tool_malloc_space-inl.h200 kUseObjSizeForUsable>::AllocationSize( in AllocationSize() function
202 size_t result = S::AllocationSize( in AllocationSize()
230 size_t allocation_size = AllocationSize(ptr, &usable_size); in Free()
H A Dlarge_object_space.cc72 size_t AllocationSize(mirror::Object* obj, size_t* usable_size) override { in AllocationSize() function in art::gc::space::MemoryToolLargeObjectMapSpace
73 return LargeObjectMapSpace::AllocationSize(ObjectWithRedzone(obj), usable_size); in AllocationSize()
82 MEMORY_TOOL_MAKE_UNDEFINED(object_with_rdz, AllocationSize(obj, nullptr)); in Free()
208 size_t LargeObjectMapSpace::AllocationSize(mirror::Object* obj, size_t* usable_size) { in AllocationSize() function in art::gc::space::LargeObjectMapSpace
489 size_t FreeListSpace::AllocationSize(mirror::Object* obj, size_t* usable_size) { in AllocationSize() function in art::gc::space::FreeListSpace
H A Dlarge_object_space.h157 size_t AllocationSize(mirror::Object* obj, size_t* usable_size) override REQUIRES(!lock_);
192 size_t AllocationSize(mirror::Object* obj, size_t* usable_size) override
H A Dmemory_tool_malloc_space.h43 size_t AllocationSize(mirror::Object* obj, size_t* usable_size) override;
H A Dzygote_space.h54 size_t AllocationSize(mirror::Object* obj, size_t* usable_size) override;
H A Dzygote_space.cc99 size_t ZygoteSpace::AllocationSize(mirror::Object*, size_t*) { in AllocationSize() function in art::gc::space::ZygoteSpace
H A Dspace_test.h206 size_t allocation_size = space->AllocationSize(object.Get(), nullptr); in SizeFootPrintGrowthLimitAndTrimBody()
263 size_t allocation_size = space->AllocationSize(object, nullptr); in SizeFootPrintGrowthLimitAndTrimBody()
H A Ddlmalloc_space.h71 size_t AllocationSize(mirror::Object* obj, size_t* usable_size) override { in AllocationSize() function
H A Dmalloc_space.h56 size_t AllocationSize(mirror::Object* obj, size_t* usable_size) override = 0;
H A Dbump_pointer_space.h66 size_t AllocationSize(mirror::Object* obj, size_t* usable_size) override in AllocationSize() function
H A Dlarge_object_space_test.cc66 ASSERT_EQ(allocation_size, los->AllocationSize(obj, nullptr)); in LargeObjectTest()
H A Drosalloc_space.h70 size_t AllocationSize(mirror::Object* obj, size_t* usable_size) override { in AllocationSize() function
H A Dspace.h226 virtual size_t AllocationSize(mirror::Object* obj, size_t* usable_size) = 0;
H A Dregion_space.h98 size_t AllocationSize(mirror::Object* obj, size_t* usable_size) override in AllocationSize() function
/aosp12/frameworks/native/libs/gralloc/types/tests/
H A DGralloc4_test.cpp197 TEST_P(Gralloc4TestUint64, AllocationSize) { in TEST_P() argument