Lines Matching refs:size
32 // Allocate a new ArenaObject of 'size' bytes in the Arena.
33 void* operator new(size_t size, ArenaAllocator* allocator) {
34 return allocator->Alloc(size, kAllocKind);
37 static void* operator new(size_t size, ScopedArenaAllocator* allocator) {
38 return allocator->Alloc(size, kAllocKind);
56 // Allocate a new ArenaObject of 'size' bytes in the Arena.
57 void* operator new(size_t size, ArenaAllocator* allocator) {
58 return allocator->Alloc(size, kAllocKind);
61 static void* operator new(size_t size, ScopedArenaAllocator* allocator) {
62 return allocator->Alloc(size, kAllocKind);