/external/llvm/unittests/Support/ |
D | AllocatorTest.cpp | 21 int *a = (int*)Alloc.Allocate(sizeof(int), 0); in TEST() 22 int *b = (int*)Alloc.Allocate(sizeof(int) * 10, 0); in TEST() 23 int *c = (int*)Alloc.Allocate(sizeof(int), 0); in TEST() 38 Alloc.Allocate(3000, 0); in TEST() 40 Alloc.Allocate(3000, 0); in TEST() 42 Alloc.Allocate(3000, 0); in TEST() 50 Alloc.Allocate(3000, 0); in TEST() 52 Alloc.Allocate(3000, 0); in TEST() 56 Alloc.Allocate(3000, 0); in TEST() 58 Alloc.Allocate(3000, 0); in TEST() [all …]
|
/external/llvm/include/llvm/Support/ |
D | 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) { 67 virtual MemSlab *Allocate(size_t Size) = 0; 82 virtual MemSlab *Allocate(size_t Size); 150 void *Allocate(size_t Size, size_t Alignment); 155 T *Allocate() { 156 return static_cast<T*>(Allocate(sizeof(T),AlignOf<T>::Alignment)); 162 T *Allocate(size_t Num) { 163 return static_cast<T*>(Allocate(Num * sizeof(T), AlignOf<T>::Alignment)); [all …]
|
D | RecyclingAllocator.h | 44 SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); } in Allocate() function 46 T *Allocate() { return Base.Allocate(Allocator); } in Allocate() function 63 return Allocator.Allocate(); in new()
|
D | Recycler.h | 90 SubClass *Allocate(AllocatorType &Allocator) { 97 static_cast<SubClass *>(Allocator.Allocate(Size, Align)); 101 T *Allocate(AllocatorType &Allocator) { 102 return Allocate<T>(Allocator);
|
/external/valgrind/tsan/ |
D | dense_multimap.h | 46 Allocate(2); in DenseMultimap() 59 Allocate(m.size()); in DenseMultimap() 66 Allocate(m.size() + 1); in DenseMultimap() 78 Allocate(m.size() - 1); in DenseMultimap() 118 void Allocate(int required_size) { in Allocate() function
|
/external/llvm/lib/Support/ |
D | Allocator.cpp | 53 MemSlab *NewSlab = Allocator.Allocate(SlabSize); in StartNewSlab() 89 void *BumpPtrAllocator::Allocate(size_t Size, size_t Alignment) { in Allocate() function in llvm::BumpPtrAllocator 111 MemSlab *NewSlab = Allocator.Allocate(PaddedSize); in Allocate() 169 MemSlab *MallocSlabAllocator::Allocate(size_t Size) { in Allocate() function in llvm::MallocSlabAllocator 170 MemSlab *Slab = (MemSlab*)Allocator.Allocate(Size, 0); in Allocate()
|
/external/clang/lib/AST/ |
D | ExprCXX.cpp | 204 void *Mem = C.Allocate(sizeof(UnresolvedLookupExpr) + in Create() 218 void *Mem = C.Allocate(size, llvm::alignOf<UnresolvedLookupExpr>()); in CreateEmpty() 259 C.Allocate(sizeof(DeclAccessPair) * NumResults, in OverloadExpr() 297 C.Allocate(sizeof(DeclAccessPair) * NumResults, in initializeResults() 351 void *Mem = C.Allocate(size); in Create() 363 void *Mem = C.Allocate(size); in CreateEmpty() 476 void *Buffer = C.Allocate(sizeof(CXXStaticCastExpr) in Create() 488 C.Allocate(sizeof(CXXStaticCastExpr) + PathSize * sizeof(CXXBaseSpecifier*)); in CreateEmpty() 500 void *Buffer = C.Allocate(sizeof(CXXDynamicCastExpr) in Create() 512 C.Allocate(sizeof(CXXDynamicCastExpr) + PathSize * sizeof(CXXBaseSpecifier*)); in CreateEmpty() [all …]
|
D | DeclGroup.cpp | 23 void* Mem = C.Allocate(Size, llvm::AlignOf<DeclGroup>::Alignment); in Create()
|
/external/e2fsprogs/tests/f_holedir/ |
D | expect.1 | 12 Directory inode 11 has an unallocated block #0. Allocate? yes 14 Directory inode 11 has an unallocated block #3. Allocate? yes 16 Directory inode 11 has an unallocated block #6. Allocate? yes
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SymbolManager.cpp | 98 SD = (SymExpr*) BPAlloc.Allocate<SymbolRegionValue>(); in getRegionValueSymbol() 116 SD = (SymExpr*) BPAlloc.Allocate<SymbolConjured>(); in getConjuredSymbol() 134 SD = (SymExpr*) BPAlloc.Allocate<SymbolDerived>(); in getDerivedSymbol() 150 SD = (SymExpr*) BPAlloc.Allocate<SymbolExtent>(); in getExtentSymbol() 168 SD = (SymExpr*) BPAlloc.Allocate<SymbolMetadata>(); in getMetadataSymbol() 187 data = (SymIntExpr*) BPAlloc.Allocate<SymIntExpr>(); in getSymIntExpr() 205 data = (SymSymExpr*) BPAlloc.Allocate<SymSymExpr>(); in getSymSymExpr()
|
D | BasicValueFactory.cpp | 80 P = (FoldNodeTy*) BPAlloc.Allocate<FoldNodeTy>(); in getValue() 121 D = (CompoundValData*) BPAlloc.Allocate<CompoundValData>(); in getCompoundValData() 140 D = (LazyCompoundValData*) BPAlloc.Allocate<LazyCompoundValData>(); in getLazyCompoundValData() 256 P = (FoldNodeTy*) BPAlloc.Allocate<FoldNodeTy>(); in getPersistentSValWithData() 281 P = (FoldNodeTy*) BPAlloc.Allocate<FoldNodeTy>(); in getPersistentSValPair()
|
D | MemRegion.cpp | 46 R = (RegionTy*) A.Allocate<RegionTy>(); in getRegion() 64 R = (RegionTy*) A.Allocate<RegionTy>(); in getSubRegion() 85 R = (RegionTy*) A.Allocate<RegionTy>(); in getRegion() 104 R = (RegionTy*) A.Allocate<RegionTy>(); in getSubRegion() 123 R = (RegionTy*) A.Allocate<RegionTy>(); in getSubRegion() 486 region = (REG*) A.Allocate<REG>(); in LazyAllocate() 496 region = (REG*) A.Allocate<REG>(); in LazyAllocate() 511 R = A.Allocate<StackLocalsSpaceRegion>(); in getStackLocalsRegion() 524 R = A.Allocate<StackArgumentsSpaceRegion>(); in getStackArgumentsRegion() 538 R = A.Allocate<StaticGlobalSpaceRegion>(); in getGlobalsRegion() [all …]
|
/external/clang/test/CXX/temp/temp.spec/temp.inst/ |
D | p11.cpp | 9 void Allocate(unsigned Alignment in Allocate() function 13 void f1(A<int> x) { x.Allocate(); } in f1()
|
/external/clang/lib/Index/ |
D | ProgramImpl.h | 47 void *Allocate(unsigned Size, unsigned Align = 8) { 48 return BumpAlloc.Allocate(Size, Align);
|
/external/llvm/include/llvm/MC/ |
D | MCContext.h | 271 void *Allocate(unsigned Size, unsigned Align = 8) { 272 return Allocator.Allocate(Size, Align); 306 return C.Allocate(Bytes, Alignment); in throw() 340 return C.Allocate(Bytes, Alignment); in throw()
|
/external/v8/test/cctest/ |
D | test-assembler-x64.cc | 92 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, in TEST() 114 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, in TEST() 146 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, in TEST() 168 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, in TEST() 196 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, in TEST() 230 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, in TEST() 259 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, in TEST()
|
/external/opencv/cxcore/include/ |
D | cvwimage.h | 311 Allocate(width, height, nchannels); in WImageBuffer() 320 void Allocate(int width, int height, int nchannels); 330 Allocate(src.Width(), src.Height()); in CloneFrom() 368 Allocate(width, height); in WImageBufferC() 377 void Allocate(int width, int height); 387 Allocate(src.Width(), src.Height()); in CloneFrom() 531 inline void WImageBuffer<T>::Allocate(int width, int height, int nchannels) in Allocate() function 542 inline void WImageBufferC<T, C>::Allocate(int width, int height) in Allocate() function
|
/external/e2fsprogs/tests/f_holedir2/ |
D | expect.1 | 7 Directory inode 12 has an unallocated block #3. Allocate? yes 9 Directory inode 13 has an unallocated block #1. Allocate? yes
|
/external/opencv/ |
D | WLNonFileByteStream.cpp | 33 void WLNonFileByteStream::Allocate(int data_size) in Allocate() function in WLNonFileByteStream 54 Allocate(data_size); in Open()
|
D | WLNonFileByteStream.h | 41 void Allocate(int data_size);
|
/external/clang/include/clang/Lex/ |
D | PreprocessingRecord.h | 292 void *Allocate(unsigned Size, unsigned Align = 8) { 293 return BumpAlloc.Allocate(Size, Align); 361 return PR.Allocate(bytes, alignment); in new()
|
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
D | p2ptransportchannel.cc | 210 Allocate(); in Connect() 245 Allocate(); in Reset() 499 void P2PTransportChannel::Allocate() { in Allocate() function in cricket::P2PTransportChannel 693 Allocate(); in HandleNotWritable() 711 Allocate(); in HandleAllTimedOut() 746 Allocate(); in OnMessage()
|
/external/opencv/otherlibs/highgui/ |
D | bitstrm.cpp | 84 void RBaseStream::Allocate() in Allocate() function in RBaseStream 144 Allocate(); in Open() 186 Allocate(); in SetBlockSize() 735 void WBaseStream::Allocate() in Allocate() function in WBaseStream 763 Allocate(); in Open() 806 Allocate(); in SetBlockSize()
|
D | bitstrm.h | 91 virtual void Allocate(); 185 virtual void Allocate();
|
/external/stlport/test/eh/ |
D | nc_alloc.cpp | 115 static void *Allocate(size_t s) { in Allocate() function in FastAllocator 175 char * const p = (char*)gFastAllocator.Allocate( s ); in AllocateBlock()
|