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