Home
last modified time | relevance | path

Searched refs:Allocate (Results 1 – 25 of 192) sorted by relevance

12345678

/external/llvm/unittests/Support/
DAllocatorTest.cpp21 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/
DAllocator.h36 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 …]
DRecyclingAllocator.h44 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()
DRecycler.h90 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/
Ddense_multimap.h46 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/
DAllocator.cpp53 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/
DExprCXX.cpp204 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 …]
DDeclGroup.cpp23 void* Mem = C.Allocate(Size, llvm::AlignOf<DeclGroup>::Alignment); in Create()
/external/e2fsprogs/tests/f_holedir/
Dexpect.112 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/
DSymbolManager.cpp98 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()
DBasicValueFactory.cpp80 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()
DMemRegion.cpp46 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/
Dp11.cpp9 void Allocate(unsigned Alignment in Allocate() function
13 void f1(A<int> x) { x.Allocate(); } in f1()
/external/clang/lib/Index/
DProgramImpl.h47 void *Allocate(unsigned Size, unsigned Align = 8) {
48 return BumpAlloc.Allocate(Size, Align);
/external/llvm/include/llvm/MC/
DMCContext.h271 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/
Dtest-assembler-x64.cc92 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/
Dcvwimage.h311 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/
Dexpect.17 Directory inode 12 has an unallocated block #3. Allocate? yes
9 Directory inode 13 has an unallocated block #1. Allocate? yes
/external/opencv/
DWLNonFileByteStream.cpp33 void WLNonFileByteStream::Allocate(int data_size) in Allocate() function in WLNonFileByteStream
54 Allocate(data_size); in Open()
DWLNonFileByteStream.h41 void Allocate(int data_size);
/external/clang/include/clang/Lex/
DPreprocessingRecord.h292 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/
Dp2ptransportchannel.cc210 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/
Dbitstrm.cpp84 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()
Dbitstrm.h91 virtual void Allocate();
185 virtual void Allocate();
/external/stlport/test/eh/
Dnc_alloc.cpp115 static void *Allocate(size_t s) { in Allocate() function in FastAllocator
175 char * const p = (char*)gFastAllocator.Allocate( s ); in AllocateBlock()

12345678