Lines Matching defs:allocate
89 void *allocate(UNUSED uptr Size) {
92 void *Ptr = Cache.allocate(QuarantineClassId);
334 NOINLINE void *allocate(uptr Size, Chunk::Origin Origin,
350 if (void *Ptr = GuardedAlloc.allocate(Size, Alignment)) {
366 // allocate MinAlignment bytes on top of the header. Then add the extra
367 // bytes required to fulfill the alignment requirements: we allocate enough
390 Block = TSD->getCache().allocate(ClassId);
396 Block = TSD->getCache().allocate(++ClassId);
402 Block = Secondary.allocate(Options, Size, Alignment, &SecondaryBlockEnd,
500 void *NewPtr = allocate(NewSize, Chunk::Origin::Malloc, Alignment);
585 // Otherwise we allocate a new one, and deallocate the old one. Some
586 // allocators will allocate an even larger chunk (by a fixed factor) to
589 void *NewPtr = allocate(NewSize, Chunk::Origin::Malloc, Alignment);
1663 // Allocator::allocate. This leaves 10 frames for the user app. The next