/external/clang/test/Index/ |
H A D | index-file.cpp | 4 template < typename T > *Allocate() { } function
|
/external/clang/test/CXX/temp/temp.spec/temp.inst/ |
H A D | p11.cpp | 9 void Allocate(unsigned Alignment function in struct:test0::A 13 void f1(A<int> x) { x.Allocate(); }
|
/external/llvm/unittests/Support/ |
H A D | AllocatorTest.cpp | 20 int *a = (int*)Alloc.Allocate(sizeof(int), 0); 21 int *b = (int*)Alloc.Allocate(sizeof(int) * 10, 0); 22 int *c = (int*)Alloc.Allocate(sizeof(int), 0); 34 // Allocate enough bytes to create three slabs. 37 Alloc.Allocate(3000, 0); 39 Alloc.Allocate(3000, 0); 41 Alloc.Allocate(3000, 0); 45 // Allocate enough bytes to create two slabs, reset the allocator, and do it 49 Alloc.Allocate(3000, 0); 51 Alloc.Allocate(300 111 virtual MemSlab *Allocate(size_t Size) { function in class:__anon10098::MockSlabAllocator [all...] |
/external/llvm/include/llvm/Support/ |
H A D | Allocator.h | 36 void *Allocate(size_t Size, size_t /*Alignment*/) { return malloc(Size); } function in class:llvm::MallocAllocator 39 T *Allocate() { return static_cast<T*>(malloc(sizeof(T))); } function in class:llvm::MallocAllocator 42 T *Allocate(size_t Num) { function in class:llvm::MallocAllocator 67 virtual MemSlab *Allocate(size_t Size) = 0; 82 virtual MemSlab *Allocate(size_t Size) LLVM_OVERRIDE; 94 /// SlabSize - Allocate data into slabs of this size unless we get an 128 /// StartNewSlab - Allocate a new slab and move the bump pointers over into 148 /// Allocate - Allocate space at the specified alignment. 150 void *Allocate(size_ 155 T *Allocate() { function in class:llvm::BumpPtrAllocator 162 T *Allocate(size_t Num) { function in class:llvm::BumpPtrAllocator 169 T *Allocate(size_t Num, size_t Alignment) { function in class:llvm::BumpPtrAllocator 219 T *Allocate(size_t num = 1) { function in class:llvm::SpecificBumpPtrAllocator [all...] |
H A D | RecyclingAllocator.h | 40 /// Allocate - Return a pointer to storage for an object of type 44 SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); } function in class:llvm::RecyclingAllocator 46 T *Allocate() { return Base.Allocate(Allocator); } function in class:llvm::RecyclingAllocator 63 return Allocator.Allocate();
|
H A D | Recycler.h | 102 SubClass *Allocate(AllocatorType &Allocator) { function in class:llvm::Recycler 109 static_cast<SubClass *>(Allocator.Allocate(Size, Align)); 113 T *Allocate(AllocatorType &Allocator) { function in class:llvm::Recycler 114 return Allocate<T>(Allocator);
|
H A D | PredIteratorCache.h | 51 Entry = Memory.Allocate<BasicBlock*>(PredCache.size());
|
/external/opencv/ |
H A D | WLNonFileByteStream.h | 41 void Allocate(int data_size);
|
H A D | WLNonFileByteStream.cpp | 33 void WLNonFileByteStream::Allocate(int data_size)
function in class:WLNonFileByteStream 54 Allocate(data_size);
|
/external/clang/lib/AST/ |
H A D | DeclGroup.cpp | 23 void* Mem = C.Allocate(Size, llvm::AlignOf<DeclGroup>::Alignment);
|
H A D | ExprCXX.cpp | 240 void *Mem = C.Allocate(sizeof(UnresolvedLookupExpr) + 256 void *Mem = C.Allocate(size, llvm::alignOf<UnresolvedLookupExpr>()); 300 C.Allocate(sizeof(DeclAccessPair) * NumResults, 341 C.Allocate(sizeof(DeclAccessPair) * NumResults, 400 void *Mem = C.Allocate(size); 412 void *Mem = C.Allocate(size); 533 void *Buffer = C.Allocate(sizeof(CXXStaticCastExpr) 545 C.Allocate(sizeof(CXXStaticCastExpr) + PathSize * sizeof(CXXBaseSpecifier*)); 558 void *Buffer = C.Allocate(sizeof(CXXDynamicCastExpr) 570 C.Allocate(sizeo [all...] |
H A D | DeclFriend.cpp | 51 void *Mem = C.Allocate(Size);
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_allocator_testlib.cc | 76 void *p = allocator.Allocate(&cache, size, 8); 92 void *p = allocator.Allocate(&cache, size, 8, false); 114 void *p = allocator.Allocate(&cache, size, alignment); 122 *memptr = allocator.Allocate(&cache, size, alignment); 132 void *p = allocator.Allocate(&cache, size, GetPageSizeCached());
|
H A D | sanitizer_allocator_test.cc | 77 // Allocate a bunch of chunks. 86 char *x = (char*)cache.Allocate(a, class_id0); 155 void *x = cache.Allocate(a, 1 + i % 50); 246 void *x = a.Allocate(&stats, 1 << 20, 1); 283 // Allocate some. 285 allocated[i] = (char *)a.Allocate(&stats, size, 1); 298 // Allocate some more, also add metadata. 300 char *x = (char *)a.Allocate(&stats, size, 1); 329 char *p = allocated[i] = (char *)a.Allocate(&stats, size, alignment); 355 EXPECT_EQ(a->Allocate( [all...] |
/external/llvm/lib/Support/ |
H A D | Allocator.cpp | 45 /// StartNewSlab - Allocate a new slab and move the bump pointers over into 54 MemSlab *NewSlab = Allocator.Allocate(SlabSize); 89 /// Allocate - Allocate space at the specified alignment. 91 void *BumpPtrAllocator::Allocate(size_t Size, size_t Alignment) { function in class:llvm::BumpPtrAllocator 101 // Allocate the aligned space, going forwards from CurPtr. 117 MemSlab *NewSlab = Allocator.Allocate(PaddedSize); 177 MemSlab *MallocSlabAllocator::Allocate(size_t Size) { function in class:llvm::MallocSlabAllocator 178 MemSlab *Slab = (MemSlab*)Allocator.Allocate(Size, 0);
|
/external/chromium/base/win/ |
H A D | scoped_bstr.h | 46 BSTR Allocate(const char16* str);
|
H A D | scoped_bstr.cc | 46 BSTR ScopedBstr::Allocate(const char16* str) { function in class:base::win::ScopedBstr
|
/external/openfst/src/include/fst/ |
H A D | mapped-file.h | 65 static MappedFile* Allocate(size_t size);
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | BasicValueFactory.cpp | 81 P = (FoldNodeTy*) BPAlloc.Allocate<FoldNodeTy>(); 118 D = (CompoundValData*) BPAlloc.Allocate<CompoundValData>(); 137 D = (LazyCompoundValData*) BPAlloc.Allocate<LazyCompoundValData>(); 253 P = (FoldNodeTy*) BPAlloc.Allocate<FoldNodeTy>(); 278 P = (FoldNodeTy*) BPAlloc.Allocate<FoldNodeTy>();
|
H A D | SymbolManager.cpp | 158 SD = (SymExpr*) BPAlloc.Allocate<SymbolRegionValue>(); 177 SD = (SymExpr*) BPAlloc.Allocate<SymbolConjured>(); 195 SD = (SymExpr*) BPAlloc.Allocate<SymbolDerived>(); 211 SD = (SymExpr*) BPAlloc.Allocate<SymbolExtent>(); 229 SD = (SymExpr*) BPAlloc.Allocate<SymbolMetadata>(); 246 data = (SymbolCast*) BPAlloc.Allocate<SymbolCast>(); 264 data = (SymIntExpr*) BPAlloc.Allocate<SymIntExpr>(); 282 data = (IntSymExpr*) BPAlloc.Allocate<IntSymExpr>(); 300 data = (SymSymExpr*) BPAlloc.Allocate<SymSymExpr>();
|
/external/openfst/src/lib/ |
H A D | mapped-file.cc | 45 MappedFile* MappedFile::Allocate(size_t size) { function in class:fst::MappedFile 97 MappedFile* mf = Allocate(size);
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_allocator.cc | 55 void *LowLevelAllocator::Allocate(uptr size) { function in class:__sanitizer::LowLevelAllocator
|
H A D | sanitizer_flags.cc | 92 char *value_copy = (char*)(allocator_for_flags.Allocate(value_length + 1));
|
/external/compiler-rt/lib/asan/ |
H A D | asan_allocator2.cc | 284 void *Allocate(uptr size) { function in struct:__asan::QuarantineCallback 285 return allocator.Allocate(cache_, size, 1, false); 300 static void *Allocate(uptr size, uptr alignment, StackTrace *stack, function in namespace:__asan 343 allocated = allocator.Allocate(cache, needed_size, 8, false); 347 allocated = allocator.Allocate(cache, needed_size, 8, false); 486 void *new_ptr = Allocate(new_size, 8, stack, FROM_MALLOC); 591 return Allocate(size, alignment, stack, alloc_type); 601 return Allocate(size, 8, stack, FROM_MALLOC); 606 void *ptr = Allocate(nmemb * size, 8, stack, FROM_MALLOC); 616 return Allocate(siz [all...] |
H A D | asan_globals.cc | 80 (ListOfGlobals*)allocator_for_globals.Allocate(sizeof(ListOfGlobals)); 85 l = (ListOfGlobals*)allocator_for_globals.Allocate(sizeof(ListOfGlobals));
|