/bionic/libc/malloc_debug/ |
malloc_debug.h | 55 size_t usable_size; member in struct:Header
|
/art/runtime/gc/ |
heap-inl.h | 71 size_t usable_size; local 89 usable_size = bytes_allocated; 90 pre_fence_visitor(obj, usable_size); 103 usable_size = bytes_allocated; 104 pre_fence_visitor(obj, usable_size); 110 &usable_size, &bytes_tl_bulk_allocated); 119 &usable_size, 136 DCHECK_GT(usable_size, 0u); 156 pre_fence_visitor(obj, usable_size); 162 CHECK_LE(obj->SizeOf(), usable_size); [all...] |
/art/runtime/gc/space/ |
memory_tool_malloc_space-inl.h | 32 size_t bytes_allocated, size_t usable_size, 49 *usable_size_out = usable_size - 2 * kMemoryToolRedZoneBytes; 63 // Right redzone. Assumes that if bytes_allocated > usable_size, then the difference is 65 // At the moment, this fits RosAlloc (no management data in a slot, usable_size == alloc_size) 66 // and DlMalloc (allocation_size = (usable_size == num_bytes) + 4, 4 is management) 68 usable_size - (num_bytes + kMemoryToolRedZoneBytes)); 91 size_t usable_size; local 94 &bytes_allocated, &usable_size, 102 bytes_allocated, usable_size, 120 size_t usable_size; local 148 size_t usable_size; local 201 size_t usable_size; local [all...] |
space_create_test.cc | 315 size_t allocation_size, usable_size, bytes_tl_bulk_allocated; local 321 &usable_size, 326 EXPECT_EQ(usable_size, computed_usable_size); 336 size_t allocation_size, usable_size, bytes_tl_bulk_allocated; local 341 &usable_size, 346 EXPECT_EQ(usable_size, computed_usable_size);
|
/bionic/tests/ |
malloc_test.cpp | 387 size_t usable_size = malloc_usable_size(zero_mem); local 388 for (size_t i = 0; i < usable_size; i++) {
|
/bionic/libc/malloc_debug/tests/ |
malloc_debug_unit_tests.cpp | 216 size_t usable_size = debug_malloc_usable_size(pointer); local 217 memset(pointer, 0, usable_size); 220 for (size_t i = 0; i < usable_size; i++) { 233 size_t usable_size = debug_malloc_usable_size(pointer); local 234 memset(pointer, 0, usable_size); 240 for (size_t i = 30; i < usable_size; i++) { 253 size_t usable_size = debug_malloc_usable_size(pointer); local 254 memset(pointer, 0, usable_size); 260 for (size_t i = 30; i < usable_size; i++) { 1225 size_t usable_size = debug_malloc_usable_size(pointer); local [all...] |