Home
last modified time | relevance | path

Searched refs:total_memory (Results 1 – 10 of 10) sorted by relevance

/bionic/libc/malloc_debug/tests/
Dmalloc_debug_unit_tests.cpp1085 size_t total_memory; 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()
1098 debug_get_malloc_leak_info(&info, &overall_size, nullptr, &total_memory, &backtrace_size); in TEST_F()
1106 debug_get_malloc_leak_info(&info, &overall_size, &info_size, &total_memory, nullptr); in TEST_F()
1116 size_t total_memory; in TEST_F() local
1120 debug_get_malloc_leak_info(&info, &overall_size, &info_size, &total_memory, &backtrace_size); in TEST_F()
1139 size_t total_memory; in TEST_F() local
1142 debug_get_malloc_leak_info(&info, &overall_size, &info_size, &total_memory, &backtrace_size); in TEST_F()
1146 ASSERT_EQ(0U, total_memory); in TEST_F()
[all …]
/bionic/libc/bionic/
Dmalloc_common_dynamic.cpp422 &leak_info->total_memory, &leak_info->backtrace_size); in GetMallocLeakInfo()
549 size_t* total_memory, size_t* backtrace_size) { in get_malloc_leak_info() argument
551 total_memory == nullptr || backtrace_size == nullptr) { in get_malloc_leak_info()
558 *total_memory = 0; in get_malloc_leak_info()
566 *total_memory = leak_info.total_memory; 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
117 *total_memory = 0; in hooks_get_malloc_leak_info()
/bionic/libc/malloc_debug/
DPointerData.cpp512 size_t* total_memory, size_t* backtrace_size) { in GetInfo() argument
535 *total_memory = 0; in GetInfo()
538 *total_memory += list_info.size * list_info.num_allocations; in GetInfo()
564 size_t total_memory = 0; in DumpLiveToFile() local
566 total_memory += info.size * info.num_allocations; in DumpLiveToFile()
569 dprintf(fd, "Total memory: %zu\n", total_memory); in DumpLiveToFile()
Dmalloc_debug.cpp83 size_t* total_memory, size_t* backtrace_size);
372 size_t* total_memory, size_t* backtrace_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()
387 *total_memory = 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 …info(uint8_t** info, size_t* overall_size, size_t* info_size, size_t* total_memory, size_t* backtr…
/bionic/libc/platform/bionic/
Dmalloc.h45 size_t total_memory; member
/bionic/libc/kernel/uapi/video/
Duvesafb.h58 __u16 total_memory; member
/bionic/libc/malloc_hooks/tests/
Dmalloc_hooks_tests.cpp206 EXPECT_EQ(0U, leak_info.total_memory); in TEST_F()