/art/test/130-hprof/src-ex/ |
Allocator.java | 17 // Simple allocator that returns a boot class path object. 18 public class Allocator {
|
/external/ImageMagick/Magick++/lib/Magick++/ |
Blob.h | 24 enum Allocator 72 const Allocator allocator_=NewAllocator);
|
/hardware/qcom/display/msm8996/libgralloc1/ |
gr_allocator.h | 48 class Allocator { 50 Allocator(); 51 ~Allocator();
|
/hardware/qcom/display/msm8998/libgralloc1/ |
gr_allocator.h | 48 class Allocator { 50 Allocator(); 51 ~Allocator();
|
/external/libcxx/test/std/containers/sequences/deque/deque.cons/ |
iter_iter.pass.cpp | 27 typedef std::allocator<T> Allocator; 28 typedef std::deque<T, Allocator> C; 37 template <class Allocator, class InputIterator> 42 typedef std::deque<T, Allocator> C;
|
/frameworks/native/include/ui/ |
Gralloc2.h | 22 #include <android/hardware/graphics/allocator/2.0/IAllocator.h> 31 using hardware::graphics::allocator::V2_0::IAllocator; 78 class Allocator { 80 // An allocator relies on a mapper, and that mapper must be alive at all 82 Allocator(const Mapper& mapper);
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.cons/ |
iter_iter.pass.cpp | 26 typedef std::allocator<T> Allocator; 27 typedef std::deque<T, Allocator> C; 36 template <class Allocator, class InputIterator> 41 typedef std::deque<T, Allocator> C;
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/containers/sequences/deque/deque.cons/ |
iter_iter.pass.cpp | 26 typedef std::allocator<T> Allocator; 27 typedef std::deque<T, Allocator> C; 36 template <class Allocator, class InputIterator> 41 typedef std::deque<T, Allocator> C;
|
/external/gemmlowp/internal/ |
allocator.h | 15 // allocator.h: a buffer allocator that allows avoiding most of the 23 // 1. On Android, the default (Bionic) allocator tends to aggressively 34 // 5. The allocator is now reverted to its original state, except that 36 // The allocated storage is only freed when the Allocator object is 80 class Allocator { 82 Allocator() 90 ~Allocator() { 142 friend class Allocator;
|
/external/clang/include/clang/AST/ |
CommentParser.h | 21 #include "llvm/Support/Allocator.h" 40 /// Allocator for anything that goes into AST nodes. 41 llvm::BumpPtrAllocator &Allocator; 89 Parser(Lexer &L, Sema &S, llvm::BumpPtrAllocator &Allocator,
|
CommentSema.h | 23 #include "llvm/Support/Allocator.h" 37 /// Allocator for AST nodes. 38 llvm::BumpPtrAllocator &Allocator; 73 Sema(llvm::BumpPtrAllocator &Allocator, const SourceManager &SourceMgr, 79 /// Returns a copy of array, owned by Sema's allocator. 83 return Source.copy(Allocator);
|
/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); } 55 Allocator.PrintStats() [all...] |
/external/swiftshader/third_party/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...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkMemUtil.hpp | 36 * Allocator implementation. Test code should use Allocator for allocating 110 //! Memory allocator interface 111 class Allocator 114 Allocator (void) {} 115 virtual ~Allocator (void) {} 121 //! Allocator that backs every allocation with its own VkDeviceMemory 122 class SimpleAllocator : public Allocator
|
/external/llvm/unittests/Support/ |
ArrayRecyclerTest.cpp | 11 #include "llvm/Support/Allocator.h" 52 BumpPtrAllocator Allocator; 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/ |
MachineLoopRanges.h | 35 typedef Map::Allocator Allocator; 49 MachineLoopRange(const MachineLoop*, Allocator&, SlotIndexes&); 88 typedef MachineLoopRange::Allocator MapAllocator; 90 MapAllocator Allocator;
|
/frameworks/native/libs/ui/ |
Gralloc2.cpp | 197 Allocator::Allocator(const Mapper& mapper) 206 std::string Allocator::dumpDebugInfo() const 217 Error Allocator::allocate(BufferDescriptor descriptor, uint32_t count,
|
/external/clang/include/clang/Analysis/Analyses/ |
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;
|
/external/clang/lib/Format/ |
FormatTokenLexer.h | 78 llvm::SpecificBumpPtrAllocator<FormatToken> Allocator;
|
/external/clang/unittests/AST/ |
CommentLexer.cpp | 35 Traits(Allocator, CommentOptions()) { 43 llvm::BumpPtrAllocator Allocator; 67 Lexer L(Allocator, Diags, Traits, Begin, Source, Source + strlen(Source)); [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_allocator_testlib.cc | 46 SecondaryAllocator> Allocator; 48 static Allocator allocator; member in namespace:__anon16105 59 allocator.SwallowCache(&cache); 65 allocator.Init(false /*may_return_null*/); 78 void *p = allocator.Allocate(&cache, size, 8); 87 allocator.Deallocate(&cache, p); 94 void *p = allocator.Allocate(&cache, size, 8, false); 106 p = allocator.Reallocate(&cache, p, size, 8); 116 void *p = allocator.Allocate(&cache, size, alignment) [all...] |
/external/dng_sdk/source/ |
dng_host.cpp | 39 dng_host::dng_host (dng_memory_allocator *allocator, 42 : fAllocator (allocator) 69 dng_memory_allocator & dng_host::Allocator () 93 return Allocator ().Allocate (logicalSize); 240 &Allocator (), 279 dng_xmp *result = new dng_xmp (Allocator ()); 349 Allocator ());
|
/external/llvm/include/llvm/CodeGen/ |
LiveInterval.h | 27 #include "llvm/Support/Allocator.h" 48 typedef BumpPtrAllocator Allocator; 228 LiveRange(const LiveRange &Other, BumpPtrAllocator &Allocator) { 234 createValueCopy(VNI, Allocator); 307 VNInfo *getNextValue(SlotIndex def, VNInfo::Allocator &VNInfoAllocator) { 317 VNInfo *createDeadDef(SlotIndex Def, VNInfo::Allocator &VNInfoAllocator); 322 VNInfo::Allocator &VNInfoAllocator) { 613 BumpPtrAllocator &Allocator) 614 : LiveRange(Other, Allocator), Next(nullptr), LaneMask(LaneMask) { 689 SubRange *createSubRange(BumpPtrAllocator &Allocator, [all...] |
/external/llvm/lib/Support/ |
Signals.cpp | 99 BumpPtrAllocator Allocator; 100 StringSaver StrPool(Allocator);
|
/libcore/luni/src/main/java/libcore/util/ |
NativeAllocationRegistry.java | 134 * {@link #registerNativeAllocation(Object, Allocator) registerNativeAllocation(Object, Allocator)}. 136 public interface Allocator { 150 * If the allocator returns null, the allocation is not registered and a 154 * @param allocator used to perform the underlying native allocation. 159 * case, the allocator will not be run. 161 public Runnable registerNativeAllocation(Object referent, Allocator allocator) { 167 // Create the cleaner before running the allocator so that 172 long nativePtr = allocator.allocate() [all...] |