Home
last modified time | relevance | path

Searched refs:allocRes (Results 1 – 4 of 4) sorted by relevance

/hardware/google/aemu/host-common/
DHostAddressSpace_unittest.cpp80 int allocRes = hwFuncs->allocSharedHostRegion(4096, nullptr); in TEST_F() local
82 EXPECT_EQ(-EINVAL, allocRes); in TEST_F()
85 allocRes = hwFuncs->allocSharedHostRegion(4096, &offset); in TEST_F()
87 EXPECT_EQ(0, allocRes); in TEST_F()
110 int allocRes = hwFuncs->allocSharedHostRegionLocked(4096, nullptr); in TEST_F() local
112 EXPECT_EQ(-EINVAL, allocRes); in TEST_F()
115 allocRes = hwFuncs->allocSharedHostRegionLocked(4096, &offset); in TEST_F()
117 EXPECT_EQ(0, allocRes); in TEST_F()
141 int allocRes = hwFuncs->allocSharedHostRegion(4096, &offset); in TEST_F() local
142 EXPECT_EQ(0, allocRes); in TEST_F()
[all …]
Daddress_space_graphics.cpp469 int allocRes = 0; in fillBlockLocked() local
473 allocRes = get_address_space_device_hw_funcs()-> in fillBlockLocked()
476 if (allocRes) { in fillBlockLocked()
481 int allocRes = get_address_space_device_hw_funcs()-> in fillBlockLocked() local
485 if (allocRes) { in fillBlockLocked()
/hardware/google/gfxstream/host/vulkan/
DVkCommonOperations.cpp1479 VkResult allocRes = in allocExternalMemory() local
1482 if (allocRes != VK_SUCCESS) { in allocExternalMemory()
1483 …K_COMMON_VERBOSE("allocExternalMemory: failed in vkAllocateMemory: %s", string_VkResult(allocRes)); in allocExternalMemory()
2115 bool allocRes = allocExternalMemory(vk, &infoPtr->memory, true /*actuallyExternal*/, in initializeVkColorBufferLocked() local
2117 if (!allocRes) { in initializeVkColorBufferLocked()
3042 bool allocRes = allocExternalMemory(vk, &res.memory, true /* actuallyExternal */, in setupVkBuffer() local
3045 if (!allocRes) { in setupVkBuffer()
3079 return allocRes; in setupVkBuffer()
/hardware/google/gfxstream/guest/vulkan_enc/
DResourceTracker.cpp4913 VkResult allocRes = enc->vkAllocateDescriptorSets(device, ci, sets, true /* do lock */); in on_vkAllocateDescriptorSets() local
4915 if (allocRes != VK_SUCCESS) return allocRes; in on_vkAllocateDescriptorSets()