Home | History | Annotate | Download | only in base

Lines Matching defs:new

26 // Parent for arena allocated objects giving appropriate new and delete operators.
30 // Allocate a new ArenaObject of 'size' bytes in the Arena.
31 void* operator new(size_t size, ArenaAllocator* allocator) {
35 static void* operator new(size_t size, ScopedArenaAllocator* arena) {
44 // NOTE: Providing placement new (and matching delete) for constructing container elements.
45 ALWAYS_INLINE void* operator new(size_t, void* ptr) noexcept { return ptr; }
50 // Parent for arena allocated objects that get deleted, gives appropriate new and delete operators.
54 // Allocate a new ArenaObject of 'size' bytes in the Arena.
55 void* operator new(size_t size, ArenaAllocator* allocator) {
59 static void* operator new(size_t size, ScopedArenaAllocator* arena) {