Searched refs:linearAllocator (Results 1 – 1 of 1) sorted by relevance
160 explicit LinearStdAllocator(LinearAllocator& allocator) : linearAllocator(allocator) {} in LinearStdAllocator()161 LinearStdAllocator(const LinearStdAllocator& other) : linearAllocator(other.linearAllocator) {} in LinearStdAllocator()172 : linearAllocator(other.linearAllocator) {} in LinearStdAllocator()175 return (T*)(linearAllocator.alloc<void*>(num * sizeof(T)));180 linearAllocator.rewindIfLastAlloc(p, num * sizeof(T)); in deallocate()184 LinearAllocator& linearAllocator; variable