Home
last modified time | relevance | path

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

/system/keymaster/
Dvalgrind.supp3 Memcheck:Leak
11 Memcheck:Leak
25 Memcheck:Leak
34 Memcheck:Leak
/system/core/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.cpp50 const size_t Leak::contents_length;
59 bool GetUnreachableMemory(allocator::vector<Leak>& leaks, size_t limit, size_t* num_leaks,
136 bool MemUnreachable::GetUnreachableMemory(allocator::vector<Leak>& leaks, size_t limit, in GetUnreachableMemory()
157 allocator::vector<LeakFolding::Leak> leaked{allocator_}; in GetUnreachableMemory()
163 allocator::unordered_map<Leak::Backtrace, Leak*> backtrace_map{allocator_}; in GetUnreachableMemory()
171 Leak* leak = &leaks.back(); in GetUnreachableMemory()
183 Leak* similar_leak = inserted.first->second; in GetUnreachableMemory()
200 std::min(leak->size, Leak::contents_length)); in GetUnreachableMemory()
206 [](const Leak& a, const Leak& b) { return a.total_size > b.total_size; }); in GetUnreachableMemory()
356 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
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/core/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/core/libmemunreachable/include/memunreachable/
Dmemunreachable.h30 struct Leak { struct
58 std::vector<Leak> leaks; argument