Home
last modified time | relevance | path

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

/bionic/tests/
Dmalloc_test.cpp64 ASSERT_LE(100U, malloc_usable_size(ptr)); in TEST()
80 ASSERT_LE(alloc_len, malloc_usable_size(ptr)); in TEST()
117 ASSERT_LE(100U, malloc_usable_size(ptr)) << "Failed at alignment " << alignment; in TEST()
145 ASSERT_LE(100U, malloc_usable_size(ptr)); in TEST()
151 ASSERT_LE(200U, malloc_usable_size(ptr)); in TEST()
160 ASSERT_LE(300U, malloc_usable_size(ptr)); in TEST()
168 ASSERT_LE(250U, malloc_usable_size(ptr)); in TEST()
180 ASSERT_LE(100U, malloc_usable_size(ptr)); in TEST()
185 ASSERT_LE(200U, malloc_usable_size(ptr)); in TEST()
196 ASSERT_LE(200U, malloc_usable_size(ptr)); in TEST()
[all …]
Dmalloc_iterate_test.cpp57 alloc->size = malloc_usable_size(ptr); in AllocPtr()
/bionic/libc/bionic/
Dmalloc_common.cpp125 extern "C" size_t malloc_usable_size(const void* mem) { in malloc_usable_size() function
129 return dispatch_table->malloc_usable_size(mem); in malloc_usable_size()
131 return Malloc(malloc_usable_size)(mem); in malloc_usable_size()
340 Malloc(malloc_usable_size),
Dmalloc_limit.cpp339 return dispatch_table->malloc_usable_size(mem); in LimitUsableSize()
341 return Malloc(malloc_usable_size)(mem); in LimitUsableSize()
Dgwp_asan_wrappers.cpp144 return prev_dispatch->malloc_usable_size(mem); in gwp_asan_malloc_usable_size()
Dndk_cruft.cpp345 return malloc_usable_size(ptr); in dlmalloc_usable_size()
Dmalloc_common_dynamic.cpp157 if (!InitMallocFunction<MallocMallocUsableSize>(impl_handler, &table->malloc_usable_size, prefix, in InitMallocFunctions()
/bionic/libc/private/
Dbionic_malloc_dispatch.h63 MallocMallocUsableSize malloc_usable_size; member
/bionic/libc/malloc_debug/
Dmalloc_debug.cpp261 return g_dispatch->malloc_usable_size(pointer); in InternalMallocUsableSize()
269 header->usable_size = g_dispatch->malloc_usable_size(orig_pointer); in InitHeader()
406 return g_dispatch->malloc_usable_size(pointer); in debug_malloc_usable_size()
515 bytes = g_dispatch->malloc_usable_size(pointer); in InternalFree()
736 prev_size = g_dispatch->malloc_usable_size(pointer); in debug_realloc()
804 memset(header, 0, g_dispatch->malloc_usable_size(header)); in debug_calloc()
DREADME_marshmallow_and_earlier.md28 * `malloc_usable_size`
DPointerData.cpp316 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/include/
Dmalloc.h98 size_t malloc_usable_size(const void* __ptr) __INTRODUCED_IN(17);
/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.md219 * `getsid`, `malloc_usable_size`, `mlockall`/`munlockall`, `posix_memalign`, `unshare`.
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_073.S1011 CALL(malloc_usable_size)
Dliblinker_reloc_bench_070.S1326 CALL(malloc_usable_size)
/bionic/tools/versioner/platforms/
Dlibc.map.txt626malloc_usable_size; # introduced-arm=17 introduced-arm64=21 introduced-x86=17 introduced-x86_64=21
/bionic/libc/
Dlibc.map.txt626malloc_usable_size; # introduced-arm=17 introduced-arm64=21 introduced-x86=17 introduced-x86_64=21
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_unit_tests.cpp134 malloc_usable_size,