Lines Matching refs:allocator
33 nw::os::IAllocator* allocator, in Create() argument
38 u32* hash = allocator->AllocAndFill(HASH_LENGTH, static_cast<u32>(0)); in Create()
42 u8* copyScreen = allocator->AllocAndFill(maxLength, static_cast<u8>(0)); in Create()
45 void* memory = allocator->Alloc(sizeof(Screenshot)); in Create()
49 allocator, in Create()
117 nw::os::IAllocator* allocator, in Create() argument
124 void* memory = allocator->Alloc(sizeof(Screenshot)); in Create()
125 ScreenshotArray screenshots = ScreenshotArray(maxScreenshot, allocator); in Create()
129 screenshots.push_back(Screenshot::Create(allocator, memorySize)); in Create()
132 return new(memory) ScreenshotManager(allocator, screenshots); in Create()
137 ScreenshotManager::Destroy(nw::os::IAllocator* allocator) in Destroy() argument
140 allocator->Free(this); in Destroy()
145 nw::os::IAllocator* allocator, in ScreenshotManager() argument
148 : m_Allocator(allocator), in ScreenshotManager()