/system/core/libmemunreachable/ |
H A D | ScopedSignalHandler.h | 33 ScopedSignalHandler(Allocator<Fn> allocator) : allocator_(allocator), signal_(-1) {} argument
|
H A D | LeakFolding.h | 24 LeakFolding(Allocator<void> allocator, HeapWalker& heap_walker) argument 25 : allocator_(allocator), heap_walker_(heap_walker), 26 leak_map_(allocator), leak_graph_(allocator), leak_scc_(allocator) {} 36 bool Leaked(allocator::vector<Leak>& leaked, 57 SCCInfo(Allocator<SCCInfo> allocator) : node(this, allocator), argument 73 LeakInfo(const Range& range, Allocator<LeakInfo> allocator) argument 74 : node(this, allocator), rang [all...] |
H A D | Tarjan.h | 29 allocator::set<Node<T>*> references_in; 30 allocator::set<Node<T>*> references_out; 36 Node(T* ptr, Allocator<Node> allocator) : references_in(allocator), references_out(allocator), argument 54 using Graph = allocator::vector<Node<T>*>; 57 using SCC = allocator::vector<Node<T>*>; 60 using SCCList = allocator::vector<SCC<T>>; 65 TarjanAlgorithm(Allocator<void> allocator) : index_(0), argument 66 stack_(allocator), components [all...] |
H A D | HeapWalker.h | 51 HeapWalker(Allocator<HeapWalker> allocator) : allocator_(allocator), argument 52 allocations_(allocator), allocation_bytes_(0), 53 roots_(allocator), root_vals_(allocator), 54 segv_handler_(allocator), walking_ptr_(0) { 67 void Root(const allocator::vector<uintptr_t>& vals); 71 bool Leaked(allocator::vector<Range>&, size_t limit, size_t* num_leaks, 94 using AllocationMap = allocator::map<Range, AllocationInfo, compare_range>; 99 allocator [all...] |
H A D | ThreadCapture.cpp | 74 ThreadCaptureImpl(pid_t pid, Allocator<ThreadCaptureImpl>& allocator); 89 allocator::map<pid_t, unsigned int> captured_threads_; 95 ThreadCaptureImpl::ThreadCaptureImpl(pid_t pid, Allocator<ThreadCaptureImpl>& allocator) : argument 96 captured_threads_(allocator), allocator_(allocator), pid_(pid) { 331 ThreadInfo t{0, allocator::vector<uintptr_t>(allocator_), std::pair<uintptr_t, uintptr_t>(0, 0)}; 340 ThreadCapture::ThreadCapture(pid_t pid, Allocator<ThreadCapture> allocator) { argument 341 Allocator<ThreadCaptureImpl> impl_allocator = allocator;
|
H A D | MemUnreachable.cpp | 50 MemUnreachable(pid_t pid, Allocator<void> allocator) : pid_(pid), allocator_(allocator), argument 52 bool CollectAllocations(const allocator::vector<ThreadInfo>& threads, 53 const allocator::vector<Mapping>& mappings); 54 bool GetUnreachableMemory(allocator::vector<Leak>& leaks, size_t limit, 59 bool ClassifyMappings(const allocator::vector<Mapping>& mappings, 60 allocator::vector<Mapping>& heap_mappings, 61 allocator::vector<Mapping>& anon_mappings, 62 allocator::vector<Mapping>& globals_mappings, 63 allocator [all...] |
/system/bt/osi/src/ |
H A D | hash_map.c | 21 #include "osi/include/allocator.h" 39 const allocator_t *allocator; member in struct:hash_map_t 52 // |hash_map_new|, except you get to specify the allocator. 71 hash_map->allocator = zeroed_allocator; 96 hash_map->allocator->free(hash_map->bucket); 97 hash_map->allocator->free(hash_map); 132 hash_map->bucket[hash_key].list = list_new_internal(bucket_free_, hash_map->allocator); 147 hash_map_entry = hash_map->allocator->alloc(sizeof(hash_map_entry_t)); 224 hash_map->allocator->free(hash_map_entry);
|
H A D | list.c | 3 #include "osi/include/allocator.h" 17 const allocator_t *allocator; member in struct:list_t 23 // Behaves the same as |list_new|, except you get to specify the allocator. 30 list->allocator = zeroed_allocator; 43 list->allocator->free(list); 94 list_node_t *node = (list_node_t *)list->allocator->alloc(sizeof(list_node_t)); 111 list_node_t *node = (list_node_t *)list->allocator->alloc(sizeof(list_node_t)); 127 list_node_t *node = (list_node_t *)list->allocator->alloc(sizeof(list_node_t)); 219 list->allocator->free(node);
|
H A D | eager_reader.c | 48 const allocator_t *allocator; member in struct:eager_reader_t 67 const allocator_t *allocator, 73 assert(allocator != NULL); 80 ret->allocator = allocator; 134 reader->allocator->free(reader->current_buffer); 136 fixed_queue_free(reader->buffers, reader->allocator->free); 196 reader->allocator->free(reader->current_buffer); 241 data_buffer_t *buffer = (data_buffer_t *)reader->allocator->alloc(reader->buffer_size + sizeof(data_buffer_t)); 267 reader->allocator 65 eager_reader_new( int fd_to_read, const allocator_t *allocator, size_t buffer_size, size_t max_buffer_count, const char *thread_name) argument [all...] |