• Home
  • Raw
  • Download

Lines Matching refs:allocator

54   MemUnreachable(pid_t pid, Allocator<void> allocator)  in MemUnreachable()  argument
55 : pid_(pid), allocator_(allocator), heap_walker_(allocator_) {} in MemUnreachable()
56 bool CollectAllocations(const allocator::vector<ThreadInfo>& threads,
57 const allocator::vector<Mapping>& mappings,
58 const allocator::vector<uintptr_t>& refs);
59 bool GetUnreachableMemory(allocator::vector<Leak>& leaks, size_t limit, size_t* num_leaks,
65 bool ClassifyMappings(const allocator::vector<Mapping>& mappings,
66 allocator::vector<Mapping>& heap_mappings,
67 allocator::vector<Mapping>& anon_mappings,
68 allocator::vector<Mapping>& globals_mappings,
69 allocator::vector<Mapping>& stack_mappings);
86 bool MemUnreachable::CollectAllocations(const allocator::vector<ThreadInfo>& threads, in CollectAllocations()
87 const allocator::vector<Mapping>& mappings, in CollectAllocations()
88 const allocator::vector<uintptr_t>& refs) { in CollectAllocations()
95 allocator::vector<Mapping> heap_mappings{mappings}; in CollectAllocations()
96 allocator::vector<Mapping> anon_mappings{mappings}; in CollectAllocations()
97 allocator::vector<Mapping> globals_mappings{mappings}; in CollectAllocations()
98 allocator::vector<Mapping> stack_mappings{mappings}; in CollectAllocations()
136 bool MemUnreachable::GetUnreachableMemory(allocator::vector<Leak>& leaks, size_t limit, in GetUnreachableMemory()
145 allocator::vector<Range> leaked1{allocator_}; in GetUnreachableMemory()
157 allocator::vector<LeakFolding::Leak> leaked{allocator_}; in GetUnreachableMemory()
163 allocator::unordered_map<Leak::Backtrace, Leak*> backtrace_map{allocator_}; in GetUnreachableMemory()
215 static bool has_prefix(const allocator::string& s, const char* prefix) { in has_prefix()
220 static bool is_sanitizer_mapping(const allocator::string& s) { in is_sanitizer_mapping()
224 bool MemUnreachable::ClassifyMappings(const allocator::vector<Mapping>& mappings, in ClassifyMappings()
225 allocator::vector<Mapping>& heap_mappings, in ClassifyMappings()
226 allocator::vector<Mapping>& anon_mappings, in ClassifyMappings()
227 allocator::vector<Mapping>& globals_mappings, in ClassifyMappings()
228 allocator::vector<Mapping>& stack_mappings) { in ClassifyMappings()
234 allocator::string current_lib{allocator_}; in ClassifyMappings()
246 const allocator::string mapping_name{it->name, allocator_}; in ClassifyMappings()
298 allocator::vector<ThreadInfo> thread_info(heap); in GetUnreachableMemory()
299 allocator::vector<Mapping> mappings(heap); in GetUnreachableMemory()
300 allocator::vector<uintptr_t> refs(heap); in GetUnreachableMemory()
356 allocator::vector<Leak> leaks{heap}; in GetUnreachableMemory()