Home
last modified time | relevance | path

Searched defs:usable_size (Results 1 – 25 of 36) sorted by relevance

12

/aosp_15_r20/art/runtime/gc/space/
H A Dmemory_tool_malloc_space-inl.h36 size_t usable_size, in AdjustForMemoryTool()
99 size_t usable_size; in AllocWithGrowth() local
135 size_t usable_size; in Alloc() local
171 size_t usable_size; in AllocThreadUnsafe() local
201 mirror::Object* obj, size_t* usable_size) { in AllocationSize()
229 size_t usable_size; in Free() local
H A Drosalloc_space.h60 size_t* usable_size, size_t* bytes_tl_bulk_allocated) override { in Alloc()
65 size_t* usable_size, size_t* bytes_tl_bulk_allocated) in AllocThreadUnsafe()
70 size_t AllocationSize(mirror::Object* obj, size_t* usable_size) override { in AllocationSize()
79 size_t* usable_size, size_t* bytes_tl_bulk_allocated) { in AllocNonvirtual()
85 size_t* bytes_allocated, size_t* usable_size, in AllocNonvirtualThreadUnsafe()
H A Dregion_space-inl.h32 /* out */ size_t* usable_size, in Alloc()
42 /* out */ size_t* usable_size, in AllocThreadUnsafe()
51 /* out */ size_t* usable_size, in AllocNonvirtual()
99 /* out */ size_t* usable_size, in Alloc()
313 /* out */ size_t* usable_size, in AllocLarge()
383 /* out */ size_t* usable_size, in AllocLargeInRange()
H A Ddlmalloc_space-inl.h30 size_t* usable_size, in AllocNonvirtual()
45 inline size_t DlMallocSpace::AllocationSizeNonvirtual(mirror::Object* obj, size_t* usable_size) { in AllocationSizeNonvirtual()
57 size_t* usable_size, in AllocWithoutGrowthLocked()
H A Dlarge_object_space.cc55 size_t* usable_size, size_t* bytes_tl_bulk_allocated) in Alloc()
72 size_t AllocationSize(mirror::Object* obj, size_t* usable_size) override { in AllocationSize()
139 size_t* bytes_allocated, size_t* usable_size, in Alloc()
213 size_t LargeObjectMapSpace::AllocationSize(mirror::Object* obj, size_t* usable_size) { in AllocationSize()
524 size_t FreeListSpace::AllocationSize(mirror::Object* obj, size_t* usable_size) { in AllocationSize()
536 size_t* usable_size, size_t* bytes_tl_bulk_allocated) { in Alloc()
H A Dbump_pointer_space-inl.h30 size_t* usable_size, in Alloc()
46 size_t* usable_size, in AllocThreadUnsafe()
H A Ddlmalloc_space.h65 size_t* usable_size, in Alloc()
71 size_t AllocationSize(mirror::Object* obj, size_t* usable_size) override { in AllocationSize()
H A Dspace_test.h71 size_t* usable_size, in Alloc()
91 size_t* usable_size, in AllocWithGrowth()
H A Dspace_create_test.cc312 size_t allocation_size, usable_size, bytes_tl_bulk_allocated; in TEST_P() local
333 size_t allocation_size, usable_size, bytes_tl_bulk_allocated; in TEST_P() local
H A Drosalloc_space.cc203 size_t* bytes_allocated, size_t* usable_size, in AllocWithGrowth()
449 size_t RosAllocSpace::AllocationSizeNonvirtual(mirror::Object* obj, size_t* usable_size) { in AllocationSizeNonvirtual()
H A Drosalloc_space-inl.h33 size_t* bytes_allocated, size_t* usable_size, in AllocCommon()
H A Dbump_pointer_space.h68 size_t AllocationSize(mirror::Object* obj, size_t* usable_size) override in AllocationSize()
H A Dbump_pointer_space.cc251 size_t BumpPointerSpace::AllocationSizeNonvirtual(mirror::Object* obj, size_t* usable_size) { in AllocationSizeNonvirtual()
H A Dspace.h219 size_t* usable_size, in AllocThreadUnsafe()
/aosp_15_r20/external/rust/android-crates-io/crates/tikv-jemallocator/src/
Dlib.rs203 fn usable_size(&self, layout: &Layout) -> (usize, usize) { in usable_size() method
219 let usable_size = ffi::xallocx(ptr.cast().as_ptr(), new_size, 0, flags); in grow_in_place() localVariable
242 let usable_size = ffi::xallocx(ptr.cast().as_ptr(), new_size, 0, flags); in shrink_in_place() localVariable
285 pub unsafe fn usable_size<T>(ptr: *const T) -> usize { in usable_size() function
/aosp_15_r20/external/cronet/base/allocator/partition_allocator/src/partition_alloc/
H A Dpartition_root.h1251 size_t* usable_size, in AllocFromBucket()
1755 size_t usable_size = AdjustSizeForExtrasSubtract(slot_size); in RawFreeWithThreadCache() local
1768 size_t usable_size = GetSlotUsableSize(slot_span); in RawFreeWithThreadCache() local
1963 size_t usable_size = root->GetSlotUsableSize(slot_span); in GetUsableSizeWithMac11MallocSizeHack() local
2143 size_t usable_size; in AllocInternalNoHooks() local
2311 size_t* usable_size, in RawAlloc()
H A Dlightweight_quarantine.h176 size_t usable_size; in PA_COMPONENT_EXPORT() member
H A Dlightweight_quarantine.cc39 const auto usable_size = root_.allocator_root_.GetSlotUsableSize(slot_span); in Quarantine() local
/aosp_15_r20/art/runtime/gc/
H A Dheap-inl.h82 size_t usable_size; in AllocObjectWithAllocator() local
307 size_t* usable_size, in TryToAllocate()
/aosp_15_r20/bionic/libc/malloc_debug/
H A Dmalloc_debug.h51 size_t usable_size; member
/aosp_15_r20/bionic/libc/malloc_debug/tests/
H A Dmalloc_debug_unit_tests.cpp370 size_t usable_size = debug_malloc_usable_size(pointer); in TEST_F() local
387 size_t usable_size = debug_malloc_usable_size(pointer); in TEST_F() local
407 size_t usable_size = debug_malloc_usable_size(pointer); in TEST_F() local
1669 size_t usable_size = debug_malloc_usable_size(pointer); in TEST_F() local
/aosp_15_r20/art/runtime/gc/allocator/
H A Drosalloc-inl.h32 size_t* usable_size, in Alloc()
H A Drosalloc.cc463 size_t* usable_size, size_t* bytes_tl_bulk_allocated) { in AllocLargeObject()
632 size_t* usable_size, in AllocFromRunThreadUnsafe()
652 size_t* usable_size, size_t* bytes_tl_bulk_allocated) { in AllocFromRun()
/aosp_15_r20/bionic/tests/
H A Dmalloc_test.cpp551 size_t usable_size = malloc_usable_size(zero_mem); in TEST() local
843 size_t usable_size = malloc_usable_size(ptrs[i]); in TEST() local
915 size_t usable_size = malloc_usable_size(ptrs[i]); in TEST() local
/aosp_15_r20/external/cronet/base/allocator/partition_allocator/src/partition_alloc/starscan/
H A Dpcscan.h230 size_t usable_size, in MoveToQuarantine()

12