/external/clang/test/Index/ |
index-file.cpp | 4 template < typename T > *Allocate() { }
|
/external/clang/test/CXX/temp/temp.spec/temp.inst/ |
p11.cpp | 9 void Allocate(unsigned Alignment 13 void f1(A<int> x) { x.Allocate(); }
|
/external/llvm/unittests/Support/ |
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(3000, 0) [all...] |
/external/llvm/include/llvm/Support/ |
RecyclingAllocator.h | 40 /// Allocate - Return a pointer to storage for an object of type 44 SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); } 46 T *Allocate() { return Base.Allocate(Allocator); } 63 return Allocator.Allocate();
|
Allocator.h | 36 void *Allocate(size_t Size, size_t /*Alignment*/) { return malloc(Size); } 39 T *Allocate() { return static_cast<T*>(malloc(sizeof(T))); } 42 T *Allocate(size_t Num) { 61 /// by the JIT to allocate contiguous swathes of executable memory. The 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 99 /// allocate a separate slab. 128 /// StartNewSlab - Allocate a new slab and move the bump pointers over into 148 /// Allocate - Allocate space at the specified alignment [all...] |
Recycler.h | 102 SubClass *Allocate(AllocatorType &Allocator) { 109 static_cast<SubClass *>(Allocator.Allocate(Size, Align)); 113 T *Allocate(AllocatorType &Allocator) { 114 return Allocate<T>(Allocator);
|
PredIteratorCache.h | 51 Entry = Memory.Allocate<BasicBlock*>(PredCache.size());
|
/external/opencv/ |
WLNonFileByteStream.h | 41 void Allocate(int data_size);
|
WLNonFileByteStream.cpp | 33 void WLNonFileByteStream::Allocate(int data_size)
54 Allocate(data_size);
|
/external/chromium/base/win/ |
scoped_bstr.h | 34 // If you need to allocate a new BSTR instance, use |allocate| instead. 46 BSTR Allocate(const char16* str);
|
scoped_bstr.cc | 46 BSTR ScopedBstr::Allocate(const char16* str) {
|
/external/clang/lib/AST/ |
DeclGroup.cpp | 23 void* Mem = C.Allocate(Size, llvm::AlignOf<DeclGroup>::Alignment);
|
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(sizeof(CXXDynamicCastExpr) + PathSize * sizeof(CXXBaseSpecifier*)) [all...] |
DeclFriend.cpp | 51 void *Mem = C.Allocate(Size);
|
/external/openfst/src/include/fst/ |
mapped-file.h | 65 static MappedFile* Allocate(size_t size);
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
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());
|
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(&cache, -1, 1), (void*)0) [all...] |
/external/llvm/lib/Support/ |
Allocator.cpp | 45 /// StartNewSlab - Allocate a new slab and move the bump pointers over into 49 // to allocate more. Increase slab size to reduce mallocs and possibly memory 54 MemSlab *NewSlab = Allocator.Allocate(SlabSize); 89 /// Allocate - Allocate space at the specified alignment. 91 void *BumpPtrAllocator::Allocate(size_t Size, size_t Alignment) { 101 // Allocate the aligned space, going forwards from CurPtr. 114 // If Size is really big, allocate a separate slab for it. 117 MemSlab *NewSlab = Allocator.Allocate(PaddedSize); 134 assert(CurPtr <= End && "Unable to allocate memory!") [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
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>();
|
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/opencv/otherlibs/highgui/ |
bitstrm.h | 91 virtual void Allocate(); 185 virtual void Allocate();
|
/external/openfst/src/lib/ |
mapped-file.cc | 45 MappedFile* MappedFile::Allocate(size_t size) { 97 MappedFile* mf = Allocate(size);
|
/hardware/ti/omap3/dspbridge/inc/ |
dynamic_loader.h | 292 * Allocate 303 void *(*Allocate) (struct Dynamic_Loader_Sym * thisptr, 336 * A class used by the dynamic loader to allocate and deallocate target memory. 386 * Function allocate 403 int (*Allocate) (struct Dynamic_Loader_Allocate * thisptr,
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_allocator.cc | 55 void *LowLevelAllocator::Allocate(uptr size) {
|
sanitizer_flags.cc | 92 char *value_copy = (char*)(allocator_for_flags.Allocate(value_length + 1));
|