Home
last modified time | relevance | path

Searched refs:GetSingleton (Results 1 – 25 of 44) sorted by relevance

12

/ohos5.0/foundation/window/window_manager/utils/include/
H A Dsingleton_container.h36 void* GetSingleton(const std::string& name);
51 if (SingletonContainer::GetInstance().GetSingleton(nameT) == nullptr) { in Get()
54 return *(reinterpret_cast<T*>(SingletonContainer::GetInstance().GetSingleton(nameT))); in Get()
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dops_registry.cpp23 OpsRegistry& registry = OpsRegistry::GetSingleton(); in Registrar()
31 OpsRegistry& OpsRegistry::GetSingleton() in GetSingleton() function in OHOS::NeuralNetworkRuntime::Ops::OpsRegistry
H A Dops_registry.h37 static OpsRegistry& GetSingleton();
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/inner_model/
H A Dops_registry_test.cpp44 OpsRegistry& opsregistry = OpsRegistry::GetSingleton();
58 OpsRegistry& opsregistry = OpsRegistry::GetSingleton();
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/inner_model/
H A Dops_registry_test.cpp44 OpsRegistry& opsregistry = OpsRegistry::GetSingleton();
58 OpsRegistry& opsregistry = OpsRegistry::GetSingleton();
/ohos5.0/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/src/
H A Dnode_registry.cpp24 NodeRegistry& NodeRegistry::GetSingleton() in GetSingleton() function in OHOS::HDI::Nnrt::V1_0::NodeRegistry
32 auto& registry = NodeRegistry::GetSingleton(); in Registrar()
H A Dnnrt_device_service.cpp74 auto& regInstance = NodeRegistry::GetSingleton(); in GetSupportedOperation()
378 auto& regInstance = NodeRegistry::GetSingleton(); in TransNode()
/ohos5.0/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/src/
H A Dnode_registry.cpp24 NodeRegistry& NodeRegistry::GetSingleton() in GetSingleton() function in OHOS::HDI::Nnrt::V2_0::NodeRegistry
32 auto& registry = NodeRegistry::GetSingleton(); in Registrar()
/ohos5.0/foundation/window/window_manager/utils/test/unittest/
H A Dutils_all_test.cpp139 auto instance = singletonContainer.GetSingleton("test2");
142 instance = singletonContainer.GetSingleton("test");
147 instance = singletonContainer.GetSingleton("test");
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/backend/
H A Dnative_buffer_utils_test.cpp52 RsVulkanContext::GetSingleton(), vkTextureInfo->vkImage, vkTextureInfo->vkAlloc.memory);
103 auto vkContext = RsVulkanContext::GetSingleton();
/ohos5.0/foundation/window/window_manager/utils/src/
H A Dsingleton_container.cpp79 void* SingletonContainer::GetSingleton(const std::string& name) in GetSingleton() function in OHOS::Rosen::SingletonContainer
100 return GetSingleton(name); in DependOn()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/render_context/
H A Drender_context.cpp314 drawingContext = RsVulkanContext::GetSingleton().CreateDrawingContext(); in SetUpGpuContext()
515 if (RsVulkanContext::GetSingleton().GetMemoryHandler()) { in GetShaderCacheSize()
516 return RsVulkanContext::GetSingleton().GetMemoryHandler()->QuerryShader(); in GetShaderCacheSize()
534 if (RsVulkanContext::GetSingleton().GetMemoryHandler()) { in CleanAllShaderCache()
535 return RsVulkanContext::GetSingleton().GetMemoryHandler()->ClearShader(); in CleanAllShaderCache()
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/drawing_engine/drawing_surface/
H A Dsurface_ohos_vulkan.cpp177 drContext_ = RsVulkanContext::GetSingleton().CreateDrawingContext(); in NativeRequestFrame()
216 auto& vkContext = RsVulkanContext::GetSingleton(); in NativeRequestFrame()
268 auto& vkContext = RsVulkanContext::GetSingleton().GetRsVulkanInterface(); in NativeFlushFrame()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/backend/
H A Dnative_buffer_utils.cpp191 auto& vkContext = RsVulkanContext::GetSingleton(); in MakeFromNativeWindowBuffer()
252 new VulkanCleanupHelper(RsVulkanContext::GetSingleton(), in MakeFromNativeWindowBuffer()
295 auto& vkContext = RsVulkanContext::GetSingleton(); in MakeBackendTextureFromNativeBuffer()
H A Drs_vulkan_context.cpp569 RsVulkanContext& RsVulkanContext::GetSingleton() in GetSingleton() function in OHOS::Rosen::RsVulkanContext
583 bool isProtected = RsVulkanContext::GetSingleton().GetIsProtected(); in HookedVkQueueSubmit()
593 RsVulkanInterface& vkInterface = RsVulkanContext::GetSingleton().GetRsVulkanInterface(); in HookedVkQueueSubmit()
609 RsVulkanInterface& vkInterface = RsVulkanContext::GetSingleton().GetRsVulkanInterface(); in HookedVkQueueSignalReleaseImageOHOS()
H A Dnative_buffer_utils.h50 RsVulkanMemStat& memStat = RsVulkanContext::GetSingleton().GetRsVkMemStat(); in ~VulkanCleanupHelper()
H A Drs_surface_ohos_vulkan.cpp214 auto& vkContext = RsVulkanContext::GetSingleton(); in RequestFrame()
252 auto& vkContext = RsVulkanContext::GetSingleton().GetRsVulkanInterface(); in FlushFrame()
/ohos5.0/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/include/
H A Dnode_registry.h39 static NodeRegistry& GetSingleton();
/ohos5.0/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/include/
H A Dnode_registry.h39 static NodeRegistry& GetSingleton();
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/
H A Drs_extended_modifier.cpp102 auto cleanUpHelper = new NativeBufferUtils::VulkanCleanupHelper(RsVulkanContext::GetSingleton(), in CreateSurface()
109 auto gpuContext = RsVulkanContext::GetSingleton().CreateDrawingContext(); in CreateSurface()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/nativebufferutils_fuzzer/
H A Dnativebufferutils_fuzzer.cpp71 RsVulkanContext::GetSingleton(), vkTextureInfo->vkImage, vkTextureInfo->vkAlloc.memory); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsvulkancontext_fuzzer/
H A Drsvulkancontext_fuzzer.cpp85 auto& rsVulkanContext = OHOS::Rosen::RsVulkanContext::GetSingleton(); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/
H A Drs_background_thread.cpp133 auto gpuContext = RsVulkanContext::GetSingleton().CreateDrawingContext(); in CreateShareGPUContext()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_base_render_engine.cpp87 skContext_ = RsVulkanContext::GetSingleton().CreateDrawingContext(independentContext); in Init()
108 skContext_ = RsVulkanContext::GetSingleton().CreateDrawingContext(); in Init()
136 … captureSkContext_ = RsVulkanContext::GetSingleton().CreateDrawingContext(independentContext); in InitCapture()
283 skContext_ = RsVulkanContext::GetSingleton().CreateDrawingContext( in RequestFrame()
H A Drs_vk_image_manager.cpp67 new NativeBufferUtils::VulkanCleanupHelper(RsVulkanContext::GetSingleton(), in Create()

12