/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/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 | SkMetaData.cpp | 120 Rec* rec = Rec::Alloc(sizeof(Rec) + dataSize * count + len + 1); 330 SkMetaData::Rec* SkMetaData::Rec::Alloc(size_t size) { function in class:SkMetaData::Rec
|
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);
|
H A D | SkBitmap.cpp | 41 static MipMap* Alloc(int levelCount, size_t pixelSize) { function in struct:SkBitmap::MipMap 1143 MipMap* mm = MipMap::Alloc(maxLevels, size);
|
/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/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/lib/StaticAnalyzer/Core/ |
H A D | BlockCounter.cpp | 66 BlockCounter::Factory::Factory(llvm::BumpPtrAllocator& Alloc) { argument 67 F = new CountMap::Factory(Alloc);
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
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 | 76 BasicValueFactory(ASTContext &ctx, llvm::BumpPtrAllocator& Alloc) argument 77 : Ctx(ctx), BPAlloc(Alloc), PersistentSVals(0), PersistentSValPairs(0), 78 SValListFactory(Alloc) {}
|
H A D | ProgramState.h | 416 llvm::BumpPtrAllocator &Alloc; member in class:clang::ento::ProgramStateManager 431 Alloc(alloc) { 444 Alloc(alloc) { 474 llvm::BumpPtrAllocator& getAllocator() { return Alloc; }
|
/external/llvm/lib/CodeGen/ |
H A D | LiveRangeCalc.cpp | 61 VNInfo::Allocator *Alloc) { 82 updateSSA(Indexes, DomTree, Alloc); 93 VNInfo::Allocator *Alloc) { 96 updateSSA(Indexes, DomTree, Alloc); 173 VNInfo::Allocator *Alloc) { 237 assert(Alloc && "Need VNInfo allocator to create PHI-defs"); 240 VNInfo *VNI = I->LI->getNextValue(Start, *Alloc); 57 extend(LiveInterval *LI, SlotIndex Kill, SlotIndexes *Indexes, MachineDominatorTree *DomTree, VNInfo::Allocator *Alloc) argument 91 calculateValues(SlotIndexes *Indexes, MachineDominatorTree *DomTree, VNInfo::Allocator *Alloc) argument 171 updateSSA(SlotIndexes *Indexes, MachineDominatorTree *DomTree, VNInfo::Allocator *Alloc) argument
|
/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/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/clang/test/CodeGenCXX/ |
H A D | new.cpp | 152 struct Alloc{ struct 156 ~Alloc(); 164 delete[] new Alloc[10][20];
|
H A D | mangle.cpp | 300 template<typename T, typename = Policy<P, true> > class Alloc class in namespace:PR5861 306 template class Alloc<char>;
|
/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
|
H A D | ImmutableList.h | 160 ImmutableListFactory(BumpPtrAllocator& Alloc) argument 161 : Allocator(reinterpret_cast<uintptr_t>(&Alloc) | 0x1) {}
|
H A D | ImmutableMap.h | 105 Factory(BumpPtrAllocator& Alloc, bool canonicalize = true) argument 106 : F(Alloc), Canonicalize(canonicalize) {}
|
H A D | ImmutableSet.h | 394 ImutAVLFactory(BumpPtrAllocator& Alloc) argument 395 : Allocator(reinterpret_cast<uintptr_t>(&Alloc) | 0x1) {} 972 Factory(BumpPtrAllocator& Alloc, bool canonicalize = true) argument 973 : F(Alloc), Canonicalize(canonicalize) {}
|
/external/clang/tools/libclang/ |
H A D | CXLoadedDiagnostic.cpp | 45 llvm::BumpPtrAllocator Alloc; member in class:__anon4323::CXLoadedDiagnosticSetImpl 58 char *mem = Alloc.Allocate<char>(bloblen + 1); 527 Start = TopDiags.Alloc.Allocate<CXLoadedDiagnostic::Location>(); 528 End = TopDiags.Alloc.Allocate<CXLoadedDiagnostic::Location>();
|
/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);
|
/external/clang/lib/Basic/ |
H A D | SourceManager.cpp | 1046 llvm::BumpPtrAllocator &Alloc, 1049 llvm::BumpPtrAllocator &Alloc, 1126 FI->SourceLineCache = Alloc.Allocate<unsigned>(LineOffsets.size()); 1048 ComputeLineNumbers(DiagnosticsEngine &Diag, ContentCache *FI, llvm::BumpPtrAllocator &Alloc, const SourceManager &SM, bool &Invalid) argument
|
/external/clang/lib/CodeGen/ |
H A D | CGDecl.cpp | 843 llvm::AllocaInst *Alloc = CreateTempAlloca(LTy); local 844 Alloc->setName(D.getName()); 850 Alloc->setAlignment(allocaAlignment.getQuantity()); 851 DeclPtr = Alloc; 1497 llvm::AllocaInst *Alloc = CreateTempAlloca(ConvertTypeForMem(Ty), local 1499 Alloc->setAlignment(getContext().getDeclAlign(&D).getQuantity()); 1500 DeclPtr = Alloc;
|
/external/llvm/lib/Support/ |
H A D | YAMLParser.cpp | 155 return new (Alloc.Allocate<Token>()) Token(V); 165 BumpPtrAllocator Alloc; member in struct:llvm::ilist_node_traits 751 TokenQueue.Alloc.Reset();
|