Home
last modified time | relevance | path

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

/foundation/windowmanager/interfaces/kits/napi/window_runtime/window_napi/
Djs_window.cpp29 static thread_local std::map<std::string, std::shared_ptr<NativeReference>> g_jsWindowMap; variable
37 if (windowName.empty() || g_jsWindowMap.count(windowName) == 0) { in JsWindow()
41 g_jsWindowMap.erase(windowName); in JsWindow()
72 if (g_jsWindowMap.find(windowName) != g_jsWindowMap.end()) { in Finalizer()
74 g_jsWindowMap.erase(windowName); in Finalizer()
1395 if (g_jsWindowMap.find(windowName) == g_jsWindowMap.end()) { in FindJsWindowObject()
1398 return g_jsWindowMap[windowName]; in FindJsWindowObject()
1449 g_jsWindowMap[windowName] = jsWindowRef; in CreateJsWindowObject()