Home
last modified time | relevance | path

Searched refs:malloc_usable_size (Results 1 – 10 of 10) sorted by relevance

/bionic/tests/
Dmalloc_test.cpp33 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/
Dmalloc.h37 extern size_t malloc_usable_size(const void* p);
/bionic/libc/bionic/
Dmalloc_debug_leak.cpp220 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()
Dmalloc_debug_common.cpp71 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()
Dmalloc_debug_common.h96 MallocDebugMallocUsableSize malloc_usable_size; member
Dndk_cruft.cpp335 return malloc_usable_size(ptr); in dlmalloc_usable_size()
Dmalloc_debug_check.cpp548 return g_malloc_dispatch->malloc_usable_size(ptr); in chk_malloc_usable_size()
/bionic/libc/upstream-dlmalloc/
Dmalloc.h64 #define dlmalloc_usable_size malloc_usable_size
Dmalloc.c829 #define dlmalloc_usable_size malloc_usable_size
/bionic/libc/
Dlibc.map724 malloc_usable_size;