/ohos5.0/foundation/window/window_manager/utils/include/ |
H A D | singleton_container.h | 36 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 D | ops_registry.cpp | 23 OpsRegistry& registry = OpsRegistry::GetSingleton(); in Registrar() 31 OpsRegistry& OpsRegistry::GetSingleton() in GetSingleton() function in OHOS::NeuralNetworkRuntime::Ops::OpsRegistry
|
H A D | ops_registry.h | 37 static OpsRegistry& GetSingleton();
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/inner_model/ |
H A D | ops_registry_test.cpp | 44 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 D | ops_registry_test.cpp | 44 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 D | node_registry.cpp | 24 NodeRegistry& NodeRegistry::GetSingleton() in GetSingleton() function in OHOS::HDI::Nnrt::V1_0::NodeRegistry 32 auto& registry = NodeRegistry::GetSingleton(); in Registrar()
|
H A D | nnrt_device_service.cpp | 74 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 D | node_registry.cpp | 24 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 D | utils_all_test.cpp | 139 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 D | native_buffer_utils_test.cpp | 52 RsVulkanContext::GetSingleton(), vkTextureInfo->vkImage, vkTextureInfo->vkAlloc.memory); 103 auto vkContext = RsVulkanContext::GetSingleton();
|
/ohos5.0/foundation/window/window_manager/utils/src/ |
H A D | singleton_container.cpp | 79 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 D | render_context.cpp | 314 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 D | surface_ohos_vulkan.cpp | 177 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 D | native_buffer_utils.cpp | 191 auto& vkContext = RsVulkanContext::GetSingleton(); in MakeFromNativeWindowBuffer() 252 new VulkanCleanupHelper(RsVulkanContext::GetSingleton(), in MakeFromNativeWindowBuffer() 295 auto& vkContext = RsVulkanContext::GetSingleton(); in MakeBackendTextureFromNativeBuffer()
|
H A D | rs_vulkan_context.cpp | 569 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 D | native_buffer_utils.h | 50 RsVulkanMemStat& memStat = RsVulkanContext::GetSingleton().GetRsVkMemStat(); in ~VulkanCleanupHelper()
|
H A D | rs_surface_ohos_vulkan.cpp | 214 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 D | node_registry.h | 39 static NodeRegistry& GetSingleton();
|
/ohos5.0/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/include/ |
H A D | node_registry.h | 39 static NodeRegistry& GetSingleton();
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/ |
H A D | rs_extended_modifier.cpp | 102 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 D | nativebufferutils_fuzzer.cpp | 71 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 D | rsvulkancontext_fuzzer.cpp | 85 auto& rsVulkanContext = OHOS::Rosen::RsVulkanContext::GetSingleton(); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/ |
H A D | rs_background_thread.cpp | 133 auto gpuContext = RsVulkanContext::GetSingleton().CreateDrawingContext(); in CreateShareGPUContext()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_base_render_engine.cpp | 87 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 D | rs_vk_image_manager.cpp | 67 new NativeBufferUtils::VulkanCleanupHelper(RsVulkanContext::GetSingleton(), in Create()
|