Home
last modified time | relevance | path

Searched refs:Allocator (Results 1 – 25 of 36) sorted by relevance

12

/system/memory/libmemunreachable/tests/
DAllocator_test.cpp42 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/memory/libmemunreachable/
DAllocator.h38 class Allocator; variable
145 class Allocator : public STLAllocator<T> {
147 ~Allocator() {} in ~Allocator()
149 Allocator(const Heap& other) in Allocator() function
154 Allocator(const STLAllocator<U>& other) in Allocator() function
158 Allocator(const Allocator&) = default;
159 Allocator<T>& operator=(const Allocator<T>&) = default;
188 return std::allocate_shared<T, Allocator<T>, Args...>(Allocator<T>(*this), in make_shared()
195 using vector = std::vector<T, Allocator<T>>;
198 using list = std::list<T, Allocator<T>>;
[all …]
DLeakFolding.h26 LeakFolding(Allocator<void> allocator, HeapWalker& heap_walker) in LeakFolding()
45 Allocator<void> allocator_;
61 explicit SCCInfo(Allocator<SCCInfo> allocator) in SCCInfo()
83 LeakInfo(const Range& range, Allocator<LeakInfo> allocator) in LeakInfo()
95 allocator::vector<Allocator<SCCInfo>::unique_ptr> leak_scc_;
DScopedSignalHandler.h36 explicit ScopedSignalHandler(Allocator<ScopedSignalHandler> allocator) : signal_(-1) { in ScopedSignalHandler()
38 Allocator<SignalFnMap> map_allocator = allocator; in ScopedSignalHandler()
90 static Allocator<SignalFnMap>::unique_ptr handler_map_;
DThreadCapture.h39 ThreadCapture(pid_t pid, Allocator<ThreadCapture> allocator);
53 Allocator<ThreadCaptureImpl>::unique_ptr impl_;
DLeakFolding.cpp34 Allocator<SCCInfo> scc_allocator = allocator_; in ComputeDAG()
37 Allocator<SCCInfo>::unique_ptr leak_scc; in ComputeDAG()
72 Allocator<LeakInfo> leak_allocator = allocator_; in FoldLeaks()
DThreadCapture.cpp76 ThreadCaptureImpl(pid_t pid, Allocator<ThreadCaptureImpl>& allocator);
93 Allocator<ThreadCaptureImpl> allocator_;
98 ThreadCaptureImpl::ThreadCaptureImpl(pid_t pid, Allocator<ThreadCaptureImpl>& allocator) in ThreadCaptureImpl()
336 ThreadCapture::ThreadCapture(pid_t pid, Allocator<ThreadCapture> allocator) { in ThreadCapture()
337 Allocator<ThreadCaptureImpl> impl_allocator = allocator; in ThreadCapture()
DAndroid.bp36 "Allocator.cpp",
109 "Allocator.cpp",
DHeapWalker.h49 explicit HeapWalker(Allocator<HeapWalker> allocator) in HeapWalker()
104 Allocator<HeapWalker> allocator_;
DTarjan.h39 Node(T* ptr, Allocator<Node> allocator) in Node()
69 explicit TarjanAlgorithm(Allocator<void> allocator) in TarjanAlgorithm()
DHeapWalker.cpp228 Allocator<ScopedSignalHandler::SignalFnMap>::unique_ptr ScopedSignalHandler::handler_map_;
/system/sepolicy/prebuilts/api/29.0/private/
Dtechnical_debt.cil8 ; Apps, except isolated apps, are clients of Allocator HAL
28 ; Apps, except isolated apps, are clients of Graphics Allocator HAL
38 ; Domains hosting Camera HAL implementations are clients of Allocator HAL
Daudioserver.te17 # /system/lib64/hw for always-passthrough Allocator HAL ashmem / mapper .so
/system/sepolicy/prebuilts/api/33.0/private/
Dtechnical_debt.cil8 ; Apps, except isolated apps, are clients of Allocator HAL
32 ; Apps, except isolated apps, are clients of Graphics Allocator HAL
42 ; Domains hosting Camera HAL implementations are clients of Allocator HAL
Daudioserver.te18 # /system/lib64/hw for always-passthrough Allocator HAL ashmem / mapper .so
/system/sepolicy/private/
Dtechnical_debt.cil8 ; Apps, except isolated apps, are clients of Allocator HAL
32 ; Apps, except isolated apps, are clients of Graphics Allocator HAL
42 ; Domains hosting Camera HAL implementations are clients of Allocator HAL
/system/sepolicy/prebuilts/api/34.0/private/
Dtechnical_debt.cil8 ; Apps, except isolated apps, are clients of Allocator HAL
32 ; Apps, except isolated apps, are clients of Graphics Allocator HAL
42 ; Domains hosting Camera HAL implementations are clients of Allocator HAL
/system/sepolicy/prebuilts/api/30.0/private/
Dtechnical_debt.cil8 ; Apps, except isolated apps, are clients of Allocator HAL
32 ; Apps, except isolated apps, are clients of Graphics Allocator HAL
42 ; Domains hosting Camera HAL implementations are clients of Allocator HAL
Daudioserver.te17 # /system/lib64/hw for always-passthrough Allocator HAL ashmem / mapper .so
/system/sepolicy/prebuilts/api/202404/private/
Dtechnical_debt.cil8 ; Apps, except isolated apps, are clients of Allocator HAL
32 ; Apps, except isolated apps, are clients of Graphics Allocator HAL
42 ; Domains hosting Camera HAL implementations are clients of Allocator HAL
Daudioserver.te18 # /system/lib64/hw for always-passthrough Allocator HAL ashmem / mapper .so
/system/sepolicy/prebuilts/api/31.0/private/
Dtechnical_debt.cil8 ; Apps, except isolated apps, are clients of Allocator HAL
32 ; Apps, except isolated apps, are clients of Graphics Allocator HAL
42 ; Domains hosting Camera HAL implementations are clients of Allocator HAL
/system/sepolicy/prebuilts/api/32.0/private/
Dtechnical_debt.cil8 ; Apps, except isolated apps, are clients of Allocator HAL
32 ; Apps, except isolated apps, are clients of Graphics Allocator HAL
42 ; Domains hosting Camera HAL implementations are clients of Allocator HAL
/system/chre/util/include/chre/util/flatbuffers/
Dhelpers.h29 class FlatBufferAllocator : public flatbuffers::Allocator {
/system/chre/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h610 class Allocator {
612 virtual ~Allocator() {}
652 class DefaultAllocator : public Allocator {
672 inline uint8_t *Allocate(Allocator *allocator, size_t size) {
686 inline void Deallocate(Allocator *allocator, uint8_t *p, size_t size) {
700 inline uint8_t *ReallocateDownward(Allocator *allocator, uint8_t *old_p,
732 DetachedBuffer(Allocator *allocator, bool own_allocator, uint8_t *buf,
820 Allocator *allocator_;
851 explicit vector_downward(size_t initial_size, Allocator *allocator,
976 Allocator *get_custom_allocator() { return allocator_; }
[all …]

12