Searched refs:malloc_usable_size (Results 1 - 7 of 7) sorted by relevance

/bionic/tests/
H A Dmalloc_test.cpp33 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 Dmalloc.h32 extern size_t malloc_usable_size(const void* p);
/bionic/libc/private/
H A Dbionic_malloc_dispatch.h59 MallocMallocUsableSize malloc_usable_size; member in struct:MallocDispatch
/bionic/libc/bionic/
H A Dmalloc_common.cpp58 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 Dndk_cruft.cpp335 // 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 Dmalloc_debug.cpp143 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 Dmalloc_debug_unit_tests.cpp115 malloc_usable_size,
533 "6 malloc_debug +++ ALLOCATION %p HAS INVALID TAG 1ee7d000 (malloc_usable_size)\n",

Completed in 215 milliseconds