• Home
  • Raw
  • Download

Lines Matching refs:allocator

55   MemUnreachable(pid_t pid, Allocator<void> allocator)  in MemUnreachable()  argument
56 : pid_(pid), allocator_(allocator), heap_walker_(allocator_) {} in MemUnreachable()
57 bool CollectAllocations(const allocator::vector<ThreadInfo>& threads,
58 const allocator::vector<Mapping>& mappings,
59 const allocator::vector<uintptr_t>& refs);
60 bool GetUnreachableMemory(allocator::vector<Leak>& leaks, size_t limit, size_t* num_leaks,
66 bool ClassifyMappings(const allocator::vector<Mapping>& mappings,
67 allocator::vector<Mapping>& heap_mappings,
68 allocator::vector<Mapping>& anon_mappings,
69 allocator::vector<Mapping>& globals_mappings,
70 allocator::vector<Mapping>& stack_mappings);
87 bool MemUnreachable::CollectAllocations(const allocator::vector<ThreadInfo>& threads, in CollectAllocations()
88 const allocator::vector<Mapping>& mappings, in CollectAllocations()
89 const allocator::vector<uintptr_t>& refs) { in CollectAllocations()
96 allocator::vector<Mapping> heap_mappings{mappings}; in CollectAllocations()
97 allocator::vector<Mapping> anon_mappings{mappings}; in CollectAllocations()
98 allocator::vector<Mapping> globals_mappings{mappings}; in CollectAllocations()
99 allocator::vector<Mapping> stack_mappings{mappings}; in CollectAllocations()
137 bool MemUnreachable::GetUnreachableMemory(allocator::vector<Leak>& leaks, size_t limit, in GetUnreachableMemory()
146 allocator::vector<Range> leaked1{allocator_}; in GetUnreachableMemory()
158 allocator::vector<LeakFolding::Leak> leaked{allocator_}; in GetUnreachableMemory()
164 allocator::unordered_map<Leak::Backtrace, Leak*> backtrace_map{allocator_}; in GetUnreachableMemory()
216 static bool has_prefix(const allocator::string& s, const char* prefix) { in has_prefix()
221 static bool is_sanitizer_mapping(const allocator::string& s) { in is_sanitizer_mapping()
225 bool MemUnreachable::ClassifyMappings(const allocator::vector<Mapping>& mappings, in ClassifyMappings()
226 allocator::vector<Mapping>& heap_mappings, in ClassifyMappings()
227 allocator::vector<Mapping>& anon_mappings, in ClassifyMappings()
228 allocator::vector<Mapping>& globals_mappings, in ClassifyMappings()
229 allocator::vector<Mapping>& stack_mappings) { in ClassifyMappings()
235 allocator::string current_lib{allocator_}; in ClassifyMappings()
247 const allocator::string mapping_name{it->name, allocator_}; in ClassifyMappings()
307 allocator::vector<ThreadInfo> thread_info(heap); in GetUnreachableMemory()
308 allocator::vector<Mapping> mappings(heap); in GetUnreachableMemory()
309 allocator::vector<uintptr_t> refs(heap); in GetUnreachableMemory()
365 allocator::vector<Leak> leaks{heap}; in GetUnreachableMemory()