/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_unit_tests.cpp | 1084 size_t info_size; in TEST_F() local 1090 debug_get_malloc_leak_info(nullptr, &overall_size, &info_size, &total_memory, &backtrace_size); in TEST_F() 1094 debug_get_malloc_leak_info(&info, nullptr, &info_size, &total_memory, &backtrace_size); in TEST_F() 1102 debug_get_malloc_leak_info(&info, &overall_size, &info_size, nullptr, &backtrace_size); in TEST_F() 1106 debug_get_malloc_leak_info(&info, &overall_size, &info_size, &total_memory, nullptr); in TEST_F() 1115 size_t info_size; in TEST_F() local 1120 debug_get_malloc_leak_info(&info, &overall_size, &info_size, &total_memory, &backtrace_size); in TEST_F() 1138 size_t info_size; in TEST_F() local 1142 debug_get_malloc_leak_info(&info, &overall_size, &info_size, &total_memory, &backtrace_size); in TEST_F() 1145 ASSERT_EQ(0U, info_size); in TEST_F() [all …]
|
/bionic/libc/bionic/ |
D | malloc_common_dynamic.cpp | 413 &leak_info->buffer, &leak_info->overall_size, &leak_info->info_size, in GetMallocLeakInfo() 540 extern "C" void get_malloc_leak_info(uint8_t** info, size_t* overall_size, size_t* info_size, in get_malloc_leak_info() argument 542 if (info == nullptr || overall_size == nullptr || info_size == nullptr || in get_malloc_leak_info() 549 *info_size = 0; in get_malloc_leak_info() 557 *info_size = leak_info.info_size; in get_malloc_leak_info()
|
/bionic/libc/malloc_hooks/ |
D | malloc_hooks.cpp | 55 uint8_t** info, size_t* overall_size, size_t* info_size, size_t* total_memory, 113 size_t* info_size, size_t* total_memory, size_t* backtrace_size) { in hooks_get_malloc_leak_info() argument 116 *info_size = 0; in hooks_get_malloc_leak_info()
|
/bionic/libc/platform/bionic/ |
D | malloc.h | 42 size_t info_size; member
|
/bionic/libc/malloc_debug/ |
D | PointerData.cpp | 511 void PointerData::GetInfo(uint8_t** info, size_t* overall_size, size_t* info_size, in GetInfo() argument 527 *info_size = sizeof(size_t) * 2 + sizeof(uintptr_t) * *backtrace_size; in GetInfo() 528 *overall_size = *info_size * list.size(); in GetInfo() 529 *info = reinterpret_cast<uint8_t*>(g_dispatch->calloc(*info_size, list.size())); in GetInfo() 547 data += *info_size; in GetInfo()
|
D | malloc_debug.cpp | 82 void debug_get_malloc_leak_info(uint8_t** info, size_t* overall_size, size_t* info_size, 371 void debug_get_malloc_leak_info(uint8_t** info, size_t* overall_size, size_t* info_size, in debug_get_malloc_leak_info() argument 378 …if (info == nullptr || overall_size == nullptr || info_size == nullptr || total_memory == nullptr … in debug_get_malloc_leak_info() 386 *info_size = 0; in debug_get_malloc_leak_info() 397 PointerData::GetInfo(info, overall_size, info_size, total_memory, backtrace_size); in debug_get_malloc_leak_info()
|
D | PointerData.h | 157 static void GetInfo(uint8_t** info, size_t* overall_size, size_t* info_size, size_t* total_memory,
|
D | README_api.md | 10 `extern "C" void get_malloc_leak_info(uint8_t** info, size_t* overall_size, size_t* info_size, size…
|
/bionic/libc/malloc_hooks/tests/ |
D | malloc_hooks_tests.cpp | 205 EXPECT_EQ(0U, leak_info.info_size); in TEST_F()
|