Home
last modified time | relevance | path

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

/system/keymaster/
Dvalgrind.supp3 Memcheck:Leak
11 Memcheck:Leak
25 Memcheck:Leak
34 Memcheck:Leak
/system/memory/libmemunreachable/
DLeak.h30 struct hash<android::Leak::Backtrace> {
31 std::size_t operator()(const android::Leak::Backtrace& key) const {
54 static bool operator==(const Leak::Backtrace& lhs, const Leak::Backtrace& rhs) {
DMemUnreachable.cpp51 const size_t Leak::contents_length;
60 bool GetUnreachableMemory(allocator::vector<Leak>& leaks, size_t limit, size_t* num_leaks,
137 bool MemUnreachable::GetUnreachableMemory(allocator::vector<Leak>& leaks, size_t limit, in GetUnreachableMemory()
158 allocator::vector<LeakFolding::Leak> leaked{allocator_}; in GetUnreachableMemory()
164 allocator::unordered_map<Leak::Backtrace, Leak*> backtrace_map{allocator_}; in GetUnreachableMemory()
172 Leak* leak = &leaks.back(); in GetUnreachableMemory()
184 Leak* similar_leak = inserted.first->second; in GetUnreachableMemory()
201 std::min(leak->size, Leak::contents_length)); in GetUnreachableMemory()
207 [](const Leak& a, const Leak& b) { return a.total_size > b.total_size; }); in GetUnreachableMemory()
365 allocator::vector<Leak> leaks{heap}; in GetUnreachableMemory()
[all …]
DLeakFolding.h35 struct Leak { struct
41 bool Leaked(allocator::vector<Leak>& leaked, size_t* num_leaks_out, size_t* leak_bytes_out); argument
Dlibmemunreachable.map8 android::Leak::*;
DLeakFolding.cpp110 bool LeakFolding::Leaked(allocator::vector<LeakFolding::Leak>& leaked, size_t* num_leaks_out, in Leaked()
123 leaked.emplace_back(Leak{leak.range, leak.scc->cuumulative_count - 1, in Leaked()
DREADME.md58 1. *Original process*: Leak detection is requested by calling `GetUnreachableMemory()`
/system/memory/libmemunreachable/tests/
DLeakFolding_test.cpp58 allocator::vector<LeakFolding::Leak> leaked(heap_); in TEST_F()
83 allocator::vector<LeakFolding::Leak> leaked(heap_); in TEST_F()
112 allocator::vector<LeakFolding::Leak> leaked(heap_); in TEST_F()
143 allocator::vector<LeakFolding::Leak> leaked(heap_); in TEST_F()
174 allocator::vector<LeakFolding::Leak> leaked(heap_); in TEST_F()
217 allocator::vector<LeakFolding::Leak> leaked(heap_); in TEST_F()
253 allocator::vector<LeakFolding::Leak> leaked(heap_); in TEST_F()
291 allocator::vector<LeakFolding::Leak> leaked(heap_); in TEST_F()
328 allocator::vector<LeakFolding::Leak> leaked(heap_); in TEST_F()
370 allocator::vector<LeakFolding::Leak> leaked(heap_); in TEST_F()
[all …]
/system/memory/libmemunreachable/include/memunreachable/
Dmemunreachable.h30 struct Leak { struct
62 std::vector<Leak> leaks; argument