Home
last modified time | relevance | path

Searched refs:info_size (Results 1 – 9 of 9) sorted by relevance

/bionic/libc/malloc_debug/tests/
Dmalloc_debug_unit_tests.cpp1084 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/
Dmalloc_common_dynamic.cpp413 &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/
Dmalloc_hooks.cpp55 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/
Dmalloc.h42 size_t info_size; member
/bionic/libc/malloc_debug/
DPointerData.cpp511 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()
Dmalloc_debug.cpp82 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()
DPointerData.h157 static void GetInfo(uint8_t** info, size_t* overall_size, size_t* info_size, size_t* total_memory,
DREADME_api.md10 `extern "C" void get_malloc_leak_info(uint8_t** info, size_t* overall_size, size_t* info_size, size…
/bionic/libc/malloc_hooks/tests/
Dmalloc_hooks_tests.cpp205 EXPECT_EQ(0U, leak_info.info_size); in TEST_F()