Home
last modified time | relevance | path

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

/bionic/tests/
Dmalloc_test.cpp50 ASSERT_LE(100U, malloc_usable_size(ptr)); in TEST()
66 ASSERT_LE(alloc_len, malloc_usable_size(ptr)); in TEST()
103 ASSERT_LE(100U, malloc_usable_size(ptr)) << "Failed at alignment " << alignment; in TEST()
131 ASSERT_LE(100U, malloc_usable_size(ptr)); in TEST()
137 ASSERT_LE(200U, malloc_usable_size(ptr)); in TEST()
146 ASSERT_LE(300U, malloc_usable_size(ptr)); in TEST()
154 ASSERT_LE(250U, malloc_usable_size(ptr)); in TEST()
166 ASSERT_LE(100U, malloc_usable_size(ptr)); in TEST()
171 ASSERT_LE(200U, malloc_usable_size(ptr)); in TEST()
182 ASSERT_LE(200U, malloc_usable_size(ptr)); in TEST()
[all …]
Dmalloc_iterate_test.cpp54 alloc->size = malloc_usable_size(ptr); in AllocPtr()
/bionic/libc/private/
Dbionic_malloc_dispatch.h63 MallocMallocUsableSize malloc_usable_size; member
/bionic/libc/bionic/
Dmalloc_common.cpp118 extern "C" size_t malloc_usable_size(const void* mem) { in malloc_usable_size() function
121 return dispatch_table->malloc_usable_size(mem); in malloc_usable_size()
123 return Malloc(malloc_usable_size)(mem); in malloc_usable_size()
Dmalloc_limit.cpp337 return dispatch_table->malloc_usable_size(mem); in LimitUsableSize()
339 return Malloc(malloc_usable_size)(mem); in LimitUsableSize()
Dmalloc_common_dynamic.cpp88 Malloc(malloc_usable_size),
169 if (!InitMallocFunction<MallocMallocUsableSize>(impl_handler, &table->malloc_usable_size, prefix, in InitMallocFunctions()
Dndk_cruft.cpp344 return malloc_usable_size(ptr); in dlmalloc_usable_size()
Dmalloc_heapprofd.cpp97 Malloc(malloc_usable_size),
/bionic/libc/include/
Dmalloc.h98 size_t malloc_usable_size(const void* __ptr) __INTRODUCED_IN(17);
/bionic/libc/bionic/scudo/
Dscudo.cpp103 return malloc_usable_size(ptr);
/bionic/libc/malloc_debug/
Dmalloc_debug.cpp223 return g_dispatch->malloc_usable_size(pointer); in InternalMallocUsableSize()
231 header->usable_size = g_dispatch->malloc_usable_size(orig_pointer); in InitHeader()
361 return g_dispatch->malloc_usable_size(pointer); in debug_malloc_usable_size()
468 bytes = g_dispatch->malloc_usable_size(pointer); in InternalFree()
686 prev_size = g_dispatch->malloc_usable_size(pointer); in debug_realloc()
753 memset(header, 0, g_dispatch->malloc_usable_size(header)); in debug_calloc()
DREADME_marshmallow_and_earlier.md28 * `malloc_usable_size`
DPointerData.cpp315 usable_size = g_dispatch->malloc_usable_size(reinterpret_cast<const void*>(info.pointer)); in VerifyFreedPointer()
DREADME.md23 * `malloc_usable_size`
448 … 7412 7412 E malloc_debug: +++ ALLOCATION 0x12345678 HAS INVALID TAG 1ee7d000 (malloc_usable_size)
/bionic/libc/malloc_hooks/
Dmalloc_hooks.cpp125 return g_dispatch->malloc_usable_size(pointer); in hooks_malloc_usable_size()
DREADME.md21 * `malloc_usable_size`
/bionic/libc/malloc_hooks/tests/
Dmalloc_hooks_tests.cpp192 EXPECT_LE(1024U, malloc_usable_size(ptr)); in TEST_F()
/bionic/docs/
Dstatus.md196 * `getsid`, `malloc_usable_size`, `mlockall`/`munlockall`, `posix_memalign`, `unshare`.
/bionic/tools/versioner/platforms/
Dlibc.map.txt626malloc_usable_size; # introduced-arm=17 introduced-arm64=21 introduced-mips=17 introduced-mips64=2…
/bionic/libc/
Dlibc.map.txt626malloc_usable_size; # introduced-arm=17 introduced-arm64=21 introduced-mips=17 introduced-mips64=2…
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_unit_tests.cpp129 malloc_usable_size,