/external/swiftshader/third_party/subzero/src/ |
H A D | IceMemory.cpp | 32 ArenaAllocator *Allocator = local 33 Manager == nullptr ? nullptr : Manager->Allocator.get(); 34 set_current(Allocator); 37 void CfgAllocatorTraits::set_current(ArenaAllocator *Allocator) { argument 38 ICE_TLS_SET_FIELD(CfgAllocator, Allocator); 53 ArenaAllocator *Allocator = local 55 ICE_TLS_SET_FIELD(LivenessAllocator, Allocator);
|
/external/ImageMagick/Magick++/lib/Magick++/ |
H A D | Blob.h | 24 enum Allocator enum in class:Magick::Blob 72 const Allocator allocator_=NewAllocator);
|
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.cons/ |
H A D | size.pass.cpp | 23 template <class T, class Allocator> 24 void check_allocator(unsigned n, Allocator const &alloc = Allocator()) argument 27 typedef std::forward_list<T, Allocator> C;
|
/external/libcxx/test/std/containers/sequences/list/list.cons/ |
H A D | size_type.pass.cpp | 22 template <class T, class Allocator> 24 test3(unsigned n, Allocator const &alloc = Allocator()) argument 27 typedef std::list<T, Allocator> C;
|
/external/libcxx/test/std/containers/sequences/deque/deque.cons/ |
H A D | size.pass.cpp | 23 template <class T, class Allocator> 28 typedef std::deque<T, Allocator> C; 32 C d(n, Allocator()); 45 template <class T, class Allocator> 49 typedef std::deque<T, Allocator> C; 65 template <class T, class Allocator> 67 test3(unsigned n, Allocator const &alloc = Allocator()) argument 70 typedef std::deque<T, Allocator> C; 82 template <class T, class Allocator> [all...] |
H A D | iter_iter.pass.cpp | 31 typedef std::allocator<T> Allocator; typedef 32 typedef std::deque<T, Allocator> C; 41 template <class Allocator, class InputIterator> 46 typedef std::deque<T, Allocator> C;
|
/external/gemmlowp/internal/ |
H A D | allocator.h | 36 // The allocated storage is only freed when the Allocator object is 72 class Allocator { class in namespace:gemmlowp 74 Allocator() function in class:gemmlowp::Allocator 82 ~Allocator() { 128 friend class Allocator;
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
H A D | RecyclingAllocator.h | 1 //==- llvm/Support/RecyclingAllocator.h - Recycling Allocator ----*- C++ -*-==// 22 /// RecyclingAllocator - This class wraps an Allocator, adding the 33 /// Allocator - The wrapped allocator. 35 AllocatorType Allocator; member in class:llvm::RecyclingAllocator 38 ~RecyclingAllocator() { Base.clear(Allocator); } 44 SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); } 46 T *Allocate() { return Base.Allocate(Allocator); } 52 void Deallocate(SubClass* E) { return Base.Deallocate(Allocator, E); } 62 T, Size, Align> &Allocator) { 63 return Allocator 60 operator new(size_t, llvm::RecyclingAllocator<AllocatorType, T, Size, Align> &Allocator) argument [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
H A D | vkMemUtil.hpp | 36 * Allocator implementation. Test code should use Allocator for allocating 113 class Allocator class in namespace:vk 116 Allocator (void) {} function in class:vk::Allocator 117 virtual ~Allocator (void) {} 123 //! Allocator that backs every allocation with its own VkDeviceMemory 124 class SimpleAllocator : public Allocator
|
/external/clang/include/clang/AST/ |
H A D | CommentParser.h | 21 #include "llvm/Support/Allocator.h" 40 /// Allocator for anything that goes into AST nodes. 41 llvm::BumpPtrAllocator &Allocator; member in class:clang::comments::Parser 89 Parser(Lexer &L, Sema &S, llvm::BumpPtrAllocator &Allocator,
|
H A D | CommentSema.h | 23 #include "llvm/Support/Allocator.h" 37 /// Allocator for AST nodes. 38 llvm::BumpPtrAllocator &Allocator; member in class:clang::comments::Sema 73 Sema(llvm::BumpPtrAllocator &Allocator, const SourceManager &SourceMgr, 83 return Source.copy(Allocator);
|
H A D | CommentCommandTraits.h | 23 #include "llvm/Support/Allocator.h" 137 CommandTraits(llvm::BumpPtrAllocator &Allocator, 179 /// Allocator for CommandInfo objects. 180 llvm::BumpPtrAllocator &Allocator; member in class:clang::comments::CommandTraits
|
/external/llvm/include/llvm/Support/ |
H A D | Recycler.h | 1 //==- llvm/Support/Recycler.h - Recycling Allocator --------------*- C++ -*-==// 20 #include "llvm/Support/Allocator.h" 67 void clear(AllocatorType &Allocator) { argument 70 Allocator.Deallocate(t); 82 SubClass *Allocate(AllocatorType &Allocator) { argument 88 : static_cast<SubClass *>(Allocator.Allocate(Size, Align)); 92 T *Allocate(AllocatorType &Allocator) { argument 93 return Allocate<T>(Allocator); 97 void Deallocate(AllocatorType & /*Allocator*/, SubClass* Element) {
|
H A D | RecyclingAllocator.h | 1 //==- llvm/Support/RecyclingAllocator.h - Recycling Allocator ----*- C++ -*-==// 22 /// RecyclingAllocator - This class wraps an Allocator, adding the 33 /// Allocator - The wrapped allocator. 35 AllocatorType Allocator; member in class:llvm::RecyclingAllocator 38 ~RecyclingAllocator() { Base.clear(Allocator); } 44 SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); } 46 T *Allocate() { return Base.Allocate(Allocator); } 52 void Deallocate(SubClass* E) { return Base.Deallocate(Allocator, E); } 55 Allocator.PrintStats(); 65 T, Size, Align> &Allocator) { 63 operator new(size_t size, llvm::RecyclingAllocator<AllocatorType, T, Size, Align> &Allocator) argument [all...] |
H A D | ArrayRecycler.h | 11 // arrays allocated from one of the allocators in Allocator.h 19 #include "llvm/Support/Allocator.h" 103 void clear(AllocatorType &Allocator) { argument 106 Allocator.Deallocate(Ptr); 120 /// Return an existing recycled array, or allocate one from Allocator if 124 T *allocate(Capacity Cap, AllocatorType &Allocator) { argument 129 return static_cast<T*>(Allocator.Allocate(sizeof(T)*Cap.getSize(), Align));
|
/external/llvm/unittests/Support/ |
H A D | ArrayRecyclerTest.cpp | 11 #include "llvm/Support/Allocator.h" 52 BumpPtrAllocator Allocator; local 56 Object *A1 = DUT.allocate(Cap, Allocator); 60 Object *A2 = DUT.allocate(Cap, Allocator); 64 Object *A3 = DUT.allocate(Cap, Allocator); 84 Object *A2x = DUT.allocate(Cap, Allocator); 93 Object *A3x = DUT.allocate(Cap, Allocator); 95 Object *A1x = DUT.allocate(Cap, Allocator); 97 Object *A2y = DUT.allocate(Cap, Allocator); 101 Object *A4 = DUT.allocate(Cap, Allocator); [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
H A D | MachineLoopRanges.h | 35 typedef Map::Allocator Allocator; typedef in class:llvm::MachineLoopRange 49 MachineLoopRange(const MachineLoop*, Allocator&, SlotIndexes&); 88 typedef MachineLoopRange::Allocator MapAllocator; 90 MapAllocator Allocator; member in class:llvm::MachineLoopRanges
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | Environment.h | 109 EnvironmentManager(llvm::BumpPtrAllocator& Allocator) : F(Allocator) {} argument
|
/external/clang/lib/AST/ |
H A D | CommentCommandTraits.cpp | 18 CommandTraits::CommandTraits(llvm::BumpPtrAllocator &Allocator, argument 20 NextID(llvm::array_lengthof(Commands)), Allocator(Allocator) { 85 char *Name = Allocator.Allocate<char>(CommandName.size() + 1); 90 CommandInfo *Info = new (Allocator) CommandInfo();
|
/external/clang/lib/Format/ |
H A D | FormatTokenLexer.h | 78 llvm::SpecificBumpPtrAllocator<FormatToken> Allocator; member in class:clang::format::FormatTokenLexer
|
/external/clang/unittests/AST/ |
H A D | CommentLexer.cpp | 35 Traits(Allocator, CommentOptions()) { 43 llvm::BumpPtrAllocator Allocator; member in class:clang::comments::__anon3683::CommentLexerTest 67 Lexer L(Allocator, Diags, Traits, Begin, Source, Source + strlen(Source));
|
/external/llvm/lib/Support/ |
H A D | Signals.cpp | 99 BumpPtrAllocator Allocator; local 100 StringSaver StrPool(Allocator);
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | Signals.cpp | 99 BumpPtrAllocator Allocator; local 100 StringSaver StrPool(Allocator);
|
/external/tensorflow/tensorflow/core/framework/ |
H A D | allocator.cc | 47 constexpr size_t Allocator::kAllocatorAlignment; 49 Allocator::~Allocator() {} 71 class CPUAllocator : public Allocator { 127 Allocator* cpu_allocator() { 128 static Allocator* cpu_alloc = AllocatorRegistry::Global()->GetAllocator();
|
/external/clang/include/clang/Analysis/Analyses/ |
H A D | ThreadSafetyUtil.h | 20 #include "llvm/Support/Allocator.h" 44 MemRegionRef() : Allocator(nullptr) {} 45 MemRegionRef(llvm::BumpPtrAllocator *A) : Allocator(A) {} 48 return Allocator->Allocate(Sz, llvm::AlignOf<AlignmentType>::Alignment); 51 template <typename T> T *allocateT() { return Allocator->Allocate<T>(); } 54 return Allocator->Allocate<T>(NumElems); 58 llvm::BumpPtrAllocator *Allocator; member in class:clang::threadSafety::til::MemRegionRef
|