Searched defs:Allocate (Results 1 - 25 of 96) sorted by last modified time

1234

/external/stlport/test/eh/
H A Dnc_alloc.cpp115 static void *Allocate(size_t s) { function in class:FastAllocator
175 char * const p = (char*)gFastAllocator.Allocate( s );
/external/skia/src/core/
H A DSkBitmapFilter.cpp97 SkBitmapFilter *SkBitmapFilter::Allocate() { function in class:SkBitmapFilter
138 fBitmapFilter = SkBitmapFilter::Allocate();
/external/protobuf/src/google/protobuf/
H A Ddescriptor.cc373 // Allocate an object which will be reclaimed when the pool is
377 template<typename Type> Type* Allocate();
379 // Allocate an array of objects which will be reclaimed when the
383 // Allocate a string which will be destroyed when the pool is destroyed.
387 // Allocate a protocol message object. Some older versions of GCC have
393 // Allocate a FileDescriptorTables object.
414 // Allocate some bytes which will be reclaimed when the pool is
706 Type* DescriptorPool::Tables::Allocate() { function in class:google::protobuf::DescriptorPool::Tables
2428 FileDescriptor* placeholder_file = tables_->Allocate<FileDescriptor>();
2503 FileDescriptor* placeholder = tables_->Allocate<FileDescripto
[all...]
/external/opencv/
H A DWLNonFileByteStream.cpp33 void WLNonFileByteStream::Allocate(int data_size) function in class:WLNonFileByteStream
54 Allocate(data_size);
/external/opencv/cxcore/include/
H A Dcvwimage.h311 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(in function in class:cv::WImageBuffer
542 inline void WImageBufferC<T, C>::Allocate(int width, int height) function in class:cv::WImageBufferC
[all...]
/external/opencv/otherlibs/highgui/
H A Dbitstrm.cpp84 void RBaseStream::Allocate() function in class:RBaseStream
144 Allocate();
186 Allocate();
735 void WBaseStream::Allocate() function in class:WBaseStream
763 Allocate();
806 Allocate();
/external/openfst/src/include/fst/
H A Dcache.h50 // S *Allocate(StateId s);
67 S *Allocate(StateId s) { function in struct:fst::DefaultCacheStateAllocator
157 cache_first_state_ = allocator_->Allocate(cache_first_state_id_);
167 S *copied_state = allocator_->Allocate(s);
508 cache_first_state_ = allocator_->Allocate(s);
514 // With Default allocator, the Free and Allocate will reuse the same S*.
517 cache_first_state_ = allocator_->Allocate(s);
525 state = allocator_->Allocate(s);
/external/openfst/src/lib/
H A Dmapped-file.cc45 MappedFile* MappedFile::Allocate(size_t size) { function in class:fst::MappedFile
97 MappedFile* mf = Allocate(size);
/external/llvm/unittests/Support/
H A DAllocatorTest.cpp20 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);
49 // Allocate enough bytes to create three slabs.
52 Alloc.Allocate(3000, 0);
54 Alloc.Allocate(3000, 0);
56 Alloc.Allocate(3000, 0);
60 // Allocate enough bytes to create two slabs, reset the allocator, and do it
64 Alloc.Allocate(3000, 0);
66 Alloc.Allocate(300
126 void *Allocate(size_t Size, size_t /*Alignment*/) { function in class:__anon26521::MockSlabAllocator
[all...]
/external/llvm/include/llvm/MC/
H A DMCContext.h420 void *Allocate(unsigned Size, unsigned Align = 8) { function in class:llvm::MCContext
421 return Allocator.Allocate(Size, Align);
460 return C.Allocate(Bytes, Alignment);
494 return C.Allocate(Bytes, Alignment);
/external/llvm/include/llvm/Support/
H A DAllocator.h13 /// Allocate method accepting a size and alignment, and a Deallocate accepting
15 /// Allocate and Deallocate for setting size and alignment based on the final
37 /// Allocate() methods of LLVM-style allocators.
44 /// \brief Allocate \a Size bytes of \a Alignment aligned memory. This method
46 void *Allocate(size_t Size, size_t Alignment) { function in class:llvm::AllocatorBase
49 &AllocatorBase::Allocate) !=
51 &DerivedT::Allocate),
53 "core Allocate(size_t, size_t) overload!");
55 return static_cast<DerivedT *>(this)->Allocate(Size, Alignment);
75 /// \brief Allocate spac
76 template <typename T> T *Allocate(size_t Num = 1) { function in class:llvm::AllocatorBase
93 void *Allocate(size_t Size, size_t /*Alignment*/) { return malloc(Size); } function in class:llvm::MallocAllocator
203 void *Allocate(size_t Size, size_t Alignment) { function in class:llvm::BumpPtrAllocatorImpl
402 T *Allocate(size_t num = 1) { return Allocator.Allocate<T>(num); } function in class:llvm::SpecificBumpPtrAllocator
[all...]
H A DRecycler.h101 SubClass *Allocate(AllocatorType &Allocator) { function in class:llvm::Recycler
108 static_cast<SubClass *>(Allocator.Allocate(Size, Align));
112 T *Allocate(AllocatorType &Allocator) { function in class:llvm::Recycler
113 return Allocate<T>(Allocator);
H A DRecyclingAllocator.h40 /// Allocate - Return a pointer to storage for an object of type
44 SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); } function in class:llvm::RecyclingAllocator
46 T *Allocate() { return Base.Allocate(Allocator); } function in class:llvm::RecyclingAllocator
67 return Allocator.Allocate();
/external/llvm/lib/ExecutionEngine/JIT/
H A DJITMemoryManager.cpp277 void *Allocate(size_t Size, size_t /*Alignment*/);
293 /// DefaultSlabSize - Allocate globals and stubs into slabs of 64K (probably
385 // Allocate the entire memory block.
440 /// allocateSpace - Allocate a memory block of the given size. This method
458 /// allocateStub - Allocate memory for a function stub.
461 return (uint8_t*)StubAllocator.Allocate(StubSize, Alignment);
464 /// allocateGlobal - Allocate memory for a global.
466 return (uint8_t*)DataAllocator.Allocate(Size, Alignment);
469 /// allocateCodeSection - Allocate memory for a code section.
508 // Allocate th
572 void *JITAllocator::Allocate(size_t Size, size_t /*Alignment*/) { function in class:JITAllocator
[all...]
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp180 // Allocate common symbols
361 // Allocate memory for the section
428 uintptr_t Allocate; local
436 Allocate = DataSize + PaddingSize + StubBufSize;
437 Addr = IsCode ? MemMgr->allocateCodeSection(Allocate, Alignment, SectionID,
439 : MemMgr->allocateDataSection(Allocate, Alignment, SectionID,
465 << " Allocate: " << Allocate << "\n"); local
471 Allocate = 0;
476 << " Allocate local
[all...]
/external/lldb/source/Expression/
H A DIRForTarget.cpp72 lldb::addr_t IRForTarget::StaticDataAllocator::Allocate() function in class:IRForTarget::StaticDataAllocator
2527 lldb::addr_t allocation = m_data_allocator.Allocate();
/external/compiler-rt/lib/asan/
H A Dasan_allocator2.cc263 void *Allocate(uptr size) { function in struct:__asan::QuarantineCallback
264 return allocator.Allocate(cache_, size, 1, false);
283 static void *Allocate(uptr size, uptr alignment, StackTrace *stack, function in namespace:__asan
325 allocated = allocator.Allocate(cache, needed_size, 8, false);
329 allocated = allocator.Allocate(cache, needed_size, 8, false);
489 void *new_ptr = Allocate(new_size, 8, stack, FROM_MALLOC, true);
594 return Allocate(size, alignment, stack, alloc_type, true);
602 return Allocate(size, 8, stack, FROM_MALLOC, true);
608 void *ptr = Allocate(nmemb * size, 8, stack, FROM_MALLOC, false);
618 return Allocate(siz
[all...]
H A Dasan_fake_stack.cc79 FakeFrame *FakeStack::Allocate(uptr stack_size_log, uptr class_id, function in class:__asan::FakeStack
196 FakeFrame *ff = fs->Allocate(fs->stack_size_log(), class_id, real_stack);
/external/compiler-rt/lib/lsan/
H A Dlsan_allocator.cc77 void *Allocate(const StackTrace &stack, uptr size, uptr alignment, function in namespace:__lsan
85 void *p = allocator.Allocate(&cache, size, alignment, false);
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator.cc74 return internal_allocator()->Allocate(&internal_allocator_cache, size, 8,
77 return internal_allocator()->Allocate(cache, size, 8, false);
114 void *LowLevelAllocator::Allocate(uptr size) { function in class:__sanitizer::LowLevelAllocator
H A Dsanitizer_allocator.h556 b = (Batch*)c->Allocate(this, SizeClassMap::ClassID(sizeof(Batch)));
871 b = (Batch*)c->Allocate(this, SizeClassMap::ClassID(sizeof(Batch)));
913 void *Allocate(SizeClassAllocator *allocator, uptr class_id) { function in struct:__sanitizer::SizeClassAllocatorLocalCache
984 b = (Batch*)Allocate(allocator, SizeClassMap::ClassID(sizeof(Batch)));
1010 void *Allocate(AllocatorStats *stat, uptr size, uptr alignment) { function in class:__sanitizer::LargeMmapAllocator
1127 // Do one-time sort. chunks_sorted_ is reset in Allocate/Deallocate.
1245 void *Allocate(AllocatorCache *cache, uptr size, uptr alignment, function in class:__sanitizer::CombinedAllocator
1257 res = cache->Allocate(&primary_, primary_.ClassID(size));
1259 res = secondary_.Allocate(&stats_, size, alignment);
1278 return Allocate(cach
[all...]
/external/clang/test/CXX/temp/temp.spec/temp.inst/
H A Dp11.cpp9 void Allocate(unsigned Alignment function in struct:test0::A
13 void f1(A<int> x) { x.Allocate(); }
/external/clang/test/Index/
H A Dindex-file.cpp4 template < typename T > *Allocate() { } function
/external/clang/include/clang/AST/
H A DASTContext.h477 void *Allocate(size_t Size, unsigned Align = 8) const { function in class:clang::ASTContext
478 return BumpAlloc.Allocate(Size, Align);
2136 /// \brief Allocate an uninitialized TypeSourceInfo.
2149 /// \brief Allocate a TypeSourceInfo where all locations have been
2359 return C.Allocate(Bytes, Alignment);
2396 return C.Allocate(Bytes, Alignment);
/external/clang/include/clang/Basic/
H A DPartialDiagnostic.h88 /// \brief Allocate new storage.
89 Storage *Allocate() { function in class:clang::PartialDiagnostic::StorageAllocator
131 DiagStorage = Allocator->Allocate();

Completed in 2156 milliseconds

1234