Lines Matching refs:allocator
31 nw::os::IAllocator* allocator, in Create() argument
36 u32* hash = allocator->AllocAndFill(HASH_LENGTH, static_cast<u32>(0)); in Create()
40 u8* copyScreen = allocator->AllocAndFill(maxLength, static_cast<u8>(0)); in Create()
43 void* memory = allocator->Alloc(sizeof(Screenshot)); in Create()
47 allocator, in Create()
115 nw::os::IAllocator* allocator, in Create() argument
122 void* memory = allocator->Alloc(sizeof(Screenshot)); in Create()
123 ScreenshotArray screenshots = ScreenshotArray(maxScreenshot, allocator); in Create()
127 screenshots.push_back(Screenshot::Create(allocator, memorySize)); in Create()
130 return new(memory) ScreenshotManager(allocator, screenshots); in Create()
135 ScreenshotManager::Destroy(nw::os::IAllocator* allocator) in Destroy() argument
138 allocator->Free(this); in Destroy()
143 nw::os::IAllocator* allocator, in ScreenshotManager() argument
146 : m_Allocator(allocator), in ScreenshotManager()