/external/llvm/unittests/Support/ |
H A D | AllocatorTest.cpp | 20 BumpPtrAllocator Alloc; local 21 int *a = (int*)Alloc.Allocate(sizeof(int), 0); 22 int *b = (int*)Alloc.Allocate(sizeof(int) * 10, 0); 23 int *c = (int*)Alloc.Allocate(sizeof(int), 0); 32 EXPECT_EQ(1U, Alloc.GetNumSlabs()); 37 BumpPtrAllocator Alloc(4096, 4096); 38 Alloc.Allocate(3000, 0); 39 EXPECT_EQ(1U, Alloc.GetNumSlabs()); 40 Alloc.Allocate(3000, 0); 41 EXPECT_EQ(2U, Alloc 64 BumpPtrAllocator Alloc; local [all...] |
/external/clang/test/CodeCompletion/ |
H A D | templates.cpp | 8 template<typename T, typename Alloc = std::allocator<T> > 9 class vector : Alloc { 14 template<typename Alloc> class vector<bool, Alloc>; 22 // CHECK-CC1-NEXT: vector<<#typename T#>{#, <#typename Alloc#>#}>
|
/external/clang/test/CXX/temp/temp.decls/temp.alias/ |
H A D | p2.cpp | 18 template<class T> struct Alloc {}; struct in namespace:StdExample 19 template<class T> using Vec = vector<T, Alloc<T>>; 27 void process(vector<T, Alloc<T>>& w) // expected-error {{redefinition of 'process'}} 34 void g(TT<int, Alloc<int>>); 42 // v's type is same as vector<int, Alloc<int>>. 43 using VTest = vector<int, Alloc<int>>;
|
/external/clang/test/CodeGenCXX/ |
H A D | mangle-alias-template.cpp | 4 template<typename T> using Alloc = alloc<T>; 5 template<typename T, typename A = Alloc<T>> struct vector {}; 31 Alloc<int> AC; 35 h<Alloc>(AC);
|
H A D | new.cpp | 152 struct Alloc{ struct 156 ~Alloc(); 164 delete[] new Alloc[10][20];
|
/external/clang/test/SemaCXX/ |
H A D | PR9902.cpp | 15 template <class Alloc> 18 template <class T> using rebind_alloc = typename __allocator_traits_rebind<Alloc, T>::type;
|
H A D | PR9908.cpp | 9 template <class Alloc> 12 typedef Alloc allocator_type;
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | BlockCounter.h | 46 Factory(llvm::BumpPtrAllocator& Alloc);
|
H A D | ProgramStateTrait.h | 65 static void *CreateContext(llvm::BumpPtrAllocator& Alloc) { argument 66 return new typename data_type::Factory(Alloc); 107 static void *CreateContext(llvm::BumpPtrAllocator& Alloc) { argument 108 return new typename data_type::Factory(Alloc); 145 static void *CreateContext(llvm::BumpPtrAllocator& Alloc) { argument 146 return new typename data_type::Factory(Alloc);
|
H A D | BasicValueFactory.h | 81 BasicValueFactory(ASTContext &ctx, llvm::BumpPtrAllocator& Alloc) argument 82 : Ctx(ctx), BPAlloc(Alloc), PersistentSVals(0), PersistentSValPairs(0), 83 SValListFactory(Alloc) {}
|
/external/skia/src/core/ |
H A D | SkRegionPriv.h | 25 static RunHead* Alloc(int count) function in struct:SkRegion::RunHead 65 writable = Alloc(fRunCount);
|
H A D | SkPictureFlat.cpp | 18 SkFlatData* SkFlatData::Alloc(SkChunkAlloc* heap, int32_t size, int index) { function in class:SkFlatData 32 SkFlatBitmap* result = (SkFlatBitmap*) INHERITED::Alloc(heap, size, index); 39 SkFlatMatrix* result = (SkFlatMatrix*) INHERITED::Alloc(heap, size, index); 100 SkFlatPaint* result = (SkFlatPaint*) INHERITED::Alloc(heap, size, index); 218 SkFlatRegion* result = (SkFlatRegion*) INHERITED::Alloc(heap, size, index);
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | BlockCounter.cpp | 66 BlockCounter::Factory::Factory(llvm::BumpPtrAllocator& Alloc) { argument 67 F = new CountMap::Factory(Alloc);
|
/external/llvm/lib/CodeGen/ |
H A D | LiveRangeCalc.h | 40 VNInfo::Allocator *Alloc; member in class:llvm::LiveRangeCalc 127 LiveRangeCalc() : MRI(0), Indexes(0), DomTree(0), Alloc(0) {} 162 /// single existing value, Alloc may be null.
|
H A D | LiveRangeCalc.cpp | 28 Alloc = VNIA; 57 LI->createDeadDef(Idx, *Alloc); 322 assert(Alloc && "Need VNInfo allocator to create PHI-defs"); 325 VNInfo *VNI = I->LI->getNextValue(Start, *Alloc);
|
/external/zlib/src/contrib/dotzlib/DotZLib/ |
H A D | ChecksumImpl.cs | 137 GCHandle hData = GCHandle.Alloc(data, GCHandleType.Pinned);
188 GCHandle hData = GCHandle.Alloc(data, GCHandleType.Pinned);
|
H A D | CodecBase.cs | 54 _hInput = GCHandle.Alloc(_inBuffer, GCHandleType.Pinned);
55 _hOutput = GCHandle.Alloc(_outBuffer, GCHandleType.Pinned);
|
H A D | GZipStream.cs | 162 GCHandle h = GCHandle.Alloc(buffer, GCHandleType.Pinned);
207 GCHandle h = GCHandle.Alloc(buffer, GCHandleType.Pinned);
|
/external/clang/include/clang/Analysis/Support/ |
H A D | BumpVector.h | 33 llvm::PointerIntPair<llvm::BumpPtrAllocator*, 1> Alloc; member in class:clang::BumpVectorContext 37 BumpVectorContext() : Alloc(new llvm::BumpPtrAllocator(), 1) {} 42 BumpVectorContext(llvm::BumpPtrAllocator &A) : Alloc(&A, 0) {} 45 if (Alloc.getInt()) 46 delete Alloc.getPointer(); 49 llvm::BumpPtrAllocator &getAllocator() { return *Alloc.getPointer(); }
|
/external/skia/include/core/ |
H A D | SkDescriptor.h | 23 static SkDescriptor* Alloc(size_t length) function in class:SkDescriptor 92 SkDescriptor* desc = SkDescriptor::Alloc(fLength); 160 fDesc = SkDescriptor::Alloc(size);
|
/external/clang/include/clang/Lex/ |
H A D | PTHManager.h | 42 /// Alloc - Allocator used for IdentifierInfo objects. 43 llvm::BumpPtrAllocator Alloc; member in class:clang::PTHManager
|
/external/clang/test/Index/ |
H A D | index-templates.cpp | 8 template<typename T, typename Alloc = allocator<T> > 117 // CHECK-LOAD: index-templates.cpp:8:31: TemplateTypeParameter=Alloc:8:31 (Definition) Extent=[8:22 - 8:51]
|
/external/clang/test/SemaTemplate/ |
H A D | issue150.cpp | 78 template<class> class Alloc>
|
/external/llvm/include/llvm/ADT/ |
H A D | ImmutableIntervalMap.h | 97 ImutIntervalAVLFactory(BumpPtrAllocator &Alloc) argument 98 : ImutAVLFactory<ImutInfo>(Alloc) {} 214 Factory(BumpPtrAllocator& Alloc) : F(Alloc) {} argument
|
/external/llvm/include/llvm/Support/ |
H A D | YAMLParser.h | 139 , BumpPtrAllocator &Alloc 141 return Alloc.Allocate(Size, Alignment); 144 void operator delete(void *Ptr, BumpPtrAllocator &Alloc, size_t) throw() { argument 145 Alloc.Deallocate(Ptr);
|