Searched refs:malloc_usable_size (Results 1 – 10 of 10) sorted by relevance
/bionic/tests/ |
D | malloc_test.cpp | 33 ASSERT_LE(100U, malloc_usable_size(ptr)); in TEST() 48 ASSERT_LE(alloc_len, malloc_usable_size(ptr)); in TEST() 82 ASSERT_LE(100U, malloc_usable_size(ptr)) << "Failed at alignment " << alignment; in TEST() 118 ASSERT_LE(100U, malloc_usable_size(ptr)); in TEST() 124 ASSERT_LE(200U, malloc_usable_size(ptr)); in TEST() 133 ASSERT_LE(300U, malloc_usable_size(ptr)); in TEST() 141 ASSERT_LE(250U, malloc_usable_size(ptr)); in TEST() 153 ASSERT_LE(100U, malloc_usable_size(ptr)); in TEST() 158 ASSERT_LE(200U, malloc_usable_size(ptr)); in TEST() 169 ASSERT_LE(200U, malloc_usable_size(ptr)); in TEST() [all …]
|
/bionic/libc/include/ |
D | malloc.h | 37 extern size_t malloc_usable_size(const void* p);
|
/bionic/libc/bionic/ |
D | malloc_debug_leak.cpp | 220 size_t bytes = g_malloc_dispatch->malloc_usable_size(mem); in fill_free() 226 size_t oldSize = g_malloc_dispatch->malloc_usable_size(mem); in fill_realloc() 230 size_t newSize = g_malloc_dispatch->malloc_usable_size(newMem); in fill_realloc() 249 return g_malloc_dispatch->malloc_usable_size(mem); in fill_malloc_usable_size() 381 return g_malloc_dispatch->malloc_usable_size(mem); in leak_malloc_usable_size() 401 size_t ret = g_malloc_dispatch->malloc_usable_size(header); in leak_malloc_usable_size()
|
D | malloc_debug_common.cpp | 71 Malloc(malloc_usable_size), 262 extern "C" size_t malloc_usable_size(const void* mem) { in malloc_usable_size() function 263 return __libc_malloc_dispatch->malloc_usable_size(mem); in malloc_usable_size() 316 …InitMallocFunction<MallocDebugMallocUsableSize>(malloc_impl_handler, &table->malloc_usable_size, p… in InitMalloc() 468 (malloc_dispatch_table.malloc_usable_size == NULL) || in malloc_init_impl()
|
D | malloc_debug_common.h | 96 MallocDebugMallocUsableSize malloc_usable_size; member
|
D | ndk_cruft.cpp | 335 return malloc_usable_size(ptr); in dlmalloc_usable_size()
|
D | malloc_debug_check.cpp | 548 return g_malloc_dispatch->malloc_usable_size(ptr); in chk_malloc_usable_size()
|
/bionic/libc/upstream-dlmalloc/ |
D | malloc.h | 64 #define dlmalloc_usable_size malloc_usable_size
|
D | malloc.c | 829 #define dlmalloc_usable_size malloc_usable_size
|
/bionic/libc/ |
D | libc.map | 724 malloc_usable_size;
|