/external/compiler-rt/lib/asan/ |
asan_allocator2.cc | 284 void *Allocate(uptr size) { 285 return allocator.Allocate(cache_, size, 1, false); 300 static void *Allocate(uptr size, uptr alignment, StackTrace *stack, 334 Report("WARNING: AddressSanitizer failed to allocate %p bytes\n", 343 allocated = allocator.Allocate(cache, needed_size, 8, false); 347 allocated = allocator.Allocate(cache, needed_size, 8, false); 486 void *new_ptr = Allocate(new_size, 8, stack, FROM_MALLOC); 591 return Allocate(size, alignment, stack, alloc_type); 601 return Allocate(size, 8, stack, FROM_MALLOC); 606 void *ptr = Allocate(nmemb * size, 8, stack, FROM_MALLOC) [all...] |
asan_globals.cc | 80 (ListOfGlobals*)allocator_for_globals.Allocate(sizeof(ListOfGlobals)); 85 l = (ListOfGlobals*)allocator_for_globals.Allocate(sizeof(ListOfGlobals));
|
asan_allocator.cc | 450 // Size is large, allocate an extra page at right and poison it. 501 static u8 *Allocate(uptr alignment, uptr size, StackTrace *stack, 516 Report("WARNING: AddressSanitizer failed to allocate %p bytes\n", 528 Printf("Allocate align: %zu size: %zu class: %u real: %zu\n", 662 u8 *new_ptr = Allocate(0, new_size, stack, FROM_MALLOC); 698 void *ptr = (void*)Allocate(alignment, size, stack, alloc_type); 711 void *ptr = (void*)Allocate(0, size, stack, FROM_MALLOC); 718 void *ptr = (void*)Allocate(0, nmemb * size, stack, FROM_MALLOC); 727 void *ptr = (void*)Allocate(0, size, stack, FROM_MALLOC); 739 void *ptr = (void*)Allocate(GetPageSizeCached(), size, stack, FROM_MALLOC) [all...] |
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyld.cpp | 79 // Maximum required total memory to allocate all common symbols 98 // Add the common symbols to a list. We'll allocate them all below. 133 // Allocate common symbols 179 // Allocate memory for the section 184 report_fatal_error("Unable to allocate memory for common symbols!"); 247 unsigned Allocate; 255 Allocate = DataSize + StubBufSize; 257 ? MemMgr->allocateCodeSection(Allocate, Alignment, SectionID) 258 : MemMgr->allocateDataSection(Allocate, Alignment, SectionID, IsReadOnly); 260 report_fatal_error("Unable to allocate section memory!") [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/chromium/base/win/ |
scoped_bstr_unittest.cc | 63 EXPECT_TRUE(b1.Allocate(kTestString2) != NULL);
|
/external/clang/include/clang/Edit/ |
EditedSource.h | 66 char *buf = StrAlloc.Allocate<char>(str.size());
|
/external/clang/lib/AST/ |
CommentCommandTraits.cpp | 47 char *Name = Allocator.Allocate<char>(CommandName.size() + 1);
|
CommentLexer.cpp | 33 char *Resolved = Allocator.Allocate<char>(UNI_MAX_UTF8_BYTES_PER_CODE_POINT);
|
/external/llvm/include/llvm/MC/ |
MCContext.h | 403 void *Allocate(unsigned Size, unsigned Align = 8) { 404 return Allocator.Allocate(Size, Align); 436 /// @param Bytes The number of bytes to allocate. Calculated by the compiler. 443 return C.Allocate(Bytes, Alignment); 470 /// @param Bytes The number of bytes to allocate. Calculated by the compiler. 477 return C.Allocate(Bytes, Alignment);
|
/external/llvm/include/llvm/Support/ |
ArrayRecycler.h | 118 /// Allocate an array of at least the requested capacity. 120 /// Return an existing recycled array, or allocate one from Allocator if 124 T *allocate(Capacity Cap, AllocatorType &Allocator) { function in class:llvm::ArrayRecycler 129 return static_cast<T*>(Allocator.Allocate(sizeof(T)*Cap.getSize(), Align)); 134 /// Cap must be the same capacity that was given to allocate().
|
/external/v8/test/cctest/ |
test-assembler-x64.cc | 103 // Allocate an executable page of memory. 105 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, 125 // Allocate an executable page of memory. 127 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, 157 // Allocate an executable page of memory. 159 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, 179 // Allocate an executable page of memory. 181 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, 207 // Allocate an executable page of memory. 209 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize [all...] |
/external/clang/lib/Parse/ |
ParsePragma.cpp | 309 (PragmaPackInfo*) PP.getPreprocessorAllocator().Allocate( 319 (Token*) PP.getPreprocessorAllocator().Allocate( 362 (Token*) PP.getPreprocessorAllocator().Allocate( 431 (Token*) PP.getPreprocessorAllocator().Allocate( 523 (Token*) PP.getPreprocessorAllocator().Allocate( 574 (Token*) PP.getPreprocessorAllocator().Allocate( 586 (Token*) PP.getPreprocessorAllocator().Allocate( 631 (Token*) PP.getPreprocessorAllocator().Allocate( 653 (Token*) PP.getPreprocessorAllocator().Allocate( 710 (Token*) PP.getPreprocessorAllocator().Allocate( [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
MemRegion.cpp | 49 R = (RegionTy*) A.Allocate<RegionTy>(); 67 R = (RegionTy*) A.Allocate<RegionTy>(); 88 R = (RegionTy*) A.Allocate<RegionTy>(); 107 R = (RegionTy*) A.Allocate<RegionTy>(); 126 R = (RegionTy*) A.Allocate<RegionTy>(); 597 region = (REG*) A.Allocate<REG>(); 607 region = (REG*) A.Allocate<REG>(); 622 R = A.Allocate<StackLocalsSpaceRegion>(); 635 R = A.Allocate<StackArgumentsSpaceRegion>(); 657 R = A.Allocate<StaticGlobalSpaceRegion>() [all...] |
/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...] |
p2ptransportchannel.h | 102 void Allocate();
|
/external/opencv/otherlibs/highgui/ |
bitstrm.cpp | 84 void RBaseStream::Allocate() 144 Allocate(); 186 Allocate(); 735 void WBaseStream::Allocate() 763 Allocate(); 806 Allocate();
|
/external/clang/include/clang/Lex/ |
PreprocessingRecord.h | 353 /// \brief Allocate space for a new set of loaded preprocessed entities. 366 /// \brief Allocate memory in the preprocessing record. 367 void *Allocate(unsigned Size, unsigned Align = 8) { 368 return BumpAlloc.Allocate(Size, Align); 600 return PR.Allocate(bytes, alignment);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_symbolizer.cc | 195 void *mem = symbolizer_allocator.Allocate(sizeof(InternalSymbolizer)); 312 void *mem = symbolizer_allocator.Allocate(sizeof(ExternalSymbolizer)); 359 modules_ = (LoadedModule*)(symbolizer_allocator.Allocate(
|
sanitizer_allocator.h | 100 // For small size classes we allocate batches separately. 545 b = (Batch*)c->Allocate(this, SizeClassMap::ClassID(sizeof(Batch))); 577 // One Region is used to allocate chunks of a single size class. 776 b = (Batch*)c->Allocate(this, SizeClassMap::ClassID(sizeof(Batch))); 821 void *Allocate(SizeClassAllocator *allocator, uptr class_id) { 892 b = (Batch*)Allocate(allocator, SizeClassMap::ClassID(sizeof(Batch))); 907 // This class can (de)allocate only large chunks of memory using mmap/unmap. 918 void *Allocate(AllocatorStats *stat, uptr size, uptr alignment) { [all...] |
/external/clang/include/clang/Sema/ |
ParsedTemplate.h | 185 Allocate(unsigned NumArgs, SmallVectorImpl<TemplateIdAnnotation*> &List) {
|
/external/clang/lib/Sema/ |
AttributeList.cpp | 41 void *AttributeFactory::allocate(size_t size) { function in class:AttributeFactory 51 // Otherwise, allocate something new. 52 return Alloc.Allocate(size, llvm::AlignOf<AttributeFactory>::Alignment);
|
/external/compiler-rt/lib/msan/ |
msan_allocator.cc | 51 void *res = allocator.Allocate(&cache, size, alignment, false);
|
/external/stlport/test/eh/ |
nc_alloc.cpp | 115 static void *Allocate(size_t s) { 175 char * const p = (char*)gFastAllocator.Allocate( s );
|
/external/llvm/lib/ExecutionEngine/JIT/ |
JITMemoryManager.cpp | 150 "Cannot allocate an allocated block!"); 162 /// FreeRangeHeader to allocate from. 277 virtual MemSlab *Allocate(size_t Size); 321 /// DefaultCodeSlabSize - When we have to go map more memory, we allocate at 325 /// DefaultSlabSize - Allocate data into slabs of this size unless we get 330 /// should allocate a separate slab. 349 /// startFunctionBody - When a function starts, allocate a block of free 370 // If this block isn't big enough for the allocation desired, allocate 381 // Allocate the entire memory block. 387 /// allocateNewCodeSlab - Helper method to allocate a new slab of cod [all...] |