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

1 2

  /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/clang/lib/Index/
ProgramImpl.h 47 void *Allocate(unsigned Size, unsigned Align = 8) {
48 return BumpAlloc.Allocate(Size, Align);
  /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();
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);
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...]
  /external/opencv/
WLNonFileByteStream.cpp 33 void WLNonFileByteStream::Allocate(int data_size)
54 Allocate(data_size);
  /external/chromium/base/win/
scoped_bstr.cc 46 BSTR ScopedBstr::Allocate(const char16* str) {
  /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/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/include/clang/Basic/
PartialDiagnostic.h 87 /// \brief Allocate new storage.
88 Storage *Allocate() {
121 /// \brief Allocator used to allocate storage for this diagnostic.
130 DiagStorage = Allocator->Allocate();
  /external/clang/include/clang/Sema/
ParsedTemplate.h 178 static TemplateIdAnnotation* Allocate(unsigned NumArgs) {
  /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/stlport/test/eh/
nc_alloc.cpp 115 static void *Allocate(size_t s) {
175 char * const p = (char*)gFastAllocator.Allocate( s );
  /external/clang/include/clang/Lex/
PreprocessingRecord.h 337 /// \brief Allocate space for a new set of loaded preprocessed entities.
350 /// \brief Allocate memory in the preprocessing record.
351 void *Allocate(unsigned Size, unsigned Align = 8) {
352 return BumpAlloc.Allocate(Size, Align);
536 return PR.Allocate(bytes, alignment);
  /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/v8/src/
global-handles.cc 258 Node* Allocate() {
334 // Allocate a new node.
335 result = pool_->Allocate();
platform-nullos.cc 201 void* OS::Allocate(const size_t requested,
platform-openbsd.cc 149 void* OS::Allocate(const size_t requested,
157 LOG(ISOLATE, StringEvent("OS::Allocate", "mmap failed"));
platform-cygwin.cc 145 void* OS::Allocate(const size_t requested,
152 LOG(ISOLATE, StringEvent("OS::Allocate", "mmap failed"));
259 // Allocate enough room to be able to store a full file name.
platform-freebsd.cc 158 void* OS::Allocate(const size_t requested,
166 LOG(ISOLATE, StringEvent("OS::Allocate", "mmap failed"));
platform-macos.cc 146 void* OS::Allocate(const size_t requested,
155 LOG(Isolate::Current(), StringEvent("OS::Allocate", "mmap failed"));
  /external/chromium/third_party/libjingle/source/talk/p2p/base/
p2ptransportchannel.cc 210 Allocate();
245 Allocate();
498 // Begin allocate (or immediately re-allocate, if MSG_ALLOCATE pending)
499 void P2PTransportChannel::Allocate() {
507 // Cancels the pending allocate, if any.
693 Allocate();
711 Allocate();
746 Allocate();
    [all...]
  /external/llvm/lib/ExecutionEngine/JIT/
JITMemoryManager.cpp 134 "Cannot allocate an allocated block!");
146 /// FreeRangeHeader to allocate from.
261 virtual MemSlab *Allocate(size_t Size);
305 /// DefaultCodeSlabSize - When we have to go map more memory, we allocate at
309 /// DefaultSlabSize - Allocate data into slabs of this size unless we get
314 /// should allocate a separate slab.
328 /// startFunctionBody - When a function starts, allocate a block of free
349 // If this block isn't big enough for the allocation desired, allocate
360 // Allocate the entire memory block.
366 /// allocateNewCodeSlab - Helper method to allocate a new slab of cod
    [all...]
  /external/opencv/otherlibs/highgui/
bitstrm.cpp 84 void RBaseStream::Allocate()
144 Allocate();
186 Allocate();
735 void WBaseStream::Allocate()
763 Allocate();
806 Allocate();

Completed in 567 milliseconds

1 2