/aosp_15_r20/external/compiler-rt/lib/asan/ |
H A D | asan_allocator.cc | 224 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 …]
|
/aosp_15_r20/external/compiler-rt/lib/scudo/ |
H A D | scudo_allocator.cpp | 264 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 …]
|
/aosp_15_r20/external/scudo/standalone/tests/ |
H A D | combined_test.cpp | 53 void checkMemoryTaggingMaybe(AllocatorT *Allocator, void *P, scudo::uptr Size, in checkMemoryTaggingMaybe() 165 std::unique_ptr<AllocatorT> Allocator; member 252 auto *Allocator = this->Allocator.get(); in SCUDO_TYPED_TEST() local 267 auto *Allocator = this->Allocator.get(); in BasicTest() local 322 auto *Allocator = this->Allocator.get(); in SCUDO_TYPED_TEST() local 339 auto *Allocator = this->Allocator.get(); in SCUDO_TYPED_TEST() local 357 auto *Allocator = this->Allocator.get(); in SCUDO_TYPED_TEST() local 384 auto *Allocator = this->Allocator.get(); in SCUDO_TYPED_TEST() local 402 auto *Allocator = this->Allocator.get(); in SCUDO_TYPED_TEST() local 423 auto *Allocator = this->Allocator.get(); in SCUDO_TYPED_TEST() local [all …]
|
H A D | tsd_test.cpp | 81 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in TEST() local 96 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in testRegistry() local 134 static void stressCache(AllocatorT *Allocator) NO_THREAD_SAFETY_ANALYSIS { in stressCache() 164 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in testRegistryThreaded() local 188 static void stressSharedRegistry(MockAllocator<SharedCaches> *Allocator) { in stressSharedRegistry() 216 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in TEST() local
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/containers/sequences/vector.bool/ |
H A D | ctor_exceptions.pass.cpp | 23 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 ==()
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/numeric/ublas/test/ |
D | minimal_allocator_test.cpp | 14 struct Allocator { struct 17 Allocator() BOOST_NOEXCEPT { } in Allocator() argument 20 Allocator(const Allocator<U>&) BOOST_NOEXCEPT { } in Allocator() function 32 bool operator==(const Allocator<T>&, const Allocator<U>&) BOOST_NOEXCEPT in operator ==() argument
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/containers/sequences/vector/vector.cons/ |
H A D | exceptions.pass.cpp | 23 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 ==()
|
/aosp_15_r20/external/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_memorypool.h | 46 template <typename T> struct Allocator { struct 49 Allocator() = default; argument 52 template <typename U> Allocator(const Allocator<U>& other) { (void)other; } in Allocator() argument 66 friend bool operator==(const Allocator<T>& lhs, const Allocator<T>& rhs) argument
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/DebugInfo/MSF/ |
H A D | MappedBlockStream.cpp | 47 BumpPtrAllocator &Allocator) in MappedBlockStream() 53 BumpPtrAllocator &Allocator) { in createStream() 60 BumpPtrAllocator &Allocator) { in createIndexedStream() 72 BumpPtrAllocator &Allocator) { in createDirectoryStream() 82 BumpPtrAllocator &Allocator) { in createFpmStream() 311 WritableBinaryStreamRef MsfData, BumpPtrAllocator &Allocator) in WritableMappedBlockStream() 319 BumpPtrAllocator &Allocator) { in createStream() 328 BumpPtrAllocator &Allocator) { in createIndexedStream() 339 BumpPtrAllocator &Allocator) { in createDirectoryStream() 349 BumpPtrAllocator &Allocator, in createFpmStream()
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/MSF/ |
H A D | MappedBlockStream.cpp | 48 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()
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | OrcRemoteTargetServer.h | 107 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
|
/aosp_15_r20/external/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | OrcRemoteTargetServer.h | 134 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
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/ObjectYAML/ |
H A D | CodeViewYAMLDebugSections.cpp | 402 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 …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/ |
H A D | CodeViewYAMLDebugSections.cpp | 402 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 …]
|
/aosp_15_r20/external/llvm/include/llvm/Support/ |
H A D | TargetRegistry.h | 880 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
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | TargetRegistry.h | 952 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
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/MC/ |
D | TargetRegistry.h | 1182 static MCAsmInfo *Allocator(const MCRegisterInfo & /*MRI*/, const Triple &TT, in Allocator() function 1249 static MCInstrInfo *Allocator() { return new MCInstrInfoImpl(); } in Allocator() function 1280 static MCInstrAnalysis *Allocator(const MCInstrInfo *Info) { in Allocator() function 1313 static MCRegisterInfo *Allocator(const Triple & /*TT*/) { in Allocator() function 1346 static MCSubtargetInfo *Allocator(const Triple & /*TT*/, StringRef /*CPU*/, in Allocator() function 1381 Allocator(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, in Allocator() function 1401 static MCAsmBackend *Allocator(const Target &T, const MCSubtargetInfo &STI, in Allocator() function 1422 static MCTargetAsmParser *Allocator(const MCSubtargetInfo &STI, in Allocator() function 1443 static AsmPrinter *Allocator(TargetMachine &TM, in Allocator() function 1463 static MCCodeEmitter *Allocator(const MCInstrInfo & /*II*/, in Allocator() function
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/MC/ |
D | TargetRegistry.h | 1182 static MCAsmInfo *Allocator(const MCRegisterInfo & /*MRI*/, const Triple &TT, in Allocator() function 1249 static MCInstrInfo *Allocator() { return new MCInstrInfoImpl(); } in Allocator() function 1280 static MCInstrAnalysis *Allocator(const MCInstrInfo *Info) { in Allocator() function 1313 static MCRegisterInfo *Allocator(const Triple & /*TT*/) { in Allocator() function 1346 static MCSubtargetInfo *Allocator(const Triple & /*TT*/, StringRef /*CPU*/, in Allocator() function 1381 Allocator(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, in Allocator() function 1401 static MCAsmBackend *Allocator(const Target &T, const MCSubtargetInfo &STI, in Allocator() function 1422 static MCTargetAsmParser *Allocator(const MCSubtargetInfo &STI, in Allocator() function 1443 static AsmPrinter *Allocator(TargetMachine &TM, in Allocator() function 1463 static MCCodeEmitter *Allocator(const MCInstrInfo & /*II*/, in Allocator() function
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/MC/ |
H A D | TargetRegistry.h | 1162 static MCAsmInfo *Allocator(const MCRegisterInfo & /*MRI*/, const Triple &TT, in Allocator() function 1229 static MCInstrInfo *Allocator() { return new MCInstrInfoImpl(); } in Allocator() function 1260 static MCInstrAnalysis *Allocator(const MCInstrInfo *Info) { in Allocator() function 1293 static MCRegisterInfo *Allocator(const Triple & /*TT*/) { in Allocator() function 1326 static MCSubtargetInfo *Allocator(const Triple & /*TT*/, StringRef /*CPU*/, in Allocator() function 1360 static TargetMachine *Allocator(const Target &T, const Triple &TT, in Allocator() function 1383 static MCAsmBackend *Allocator(const Target &T, const MCSubtargetInfo &STI, in Allocator() function 1404 static MCTargetAsmParser *Allocator(const MCSubtargetInfo &STI, in Allocator() function 1425 static AsmPrinter *Allocator(TargetMachine &TM, in Allocator() function 1445 static MCCodeEmitter *Allocator(const MCInstrInfo & /*II*/, in Allocator() function
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/MC/ |
D | TargetRegistry.h | 1173 static MCAsmInfo *Allocator(const MCRegisterInfo & /*MRI*/, const Triple &TT, in Allocator() function 1240 static MCInstrInfo *Allocator() { return new MCInstrInfoImpl(); } in Allocator() function 1271 static MCInstrAnalysis *Allocator(const MCInstrInfo *Info) { in Allocator() function 1304 static MCRegisterInfo *Allocator(const Triple & /*TT*/) { in Allocator() function 1337 static MCSubtargetInfo *Allocator(const Triple & /*TT*/, StringRef /*CPU*/, in Allocator() function 1372 Allocator(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, in Allocator() function 1392 static MCAsmBackend *Allocator(const Target &T, const MCSubtargetInfo &STI, in Allocator() function 1413 static MCTargetAsmParser *Allocator(const MCSubtargetInfo &STI, in Allocator() function 1434 static AsmPrinter *Allocator(TargetMachine &TM, in Allocator() function 1454 static MCCodeEmitter *Allocator(const MCInstrInfo & /*II*/, in Allocator() function
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/MC/ |
D | TargetRegistry.h | 1182 static MCAsmInfo *Allocator(const MCRegisterInfo & /*MRI*/, const Triple &TT, in Allocator() function 1249 static MCInstrInfo *Allocator() { return new MCInstrInfoImpl(); } in Allocator() function 1280 static MCInstrAnalysis *Allocator(const MCInstrInfo *Info) { in Allocator() function 1313 static MCRegisterInfo *Allocator(const Triple & /*TT*/) { in Allocator() function 1346 static MCSubtargetInfo *Allocator(const Triple & /*TT*/, StringRef /*CPU*/, in Allocator() function 1381 Allocator(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, in Allocator() function 1401 static MCAsmBackend *Allocator(const Target &T, const MCSubtargetInfo &STI, in Allocator() function 1422 static MCTargetAsmParser *Allocator(const MCSubtargetInfo &STI, in Allocator() function 1443 static AsmPrinter *Allocator(TargetMachine &TM, in Allocator() function 1463 static MCCodeEmitter *Allocator(const MCInstrInfo & /*II*/, in Allocator() function
|
/aosp_15_r20/external/pytorch/c10/core/ |
H A D | Allocator.h | 160 struct C10_API Allocator { struct 184 virtual DeleterFnPtr raw_deleter() const { in raw_deleter() 187 void* raw_allocate(size_t n) { in raw_allocate() 192 void raw_deallocate(void* ptr) { in raw_deallocate()
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/DebugInfo/PDB/Native/ |
H A D | NativeSession.cpp | 66 std::unique_ptr<BumpPtrAllocator> Allocator) in NativeSession() 78 auto Allocator = std::make_unique<BumpPtrAllocator>(); in createFromPdb() local 92 loadPdbFile(StringRef PdbPath, std::unique_ptr<BumpPtrAllocator> &Allocator) { in loadPdbFile() 121 auto Allocator = std::make_unique<BumpPtrAllocator>(); in createFromPdbPath() local 161 auto Allocator = std::make_unique<BumpPtrAllocator>(); in createFromExe() local 188 auto Allocator = std::make_unique<BumpPtrAllocator>(); in searchForPdb() local
|
/aosp_15_r20/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_allocator_test.cc | 425 Allocator; in TestCombinedAllocator() typedef 499 typedef typename AllocatorCache::Allocator Allocator; in TestSizeClassAllocatorLocalCache() typedef 552 typedef AllocatorCache::Allocator Allocator; in AllocatorLeakTestWorker() typedef 560 typedef AllocatorCache::Allocator Allocator; in TEST() typedef 593 TEST(Allocator, AllocatorCacheDeallocNewThread) { in TEST() argument 615 TEST(Allocator, Basic) { in TEST() argument 625 TEST(Allocator, Stress) { in TEST() argument 640 TEST(Allocator, LargeAlloc) { in TEST() argument 645 TEST(Allocator, ScopedBuffer) { in TEST() argument
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/container/include/boost/container/detail/ |
D | copy_move_algo.hpp | 320 uninitialized_move_alloc(Allocator &, I f, I l, F r) BOOST_NOEXCEPT_OR_NOTHROW in uninitialized_move_alloc() argument 366 …uninitialized_move_alloc_n(Allocator &, I f, typename boost::container::allocator_traits<Allocator… in uninitialized_move_alloc_n() argument 412 …uninitialized_move_alloc_n_source(Allocator &, I f, typename boost::container::allocator_traits<Al… in uninitialized_move_alloc_n_source() argument 457 uninitialized_copy_alloc(Allocator &, I f, I l, F r) BOOST_NOEXCEPT_OR_NOTHROW in uninitialized_copy_alloc() argument 503 …uninitialized_copy_alloc_n(Allocator &, I f, typename boost::container::allocator_traits<Allocator… in uninitialized_copy_alloc_n() argument 548 …uninitialized_copy_alloc_n_source(Allocator &, I f, typename boost::container::allocator_traits<Al… in uninitialized_copy_alloc_n_source() argument 592 …uninitialized_value_init_alloc_n(Allocator &, typename boost::container::allocator_traits<Allocato… in uninitialized_value_init_alloc_n() argument 997 destroy_alloc_n(Allocator &, I, U) in destroy_alloc_n() argument
|