Lines Matching refs:res
33 struct goldfish_##type* res = \
35 if (!res) { \
39 res->dispatch.magic = HWVULKAN_DISPATCH_MAGIC; \
40 res->underlying = (uint64_t)underlying; \
41 return reinterpret_cast<type>(res); \
46 struct goldfish_##type* res = \
48 res->underlying = (uint64_t)underlying; \
49 return reinterpret_cast<type>(res); \
77 struct goldfish_##type* res = \
79 if (!res) { \
83 res->dispatch.magic = HWVULKAN_DISPATCH_MAGIC; \
84 res->underlying = underlying; \
85 return reinterpret_cast<type>(res); \
90 struct goldfish_##type* res = \
92 res->underlying = underlying; \
93 D("guest %p: host u64: 0x%llx", res, (unsigned long long)res->underlying); \
94 return reinterpret_cast<type>(res); \