Home
last modified time | relevance | path

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

/bionic/tests/
Dmalloc_test.cpp78 ASSERT_LE(100U, malloc_usable_size(ptr)); in TEST()
94 ASSERT_LE(alloc_len, malloc_usable_size(ptr)); in TEST()
149 ASSERT_LE(100U, malloc_usable_size(ptr)) << "Failed at alignment " << alignment; in TEST()
177 ASSERT_LE(100U, malloc_usable_size(ptr)); in TEST()
183 ASSERT_LE(200U, malloc_usable_size(ptr)); in TEST()
192 ASSERT_LE(300U, malloc_usable_size(ptr)); in TEST()
200 ASSERT_LE(250U, malloc_usable_size(ptr)); in TEST()
212 ASSERT_LE(100U, malloc_usable_size(ptr)); in TEST()
217 ASSERT_LE(200U, malloc_usable_size(ptr)); in TEST()
228 ASSERT_LE(200U, malloc_usable_size(ptr)); in TEST()
[all …]
Dmalloc_iterate_test.cpp58 alloc->size = malloc_usable_size(ptr); in AllocPtr()
/bionic/libc/bionic/
Dmalloc_common.cpp136 extern "C" size_t malloc_usable_size(const void* mem) { in malloc_usable_size() function
140 return dispatch_table->malloc_usable_size(mem); in malloc_usable_size()
142 return Malloc(malloc_usable_size)(mem); in malloc_usable_size()
355 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()
Dndk_cruft.cpp345 return malloc_usable_size(ptr); in dlmalloc_usable_size()
Dgwp_asan_wrappers.cpp106 return prev_dispatch->malloc_usable_size(mem); in gwp_asan_malloc_usable_size()
Dmalloc_common_dynamic.cpp159 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/include/
Dmalloc.h98 size_t malloc_usable_size(const void* _Nullable __ptr) __INTRODUCED_IN(17);
/bionic/libc/malloc_debug/
Dmalloc_debug.cpp357 return g_dispatch->malloc_usable_size(pointer); in InternalMallocUsableSize()
365 header->usable_size = g_dispatch->malloc_usable_size(orig_pointer); in InitHeader()
506 return g_dispatch->malloc_usable_size(pointer); in debug_malloc_usable_size()
624 bytes = g_dispatch->malloc_usable_size(pointer); in InternalFree()
867 prev_size = g_dispatch->malloc_usable_size(pointer); in debug_realloc()
940 memset(header, 0, g_dispatch->malloc_usable_size(header)); in debug_calloc()
DREADME_marshmallow_and_earlier.md28 * `malloc_usable_size`
DPointerData.cpp335 usable_size = g_dispatch->malloc_usable_size(reinterpret_cast<const void*>(pointer)); in VerifyFreedPointer()
DREADME.md23 * `malloc_usable_size`
520 … 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.cpp194 EXPECT_LE(1024U, malloc_usable_size(ptr)); in TEST_F()
/bionic/docs/
Dstatus.md254 * `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/libc/
Dlibc.map.txt626malloc_usable_size; # introduced-arm=17 introduced-arm64=21 introduced-x86=17 introduced-x86_64=21
/bionic/tools/versioner/platforms/
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.cpp159 malloc_usable_size,