Searched refs:DeviceMemory (Results 1 – 2 of 2) sorted by relevance
776 struct DeviceMemory { struct781 DEFINE_OBJECT_HANDLE_CONVERSION(DeviceMemory) in DEFINE_OBJECT_HANDLE_CONVERSION() argument787 if (SIZE_MAX - sizeof(DeviceMemory) <= alloc_info->allocationSize) in DEFINE_OBJECT_HANDLE_CONVERSION()792 size_t size = sizeof(DeviceMemory) + size_t(alloc_info->allocationSize); in DEFINE_OBJECT_HANDLE_CONVERSION()793 DeviceMemory* mem = static_cast<DeviceMemory*>(allocator->pfnAllocation( in DEFINE_OBJECT_HANDLE_CONVERSION()794 allocator->pUserData, size, alignof(DeviceMemory), in DEFINE_OBJECT_HANDLE_CONVERSION()808 DeviceMemory* mem = GetDeviceMemoryFromHandle(mem_handle); in FreeMemory()818 DeviceMemory* mem = GetDeviceMemoryFromHandle(mem_handle); in MapMemory()
190 TEST_F(ComplianceTest, DeviceMemory) { in TEST_F() argument