Home
last modified time | relevance | path

Searched refs:instance_ (Results 1 – 5 of 5) sorted by relevance

/test/xts/acts/graphic/graphicvulkannapitest/
DVulkanTest.cpp88 static inline VkInstance instance_ = nullptr; member in vulkan::loader::VulkanLoaderUnitTest
142 VkResult result = vkCreateInstance(&instanceCreateInfo, nullptr, &instance_); in TrytoCreateVkInstance()
143 std::cout << "instance_ ptr: " << instance_ << std::endl; in TrytoCreateVkInstance()
144 if (result != VK_SUCCESS || instance_ == nullptr) { in TrytoCreateVkInstance()
253 if (instance_ != nullptr) { in TearDownTestCase()
255 vkDestroySurfaceKHR(instance_, surface_, nullptr); in TearDownTestCase()
257 vkDestroyInstance(instance_, nullptr); in TearDownTestCase()
306 std::cout << "instance_ ptr: " << instance_ << std::endl;
307 ASSERT_NE(instance_, nullptr);
309 vkGetInstanceProcAddr(instance_, "vkDestroyInstance"));
[all …]
/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/render/
Dnative_xcomponent.cpp232 std::unordered_map<std::string, NativeXcomponent*> NativeXcomponent::instance_; member in NativeXComponentSample::NativeXcomponent
244 if (instance_.find(id) == instance_.end()) { in GetInstance()
246 instance_[id] = instance; in GetInstance()
249 return instance_[id]; in GetInstance()
327 instance_.erase(instance_.find(id)); in Release()
Dnative_xcomponent.h52 static std::unordered_map<std::string, NativeXcomponent*> instance_;
Dplugin_render.cpp29 std::unordered_map<std::string, PluginRender*> PluginRender::instance_; member in PluginRender
145 if (instance_.find(id) == instance_.end()) { in GetInstance()
147 instance_[id] = instance; in GetInstance()
150 return instance_[id]; in GetInstance()
896 NAPI_CALL(env, napi_get_boolean(env, isCreated_ == instance_.size(), &output)); in TestOnSurfaceCreated()
Dplugin_render.h85 static std::unordered_map<std::string, PluginRender*> instance_;