Searched refs:Allocator (Results 1 – 11 of 11) sorted by relevance
/system/core/libmemunreachable/tests/ |
D | Allocator_test.cpp | 42 Allocator<char[100]> allocator(heap); in TEST_F() 49 Allocator<char[100]> allocator(heap); in TEST_F() 65 Allocator<char[size]> allocator(heap); in TEST_F() 89 Allocator<char[size]> allocator(heap); in TEST_F() 98 Allocator<char[size]> allocator(heap); in TEST_F() 113 Allocator<char[100]> a(heap); in TEST_F() 114 Allocator<char[200]> b = a; in TEST_F() 115 Allocator<char[300]> c(b); in TEST_F() 116 Allocator<char[100]> d(a); in TEST_F() 117 Allocator<char[100]> e(heap); in TEST_F() [all …]
|
/system/core/libmemunreachable/ |
D | Allocator.h | 35 class Allocator; variable 154 class Allocator : public STLAllocator<T> { 156 ~Allocator() {} in ~Allocator() 158 Allocator(const Heap& other) : in Allocator() function 163 Allocator(const STLAllocator<U>& other) : in Allocator() function 167 Allocator(const Allocator&) = default; 168 Allocator<T>& operator=(const Allocator<T>&) = default; 201 return std::allocate_shared<T, Allocator<T>, Args...>(Allocator<T>(*this), in make_shared() 208 using vector = std::vector<T, Allocator<T>>; 211 using list = std::list<T, Allocator<T>>; [all …]
|
D | LeakFolding.h | 24 LeakFolding(Allocator<void> allocator, HeapWalker& heap_walker) in LeakFolding() 41 Allocator<void> allocator_; 57 SCCInfo(Allocator<SCCInfo> allocator) : node(this, allocator), in SCCInfo() 73 LeakInfo(const Range& range, Allocator<LeakInfo> allocator) in LeakInfo() 86 allocator::vector<Allocator<SCCInfo>::unique_ptr> leak_scc_;
|
D | ThreadCapture.h | 37 ThreadCapture(pid_t pid, Allocator<ThreadCapture> allocator); 51 Allocator<ThreadCaptureImpl>::unique_ptr impl_;
|
D | ScopedSignalHandler.h | 33 ScopedSignalHandler(Allocator<Fn> allocator) : allocator_(allocator), signal_(-1) {} in ScopedSignalHandler() 76 Allocator<Fn> allocator_;
|
D | LeakFolding.cpp | 32 Allocator<SCCInfo> scc_allocator = allocator_; in ComputeDAG() 35 Allocator<SCCInfo>::unique_ptr leak_scc; in ComputeDAG() 73 Allocator<LeakInfo> leak_allocator = allocator_; in FoldLeaks()
|
D | ThreadCapture.cpp | 74 ThreadCaptureImpl(pid_t pid, Allocator<ThreadCaptureImpl>& allocator); 90 Allocator<ThreadCaptureImpl> allocator_; 95 ThreadCaptureImpl::ThreadCaptureImpl(pid_t pid, Allocator<ThreadCaptureImpl>& allocator) : in ThreadCaptureImpl() 340 ThreadCapture::ThreadCapture(pid_t pid, Allocator<ThreadCapture> allocator) { in ThreadCapture() 341 Allocator<ThreadCaptureImpl> impl_allocator = allocator; in ThreadCapture()
|
D | Android.mk | 4 Allocator.cpp \ 52 Allocator.cpp \
|
D | HeapWalker.h | 51 HeapWalker(Allocator<HeapWalker> allocator) : allocator_(allocator), in HeapWalker() 93 Allocator<HeapWalker> allocator_;
|
D | Tarjan.h | 36 Node(T* ptr, Allocator<Node> allocator) : references_in(allocator), references_out(allocator), in Node() 65 TarjanAlgorithm(Allocator<void> allocator) : index_(0), in TarjanAlgorithm()
|
D | MemUnreachable.cpp | 50 MemUnreachable(pid_t pid, Allocator<void> allocator) : pid_(pid), allocator_(allocator), in MemUnreachable() 66 Allocator<void> allocator_;
|