Home
last modified time | relevance | path

Searched defs:Allocator (Results 1 – 25 of 157) sorted by relevance

1234567

/external/compiler-rt/lib/asan/
Dasan_allocator.cc224 struct Allocator { struct
225 static const uptr kMaxAllowedMallocSize =
227 static const uptr kMaxThreadLocalQuarantine =
230 AsanAllocator allocator;
231 AsanQuarantine quarantine;
232 StaticSpinMutex fallback_mutex;
233 AllocatorCache fallback_allocator_cache;
234 QuarantineCache fallback_quarantine_cache;
237 atomic_uint16_t min_redzone;
238 atomic_uint16_t max_redzone;
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/containers/sequences/vector.bool/
Dctor_exceptions.pass.cpp23 struct Allocator { struct
28 Allocator(const Allocator<U>&) {} in Allocator() argument
30 Allocator(bool should_throw = true) { in Allocator() function
39 friend bool operator==(const Allocator&, const Allocator<U>&) { return true; } in operator ==()
/external/compiler-rt/lib/scudo/
Dscudo_allocator.cpp264 struct Allocator { struct
265 static const uptr MaxAllowedMallocSize = 1ULL << 40;
266 static const uptr MinAlignment = 1 << MinAlignmentLog;
267 static const uptr MaxAlignment = 1 << MaxAlignmentLog; // 16 MB
269 ScudoAllocator BackendAllocator;
270 ScudoQuarantine AllocatorQuarantine;
275 StaticSpinMutex FallbackMutex;
276 AllocatorCache FallbackAllocatorCache;
277 QuarantineCache FallbackQuarantineCache;
279 bool DeallocationTypeMismatch;
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/containers/sequences/vector/vector.cons/
Dexceptions.pass.cpp23 struct Allocator { struct
28 Allocator(const Allocator<U>&) {} in Allocator() argument
30 Allocator(bool should_throw = true) { in Allocator() argument
39 friend bool operator==(const Allocator&, const Allocator<U>&) { return true; } in operator ==()
/external/scudo/standalone/tests/
Dcombined_test.cpp49 void checkMemoryTaggingMaybe(AllocatorT *Allocator, void *P, scudo::uptr Size, in checkMemoryTaggingMaybe()
105 std::unique_ptr<AllocatorT> Allocator; member
134 auto *Allocator = this->Allocator.get(); in SCUDO_TYPED_TEST() local
149 auto *Allocator = this->Allocator.get(); in BasicTest() local
202 auto *Allocator = this->Allocator.get(); in SCUDO_TYPED_TEST() local
219 auto *Allocator = this->Allocator.get(); in SCUDO_TYPED_TEST() local
237 auto *Allocator = this->Allocator.get(); in SCUDO_TYPED_TEST() local
264 auto *Allocator = this->Allocator.get(); in SCUDO_TYPED_TEST() local
282 auto *Allocator = this->Allocator.get(); in SCUDO_TYPED_TEST() local
303 auto *Allocator = this->Allocator.get(); in SCUDO_TYPED_TEST() local
[all …]
Dtsd_test.cpp80 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in TEST() local
94 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in testRegistry() local
130 template <typename AllocatorT> static void stressCache(AllocatorT *Allocator) { in stressCache()
162 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in testRegistryThreaded() local
186 static void stressSharedRegistry(MockAllocator<SharedCaches> *Allocator) { in stressSharedRegistry()
217 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in TEST() local
/external/swiftshader/third_party/subzero/src/
DIceMemory.cpp32 ArenaAllocator *Allocator = in set_current() local
37 void CfgAllocatorTraits::set_current(ArenaAllocator *Allocator) { in set_current()
53 ArenaAllocator *Allocator = in set_current() local
/external/cronet/base/containers/
Dstack_container_unittest.cc175 struct Allocator : std::allocator<int> { struct
176 using Base = std::allocator<int>;
178 int* allocate(size_t n) { in allocate()
182 void deallocate(int* p, size_t n) { in deallocate()
187 static int allocated;
188 static int deallocated;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/MSF/
DMappedBlockStream.cpp48 BumpPtrAllocator &Allocator) in MappedBlockStream()
54 BumpPtrAllocator &Allocator) { in createStream()
61 BumpPtrAllocator &Allocator) { in createIndexedStream()
73 BumpPtrAllocator &Allocator) { in createDirectoryStream()
83 BumpPtrAllocator &Allocator) { in createFpmStream()
312 WritableBinaryStreamRef MsfData, BumpPtrAllocator &Allocator) in WritableMappedBlockStream()
320 BumpPtrAllocator &Allocator) { in createStream()
329 BumpPtrAllocator &Allocator) { in createIndexedStream()
340 BumpPtrAllocator &Allocator) { in createDirectoryStream()
350 BumpPtrAllocator &Allocator, in createFpmStream()
/external/armnn/src/backends/backendsCommon/
DMemoryManager.hpp11 struct Allocator struct
14 std::shared_ptr<ICustomAllocator> m_CustomAllocator{};
16 size_t m_Alignment = 0 ;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DRecycler.h68 void clear(AllocatorType &Allocator) { in clear()
83 SubClass *Allocate(AllocatorType &Allocator) { in Allocate()
93 T *Allocate(AllocatorType &Allocator) { in Allocate()
DRecyclingAllocator.h34 AllocatorType Allocator; variable
64 T, Size, Align> &Allocator) { in new()
DTargetRegistry.h952 static MCAsmInfo *Allocator(const MCRegisterInfo & /*MRI*/, const Triple &TT, in Allocator() function
986 static MCInstrInfo *Allocator() { return new MCInstrInfoImpl(); } in Allocator() function
1017 static MCInstrAnalysis *Allocator(const MCInstrInfo *Info) { in Allocator() function
1050 static MCRegisterInfo *Allocator(const Triple & /*TT*/) { in Allocator() function
1083 static MCSubtargetInfo *Allocator(const Triple & /*TT*/, StringRef /*CPU*/, in Allocator() function
1118 Allocator(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, in Allocator() function
1138 static MCAsmBackend *Allocator(const Target &T, const MCSubtargetInfo &STI, in Allocator() function
1159 static MCTargetAsmParser *Allocator(const MCSubtargetInfo &STI, in Allocator() function
1180 static AsmPrinter *Allocator(TargetMachine &TM, in Allocator() function
1200 static MCCodeEmitter *Allocator(const MCInstrInfo & /*II*/, in Allocator() function
DArrayRecycler.h104 void clear(AllocatorType &Allocator) { in clear()
125 T *allocate(Capacity Cap, AllocatorType &Allocator) { in allocate()
/external/llvm/include/llvm/Support/
DRecycler.h67 void clear(AllocatorType &Allocator) { in clear()
82 SubClass *Allocate(AllocatorType &Allocator) { in Allocate()
92 T *Allocate(AllocatorType &Allocator) { in Allocate()
DRecyclingAllocator.h35 AllocatorType Allocator; variable
65 T, Size, Align> &Allocator) { in new()
DTargetRegistry.h880 static MCAsmInfo *Allocator(const MCRegisterInfo & /*MRI*/, in Allocator() function
920 static MCInstrInfo *Allocator() { return new MCInstrInfoImpl(); } in Allocator() function
951 static MCInstrAnalysis *Allocator(const MCInstrInfo *Info) { in Allocator() function
984 static MCRegisterInfo *Allocator(const Triple & /*TT*/) { in Allocator() function
1017 static MCSubtargetInfo *Allocator(const Triple & /*TT*/, StringRef /*CPU*/, in Allocator() function
1051 static TargetMachine *Allocator(const Target &T, const Triple &TT, in Allocator() function
1073 static MCAsmBackend *Allocator(const Target &T, const MCRegisterInfo &MRI, in Allocator() function
1093 static MCTargetAsmParser *Allocator(const MCSubtargetInfo &STI, in Allocator() function
1114 static AsmPrinter *Allocator(TargetMachine &TM, in Allocator() function
1134 static MCCodeEmitter *Allocator(const MCInstrInfo & /*II*/, in Allocator() function
DAllocator.h147 BumpPtrAllocatorImpl(T &&Allocator) in BumpPtrAllocatorImpl()
309 AllocatorT Allocator; variable
366 BumpPtrAllocator Allocator; variable
418 SizeThreshold> &Allocator) { in new()
DArrayRecycler.h103 void clear(AllocatorType &Allocator) { in clear()
124 T *allocate(Capacity Cap, AllocatorType &Allocator) { in allocate()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetServer.h107 struct Allocator { struct
109 Allocator(Allocator &&Other) : Allocs(std::move(Other.Allocs)) {} in Allocator() function
116 ~Allocator() { in ~Allocator() argument
121 Error allocate(void *&Addr, size_t Size, uint32_t Align) { in allocate()
134 Error setProtections(void *block, unsigned Flags) { in setProtections()
382 auto &Allocator = I->second; in handleReserveMem() local
403 auto &Allocator = I->second; in handleSetProtections() local
/external/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetServer.h134 struct Allocator { struct
136 Allocator(Allocator &&Other) : Allocs(std::move(Other.Allocs)) {} in Allocator() function
142 ~Allocator() { in ~Allocator() argument
147 Error allocate(void *&Addr, size_t Size, uint32_t Align) { in allocate()
160 Error setProtections(void *block, unsigned Flags) { in setProtections()
392 auto &Allocator = I->second; in handleReserveMem() local
411 auto &Allocator = I->second; in handleSetProtections() local
/external/v4l2_codec2/
DREADME.md249 #### Example of Android.bp
270 #### Example of C2VendorAllocatorFactory.cpp
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DCodeViewYAMLDebugSections.cpp402 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
413 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
444 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
465 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
475 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
489 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
500 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
509 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
532 BumpPtrAllocator &Allocator, in toCodeViewSubsection()
748 BumpPtrAllocator &Allocator, ArrayRef<YAMLDebugSubsection> Subsections, in toCodeViewSubsectionList()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DAllocator.h150 BumpPtrAllocatorImpl(T &&Allocator) in BumpPtrAllocatorImpl()
312 AllocatorT Allocator; variable
369 BumpPtrAllocator Allocator; variable
421 SizeThreshold> &Allocator) { in new()
/external/scudo/standalone/benchmarks/
Dmalloc_benchmark.cpp29 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in BM_malloc_free() local
69 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in BM_malloc_free_loop() local

1234567