HomeSort by relevance Sort by last modified time
    Searched defs:Allocator (Results 1 - 25 of 30) sorted by null

1 2

  /external/llvm/include/llvm/Support/
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;
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) {
    [all...]
Allocator.h 1 //===--- Allocator.h - Simple memory allocation abstraction -----*- C++ -*-===//
52 /// the bump allocator.
60 /// allocation strategy for the bump allocator. In particular, this is used
62 /// interface uses MemSlab's instead of void *'s so that the allocator
71 /// MallocSlabAllocator - The default slab allocator for the bump allocator
75 /// Allocator - The underlying allocator that we forward to.
77 MallocAllocator Allocator;
80 MallocSlabAllocator() : Allocator() { }
    [all...]
TargetRegistry.h     [all...]
  /hardware/msm7k/libgralloc-qsd8k/
pmemalloc.h 45 * A PMEM allocator that allocates the entire pmem memory from the kernel and
46 * then uses a user-space allocator to suballocate from that. This requires
56 class Allocator {
58 virtual ~Allocator();
83 PmemUserspaceAllocator(Deps& deps, Deps::Allocator& allocator, const char* pmemdev);
110 Deps::Allocator& allocator; member in class:PmemUserspaceAllocator
120 * A PMEM allocator that allocates each individual allocation from the kernel
121 * (using the kernel's allocator). This requires the kernel driver for th
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/gpu/
PODArena.h 47 // The arena is configured with an allocator, which is responsible
49 class Allocator : public RefCounted<Allocator> {
54 virtual ~Allocator() { }
55 friend class WTF::RefCounted<Allocator>;
58 // The Arena's default allocator, which uses fastMalloc and
60 class FastMallocAllocator : public Allocator {
80 // Creates a new PODArena configured with the given Allocator.
81 static PassRefPtr<PODArena> create(PassRefPtr<Allocator> allocator)
    [all...]
  /external/llvm/include/llvm/CodeGen/
MachineLoopRanges.h 35 typedef Map::Allocator Allocator;
49 MachineLoopRange(const MachineLoop*, Allocator&, SlotIndexes&);
88 typedef MachineLoopRange::Allocator MapAllocator;
90 MapAllocator Allocator;
LiveInterval.h 25 #include "llvm/Support/Allocator.h"
55 typedef BumpPtrAllocator Allocator;
201 /// register or value. This class also contains a bit of register allocator
298 VNInfo::Allocator &VNInfoAllocator) {
308 VNInfo::Allocator &VNInfoAllocator) {
354 VNInfo::Allocator &VNInfoAllocator);
MachineFunction.h 24 #include "llvm/Support/Allocator.h"
103 BumpPtrAllocator Allocator;
212 // This should be just `new (Allocator.Allocate<Ty>()) Ty(*this)', but
214 Ty *Loc = static_cast<Ty*>(Allocator.Allocate(sizeof(Ty),
SelectionDAG.h 167 /// Allocator - Pool allocation for misc. objects that are created once per
169 BumpPtrAllocator Allocator;
    [all...]
  /external/chromium/base/
stack_container.h 14 // This allocator can be used with STL containers to provide a stack buffer
19 // STL likes to make copies of allocators, so the allocator itself can't hold
21 // StackAllocator::Source which contains the data. Copying the allocator
23 // based on our allocator will share the same stack buffer.
33 class StackAllocator : public std::allocator<T> {
35 typedef typename std::allocator<T>::pointer pointer;
36 typedef typename std::allocator<T>::size_type size_type;
38 // Backing store for the allocator. The container owner is responsible for
39 // maintaining this for as long as any containers using this allocator are
68 // Used by containers when they want to refer to an allocator of type U
    [all...]
  /external/v8/src/
hashmap.h 35 // Allocator defines the memory allocator interface
36 // used by HashMap and implements a default allocator.
37 class Allocator BASE_EMBEDDED {
39 virtual ~Allocator() {}
47 static Allocator DefaultAllocator;
59 Allocator* allocator = &DefaultAllocator,
106 Allocator* allocator_;
  /external/chromium/base/allocator/
allocator_shim.cc 5 #include "base/allocator/allocator_shim.h"
33 TCMALLOC, // TCMalloc is the default allocator.
35 WINHEAP, // Windows Heap (standard Windows allocator).
37 } Allocator;
39 // This is the default allocator. This value can be changed at startup by
42 // allocator.
44 static Allocator allocator = WINHEAP; variable
47 // selection of the allocator. The primary may be used to control overall
48 // allocator selection, and the secondary can be used to specify an allocato
282 namespace allocator { namespace in namespace:base
    [all...]
  /external/clang/include/clang/Basic/
PartialDiagnostic.h 75 /// \brief An allocator for Storage objects, which uses a small cache to
121 /// \brief Allocator used to allocate storage for this diagnostic.
122 StorageAllocator *Allocator;
129 if (Allocator)
130 DiagStorage = Allocator->Allocate();
132 assert(Allocator != reinterpret_cast<StorageAllocator *>(~uintptr_t(0)));
142 if (Allocator)
143 Allocator->Deallocate(DiagStorage);
144 else if (Allocator != reinterpret_cast<StorageAllocator *>(~uintptr_t(0)))
175 PartialDiagnostic(unsigned DiagID, StorageAllocator &Allocator)
    [all...]
  /external/llvm/lib/CodeGen/
ExecutionDepsFix.cpp 30 #include "llvm/Support/Allocator.h"
107 SpecificBumpPtrAllocator<DomainValue> Allocator;
170 new(Allocator.Allocate()) DomainValue :
515 Allocator.DestroyAll();
LiveIntervalUnion.h 59 // LiveIntervalUnions share an external allocator.
60 typedef LiveSegments::Allocator Allocator;
70 LiveIntervalUnion(unsigned r, Allocator &a) : RepReg(r), Tag(0), Segments(a)
SplitKit.h 255 /// Allocator for the interval map. This will eventually be shared with
257 RegAssignMap::Allocator Allocator;
  /external/llvm/include/llvm/ADT/
ImmutableList.h 17 #include "llvm/Support/Allocator.h"
146 uintptr_t Allocator;
149 return Allocator & 0x1 ? false : true;
153 return *reinterpret_cast<BumpPtrAllocator*>(Allocator & ~0x1);
158 : Allocator(reinterpret_cast<uintptr_t>(new BumpPtrAllocator())) {}
161 : Allocator(reinterpret_cast<uintptr_t>(&Alloc) | 0x1) {}
IntervalMap.h 43 // typedef RecyclingAllocator<...> Allocator;
47 // explicit IntervalMap(Allocator&);
104 #include "llvm/Support/Allocator.h"
435 /// Allocator - The recycling allocator used for both branch and leaf nodes.
437 /// reasonably sized entries, so the same allocator can be shared among
440 AllocBytes, CacheLineBytes> Allocator;
    [all...]
ScopedHashTable.h 35 #include "llvm/Support/Allocator.h"
64 AllocatorTy &Allocator) {
65 ScopedHashTableVal *New = Allocator.template Allocate<ScopedHashTableVal>();
74 void Destroy(AllocatorTy &Allocator) {
77 Allocator.Deallocate(this);
156 AllocatorTy Allocator;
163 ScopedHashTable(AllocatorTy A) : CurScope(0), Allocator(A) {}
169 /// Access to the allocator.
172 AllocatorRefTy getAllocator() { return Allocator; }
173 AllocatorCRefTy getAllocator() const { return Allocator; }
    [all...]
StringMap.h 18 #include "llvm/Support/Allocator.h"
149 AllocatorTy &Allocator,
162 static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
179 AllocatorTy &Allocator) {
180 return Create(KeyStart, KeyEnd, Allocator, 0);
218 /// specified allocator.
220 void Destroy(AllocatorTy &Allocator) {
223 Allocator.Deallocate(this);
226 /// Destroy this object, releasing memory back to the malloc allocator.
240 AllocatorTy Allocator;
    [all...]
  /external/llvm/include/llvm/MC/
MCContext.h 17 #include "llvm/Support/Allocator.h"
56 /// Allocator - Allocator object used for creating machine code objects.
58 /// We use a bump pointer allocator to avoid the need to track all allocated
60 BumpPtrAllocator Allocator;
268 return Allocator.Allocate(Size, Align);
278 /// @brief Placement new for using the MCContext's allocator.
280 /// This placement form of operator new uses the MCContext's allocator for
282 /// null on error. (If that is what the allocator does. The current does, so if
296 /// @param C The MCContext that provides the allocator
    [all...]
  /external/llvm/include/llvm/Transforms/Utils/
SSAUpdaterImpl.h 59 BumpPtrAllocator Allocator;
96 BBInfo *Info = new (Allocator) BBInfo(BB, 0);
113 (Allocator.Allocate(Info->NumPreds * sizeof(BBInfo*),
128 BBInfo *PredInfo = new (Allocator) BBInfo(Pred, PredVal);
143 BBInfo *PseudoEntry = new (Allocator) BBInfo(0, 0);
  /external/clang/lib/Basic/
IdentifierTable.cpp 442 llvm::BumpPtrAllocator Allocator;
452 return SelTabImpl.Allocator.getTotalMemory();
474 (MultiKeywordSelector*)SelTabImpl.Allocator.Allocate(Size,
  /external/skia/include/core/
SkBitmap.h 48 class Allocator;
273 /** Use the specified Allocator to create the pixelref that manages the
281 @param allocator The Allocator to use to create a pixelref that can
283 width/height/config. If allocator is NULL, the standard
292 bool allocPixels(Allocator* allocator, SkColorTable* ctable);
472 @param allocator Allocator used to allocate the pixelref for the dst
477 bool copyTo(SkBitmap* dst, Config c, Allocator* allocator = NULL) const
    [all...]
  /external/clang/tools/libclang/
CXCursor.cpp 1009 CodeCompletionAllocator *Allocator
1013 = Result.CreateCodeCompletionString(S, *Allocator);
1024 CodeCompletionAllocator *Allocator
    [all...]

Completed in 1839 milliseconds

1 2