Home | History | Annotate | Download | only in scudo

Lines Matching refs:allocate

222   void *Allocate(uptr Size) {
231 return getAllocator().Allocate(Cache_, Size, 1, false);
317 void *allocate(uptr Size, uptr Alignment, AllocType Type) {
341 Ptr = BackendAllocator.Allocate(&Cache, NeededSize, MinAlignment);
344 Ptr = BackendAllocator.Allocate(&FallbackAllocatorCache, NeededSize,
484 // Otherwise, we have to allocate a new chunk and copy the contents of the
486 void *NewPtr = allocate(NewSize, MinAlignment, FromMalloc);
511 void *Ptr = allocate(Total, MinAlignment, FromMalloc);
539 return Instance.allocate(Size, Allocator::MinAlignment, Type);
552 return Instance.allocate(Size, Allocator::MinAlignment, FromMalloc);
565 return Instance.allocate(Size, GetPageSizeCached(), FromMemalign);
569 return Instance.allocate(Size, Alignment, FromMemalign);
576 // pvalloc(0) should allocate one page.
579 return Instance.allocate(Size, PageSize, FromMemalign);
583 *MemPtr = Instance.allocate(Size, Alignment, FromMemalign);
592 return Instance.allocate(Size, Alignment, FromMalloc);