/aosp12/bionic/tests/ |
H A D | malloc_test.cpp | 68 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 D | malloc_iterate_test.cpp | 57 alloc->size = malloc_usable_size(ptr); in AllocPtr()
|
/aosp12/art/openjdkjvmti/ |
H A D | ti_allocator.cc | 36 #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 D | malloc_common.cpp | 136 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 D | malloc_limit.cpp | 339 return dispatch_table->malloc_usable_size(mem); in LimitUsableSize() 341 return Malloc(malloc_usable_size)(mem); in LimitUsableSize()
|
H A D | gwp_asan_wrappers.cpp | 143 return prev_dispatch->malloc_usable_size(mem); in gwp_asan_malloc_usable_size()
|
H A D | ndk_cruft.cpp | 345 return malloc_usable_size(ptr); in dlmalloc_usable_size()
|
H A D | malloc_common_dynamic.cpp | 159 if (!InitMallocFunction<MallocMallocUsableSize>(impl_handler, &table->malloc_usable_size, prefix, in InitMallocFunctions()
|
/aosp12/bionic/libc/malloc_debug/ |
H A D | malloc_debug.cpp | 261 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 D | README_marshmallow_and_earlier.md | 28 * `malloc_usable_size`
|
H A D | PointerData.cpp | 316 usable_size = g_dispatch->malloc_usable_size(reinterpret_cast<const void*>(info.pointer)); in VerifyFreedPointer()
|
H A D | README.md | 23 * `malloc_usable_size` 448 … 7412 7412 E malloc_debug: +++ ALLOCATION 0x12345678 HAS INVALID TAG 1ee7d000 (malloc_usable_size)
|
/aosp12/bionic/libc/private/ |
H A D | bionic_malloc_dispatch.h | 63 MallocMallocUsableSize malloc_usable_size; member
|
/aosp12/bionic/libc/include/ |
H A D | malloc.h | 98 size_t malloc_usable_size(const void* __ptr) __INTRODUCED_IN(17);
|
/aosp12/bionic/libc/malloc_hooks/ |
H A D | malloc_hooks.cpp | 125 return g_dispatch->malloc_usable_size(pointer); in hooks_malloc_usable_size()
|
H A D | README.md | 21 * `malloc_usable_size`
|
/aosp12/bionic/libc/malloc_hooks/tests/ |
H A D | malloc_hooks_tests.cpp | 192 EXPECT_LE(1024U, malloc_usable_size(ptr)); in TEST_F()
|
/aosp12/bionic/docs/ |
H A D | status.md | 219 * `getsid`, `malloc_usable_size`, `mlockall`/`munlockall`, `posix_memalign`, `unshare`.
|
/aosp12/frameworks/native/vulkan/libvulkan/ |
H A D | driver.cpp | 777 size_t old_size = ptr ? malloc_usable_size(ptr) : 0; in DefaultReallocate()
|
/aosp12/frameworks/native/vulkan/nulldrv/ |
H A D | null_driver.cpp | 219 size_t old_size = ptr ? malloc_usable_size(ptr) : 0; in DefaultReallocate()
|
/aosp12/bionic/benchmarks/linker_relocation/gen/ |
H A D | liblinker_reloc_bench_073.S | 1011 CALL(malloc_usable_size)
|
H A D | liblinker_reloc_bench_070.S | 1326 CALL(malloc_usable_size)
|
/aosp12/bionic/libc/ |
H A D | libc.map.txt | 626 … malloc_usable_size; # introduced-arm=17 introduced-arm64=21 introduced-x86=17 introduced-x86_64=21
|
/aosp12/bionic/tools/versioner/platforms/ |
H A D | libc.map.txt | 626 … malloc_usable_size; # introduced-arm=17 introduced-arm64=21 introduced-x86=17 introduced-x86_64=21
|
/aosp12/bionic/libc/malloc_debug/tests/ |
H A D | malloc_debug_unit_tests.cpp | 134 malloc_usable_size,
|