Home
last modified time | relevance | path

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

/aosp12/bionic/tests/
H A Dmalloc_test.cpp68 ASSERT_LE(100U, malloc_usable_size(ptr)); in TEST()
202 ASSERT_LE(100U, malloc_usable_size(ptr)); in TEST()
207 ASSERT_LE(200U, malloc_usable_size(ptr)); in TEST()
218 ASSERT_LE(200U, malloc_usable_size(ptr)); in TEST()
223 ASSERT_LE(100U, malloc_usable_size(ptr)); in TEST()
234 ASSERT_LE(200U, malloc_usable_size(ptr)); in TEST()
239 ASSERT_LE(100U, malloc_usable_size(ptr)); in TEST()
246 ASSERT_LE(50U, malloc_usable_size(ptr)); in TEST()
253 ASSERT_LE(150U, malloc_usable_size(ptr)); in TEST()
313 ASSERT_LE(50U, malloc_usable_size(ptr)); in TEST()
[all …]
H A Dmalloc_iterate_test.cpp57 alloc->size = malloc_usable_size(ptr); in AllocPtr()
/aosp12/art/openjdkjvmti/
H A Dti_allocator.cc36 #define malloc_usable_size(P) 0 macro
78 allocated += malloc_usable_size(ret); in AllocateImpl()
90 allocated -= malloc_usable_size(mem); in DeallocateImpl()
/aosp12/bionic/libc/bionic/
H A 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()
348 Malloc(malloc_usable_size),
H A Dmalloc_limit.cpp339 return dispatch_table->malloc_usable_size(mem); in LimitUsableSize()
341 return Malloc(malloc_usable_size)(mem); in LimitUsableSize()
H A Dgwp_asan_wrappers.cpp143 return prev_dispatch->malloc_usable_size(mem); in gwp_asan_malloc_usable_size()
H A Dndk_cruft.cpp345 return malloc_usable_size(ptr); in dlmalloc_usable_size()
H A Dmalloc_common_dynamic.cpp159 if (!InitMallocFunction<MallocMallocUsableSize>(impl_handler, &table->malloc_usable_size, prefix, in InitMallocFunctions()
/aosp12/bionic/libc/malloc_debug/
H A 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()
405 return g_dispatch->malloc_usable_size(pointer); in debug_malloc_usable_size()
514 bytes = g_dispatch->malloc_usable_size(pointer); in InternalFree()
735 prev_size = g_dispatch->malloc_usable_size(pointer); in debug_realloc()
803 memset(header, 0, g_dispatch->malloc_usable_size(header)); in debug_calloc()
H A DREADME_marshmallow_and_earlier.md28 * `malloc_usable_size`
H A DPointerData.cpp316 usable_size = g_dispatch->malloc_usable_size(reinterpret_cast<const void*>(info.pointer)); in VerifyFreedPointer()
H A DREADME.md23 * `malloc_usable_size`
448 … 7412 7412 E malloc_debug: +++ ALLOCATION 0x12345678 HAS INVALID TAG 1ee7d000 (malloc_usable_size)
/aosp12/bionic/libc/private/
H A Dbionic_malloc_dispatch.h63 MallocMallocUsableSize malloc_usable_size; member
/aosp12/bionic/libc/include/
H A Dmalloc.h98 size_t malloc_usable_size(const void* __ptr) __INTRODUCED_IN(17);
/aosp12/bionic/libc/malloc_hooks/
H A Dmalloc_hooks.cpp125 return g_dispatch->malloc_usable_size(pointer); in hooks_malloc_usable_size()
H A DREADME.md21 * `malloc_usable_size`
/aosp12/bionic/libc/malloc_hooks/tests/
H A Dmalloc_hooks_tests.cpp192 EXPECT_LE(1024U, malloc_usable_size(ptr)); in TEST_F()
/aosp12/bionic/docs/
H A Dstatus.md219 * `getsid`, `malloc_usable_size`, `mlockall`/`munlockall`, `posix_memalign`, `unshare`.
/aosp12/frameworks/native/vulkan/libvulkan/
H A Ddriver.cpp777 size_t old_size = ptr ? malloc_usable_size(ptr) : 0; in DefaultReallocate()
/aosp12/frameworks/native/vulkan/nulldrv/
H A Dnull_driver.cpp219 size_t old_size = ptr ? malloc_usable_size(ptr) : 0; in DefaultReallocate()
/aosp12/bionic/benchmarks/linker_relocation/gen/
H A Dliblinker_reloc_bench_073.S1011 CALL(malloc_usable_size)
H A Dliblinker_reloc_bench_070.S1326 CALL(malloc_usable_size)
/aosp12/bionic/libc/
H A Dlibc.map.txt626malloc_usable_size; # introduced-arm=17 introduced-arm64=21 introduced-x86=17 introduced-x86_64=21
/aosp12/bionic/tools/versioner/platforms/
H A Dlibc.map.txt626malloc_usable_size; # introduced-arm=17 introduced-arm64=21 introduced-x86=17 introduced-x86_64=21
/aosp12/bionic/libc/malloc_debug/tests/
H A Dmalloc_debug_unit_tests.cpp134 malloc_usable_size,