HomeSort by relevance Sort by last modified time
    Searched refs:Allocate (Results 1 - 25 of 129) sorted by null

1 2 3 4 5 6

  /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 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);
35 // Allocate enough bytes to create three slabs.
38 Alloc.Allocate(3000, 0);
40 Alloc.Allocate(3000, 0);
42 Alloc.Allocate(3000, 0);
46 // Allocate enough bytes to create two slabs, reset the allocator, and do it
50 Alloc.Allocate(3000, 0);
52 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);
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 90 SubClass *Allocate(AllocatorType &Allocator) {
97 static_cast<SubClass *>(Allocator.Allocate(Size, Align));
101 T *Allocate(AllocatorType &Allocator) {
102 return Allocate<T>(Allocator);
PredIteratorCache.h 51 Entry = Memory.Allocate<BasicBlock*>(PredCache.size());
  /external/clang/lib/Index/
ProgramImpl.h 47 void *Allocate(unsigned Size, unsigned Align = 8) {
48 return BumpAlloc.Allocate(Size, Align);
  /external/opencv/
WLNonFileByteStream.h 41 void Allocate(int data_size);
WLNonFileByteStream.cpp 33 void WLNonFileByteStream::Allocate(int data_size)
54 Allocate(data_size);
  /external/valgrind/tsan/
dense_multimap.h 46 Allocate(2);
59 Allocate(m.size());
66 Allocate(m.size() + 1);
78 Allocate(m.size() - 1);
118 void Allocate(int required_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) {
scoped_bstr_unittest.cc 63 EXPECT_TRUE(b1.Allocate(kTestString2) != NULL);
  /external/clang/lib/AST/
DeclGroup.cpp 23 void* Mem = C.Allocate(Size, llvm::AlignOf<DeclGroup>::Alignment);
ExprCXX.cpp 206 void *Mem = C.Allocate(sizeof(UnresolvedLookupExpr) +
220 void *Mem = C.Allocate(size, llvm::alignOf<UnresolvedLookupExpr>());
261 C.Allocate(sizeof(DeclAccessPair) * NumResults,
299 C.Allocate(sizeof(DeclAccessPair) * NumResults,
353 void *Mem = C.Allocate(size);
365 void *Mem = C.Allocate(size);
478 void *Buffer = C.Allocate(sizeof(CXXStaticCastExpr)
490 C.Allocate(sizeof(CXXStaticCastExpr) + PathSize * sizeof(CXXBaseSpecifier*));
502 void *Buffer = C.Allocate(sizeof(CXXDynamicCastExpr)
514 C.Allocate(sizeof(CXXDynamicCastExpr) + PathSize * sizeof(CXXBaseSpecifier*))
    [all...]
  /external/llvm/lib/Support/
Allocator.cpp 44 /// StartNewSlab - Allocate a new slab and move the bump pointers over into
48 // to allocate more. Increase slab size to reduce mallocs and possibly memory
53 MemSlab *NewSlab = Allocator.Allocate(SlabSize);
87 /// Allocate - Allocate space at the specified alignment.
89 void *BumpPtrAllocator::Allocate(size_t Size, size_t Alignment) {
99 // Allocate the aligned space, going forwards from CurPtr.
108 // If Size is really big, allocate a separate slab for it.
111 MemSlab *NewSlab = Allocator.Allocate(PaddedSize);
127 assert(CurPtr <= End && "Unable to allocate memory!")
    [all...]
  /external/clang/lib/StaticAnalyzer/Core/
BasicValueFactory.cpp 80 P = (FoldNodeTy*) BPAlloc.Allocate<FoldNodeTy>();
121 D = (CompoundValData*) BPAlloc.Allocate<CompoundValData>();
140 D = (LazyCompoundValData*) BPAlloc.Allocate<LazyCompoundValData>();
256 P = (FoldNodeTy*) BPAlloc.Allocate<FoldNodeTy>();
281 P = (FoldNodeTy*) BPAlloc.Allocate<FoldNodeTy>();
SymbolManager.cpp 98 SD = (SymExpr*) BPAlloc.Allocate<SymbolRegionValue>();
116 SD = (SymExpr*) BPAlloc.Allocate<SymbolConjured>();
134 SD = (SymExpr*) BPAlloc.Allocate<SymbolDerived>();
150 SD = (SymExpr*) BPAlloc.Allocate<SymbolExtent>();
168 SD = (SymExpr*) BPAlloc.Allocate<SymbolMetadata>();
187 data = (SymIntExpr*) BPAlloc.Allocate<SymIntExpr>();
205 data = (SymSymExpr*) BPAlloc.Allocate<SymSymExpr>();
MemRegion.cpp 46 R = (RegionTy*) A.Allocate<RegionTy>();
64 R = (RegionTy*) A.Allocate<RegionTy>();
85 R = (RegionTy*) A.Allocate<RegionTy>();
104 R = (RegionTy*) A.Allocate<RegionTy>();
123 R = (RegionTy*) A.Allocate<RegionTy>();
487 region = (REG*) A.Allocate<REG>();
497 region = (REG*) A.Allocate<REG>();
512 R = A.Allocate<StackLocalsSpaceRegion>();
525 R = A.Allocate<StackArgumentsSpaceRegion>();
539 R = A.Allocate<StaticGlobalSpaceRegion>()
    [all...]
  /external/opencv/otherlibs/highgui/
bitstrm.h 91 virtual void Allocate();
185 virtual void Allocate();
  /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/llvm/include/llvm/MC/
MCContext.h 267 void *Allocate(unsigned Size, unsigned Align = 8) {
268 return Allocator.Allocate(Size, Align);
295 /// @param Bytes The number of bytes to allocate. Calculated by the compiler.
302 return C.Allocate(Bytes, Alignment);
329 /// @param Bytes The number of bytes to allocate. Calculated by the compiler.
336 return C.Allocate(Bytes, Alignment);
  /external/v8/test/cctest/
test-assembler-x64.cc 90 // Allocate an executable page of memory.
92 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
112 // Allocate an executable page of memory.
114 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
144 // Allocate an executable page of memory.
146 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
166 // Allocate an executable page of memory.
168 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
194 // Allocate an executable page of memory.
196 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize
    [all...]
  /external/opencv/cxcore/include/
cvwimage.h 311 Allocate(width, height, nchannels);
318 // Allocate an image. Does nothing if current size is the same as
320 void Allocate(int width, int height, int nchannels);
330 Allocate(src.Width(), src.Height());
368 Allocate(width, height);
375 // Allocate an image. Does nothing if current size is the same as
377 void Allocate(int width, int height);
387 Allocate(src.Width(), src.Height());
528 // Allocate ImageData
531 inline void WImageBuffer<T>::Allocate(int width, int height, int nchannels
    [all...]
  /external/clang/include/clang/Sema/
ParsedTemplate.h 178 static TemplateIdAnnotation* Allocate(unsigned NumArgs) {

Completed in 738 milliseconds

1 2 3 4 5 6