Searched refs:malloc_usable_size (Results 1 - 7 of 7) sorted by relevance
/bionic/tests/ |
H A D | malloc_test.cpp | 33 ASSERT_LE(100U, malloc_usable_size(ptr)); 48 ASSERT_LE(alloc_len, malloc_usable_size(ptr)); 82 ASSERT_LE(100U, malloc_usable_size(ptr)) << "Failed at alignment " << alignment; 118 ASSERT_LE(100U, malloc_usable_size(ptr)); 124 ASSERT_LE(200U, malloc_usable_size(ptr)); 133 ASSERT_LE(300U, malloc_usable_size(ptr)); 141 ASSERT_LE(250U, malloc_usable_size(ptr)); 153 ASSERT_LE(100U, malloc_usable_size(ptr)); 158 ASSERT_LE(200U, malloc_usable_size(ptr)); 169 ASSERT_LE(200U, malloc_usable_size(pt [all...] |
/bionic/libc/include/ |
H A D | malloc.h | 32 extern size_t malloc_usable_size(const void* p);
|
/bionic/libc/private/ |
H A D | bionic_malloc_dispatch.h | 59 MallocMallocUsableSize malloc_usable_size; member in struct:MallocDispatch
|
/bionic/libc/bionic/ |
H A D | malloc_common.cpp | 58 Malloc(malloc_usable_size), 112 extern "C" size_t malloc_usable_size(const void* mem) { function 113 auto _malloc_usable_size = __libc_globals->malloc_dispatch.malloc_usable_size; 117 return Malloc(malloc_usable_size)(mem); 256 malloc_impl_handler, &table->malloc_usable_size, prefix, "malloc_usable_size")) {
|
H A D | ndk_cruft.cpp | 335 // Old versions of the NDK did not export malloc_usable_size, but did 337 // so make this call malloc_usable_size. 339 return malloc_usable_size(ptr);
|
/bionic/libc/malloc_debug/ |
H A D | malloc_debug.cpp | 143 header->usable_size = g_dispatch->malloc_usable_size(orig_pointer); 269 return g_dispatch->malloc_usable_size(pointer); 274 LogTagError(header, pointer, "malloc_usable_size"); 362 bytes = g_dispatch->malloc_usable_size(pointer); 519 prev_size = g_dispatch->malloc_usable_size(pointer); 576 memset(header, 0, g_dispatch->malloc_usable_size(header));
|
/bionic/libc/malloc_debug/tests/ |
H A D | malloc_debug_unit_tests.cpp | 115 malloc_usable_size, 533 "6 malloc_debug +++ ALLOCATION %p HAS INVALID TAG 1ee7d000 (malloc_usable_size)\n",
|
Completed in 215 milliseconds