Lines Matching refs:instance

43     VkInstance instance = reinterpret_cast<VkInstance>(0x1234'0000);  in TEST()  local
46 EXPECT_CALL(vkGetInstanceProcAddrAlwaysNULL, Call(instance, _)).WillRepeatedly(Return(nullptr)); in TEST()
48 EXPECT_EQ(getVkInstanceProcAddrWithFallback<GfxstreamTestFunc>({}, instance), nullptr); in TEST()
49 EXPECT_EQ(getVkInstanceProcAddrWithFallback<GfxstreamTestFunc>({nullptr, nullptr}, instance), in TEST()
54 instance), in TEST()
59 VkInstance instance = reinterpret_cast<VkInstance>(0x1234'0000); in TEST() local
63 EXPECT_CALL(vkGetInstanceProcAddrMock, Call(instance, _)) in TEST()
67 {nullptr, vkGetInstanceProcAddrMock.AsStdFunction()}, instance), in TEST()
70 {vkGetInstanceProcAddrMock.AsStdFunction(), nullptr}, instance), in TEST()
75 VkInstance instance = reinterpret_cast<VkInstance>(0x1234'0000); in TEST() local
82 Call(instance, StrNe(std::get<1>(vkGfxstreamTestFuncNames)))) in TEST()
85 Call(instance, StrEq(std::get<1>(vkGfxstreamTestFuncNames)))) in TEST()
87 EXPECT_CALL(vkGetInstanceProcAddrAlwaysNULL, Call(instance, _)).WillRepeatedly(Return(nullptr)); in TEST()
92 instance), in TEST()
97 instance), in TEST()
102 VkInstance instance = reinterpret_cast<VkInstance>(0x1234'0000); in TEST() local
108 EXPECT_CALL(vkGetInstanceProcAddrMock1, Call(instance, _)) in TEST()
110 EXPECT_CALL(vkGetInstanceProcAddrMock2, Call(instance, _)) in TEST()
116 instance), in TEST()
121 VkInstance instance = reinterpret_cast<VkInstance>(0x1234'0000); in TEST() local
128 Call(instance, StrEq(std::get<0>(vkGfxstreamTestFuncNames)))) in TEST()
130 ON_CALL(vkGetInstanceProcAddrMock, Call(instance, StrEq(std::get<1>(vkGfxstreamTestFuncNames)))) in TEST()
132 ON_CALL(vkGetInstanceProcAddrMock, Call(instance, StrEq(std::get<2>(vkGfxstreamTestFuncNames)))) in TEST()
136 {vkGetInstanceProcAddrMock.AsStdFunction()}, instance), in TEST()