Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/
H A Djsi_context_module.cpp27 thread_local std::unordered_map<int32_t, std::shared_ptr<JsValue>> JsiContextModule::contexts_; member in OHOS::Ace::Framework::JsiContextModule
71 auto it = contexts_.find(currentInstance); in GetContext()
72 if (it != contexts_.end()) { in GetContext()
81 it = contexts_.find(currentInstance); in GetContext()
82 if (it != contexts_.end()) { in GetContext()
102 if (contexts_.find(key) != contexts_.end()) { in AddContext()
106 contexts_.emplace(key, value); in AddContext()
111 auto it = contexts_.find(key); in RemoveContext()
112 if (it != contexts_.end()) { in RemoveContext()
113 contexts_.erase(it); in RemoveContext()
H A Djsi_context_module.h45 static thread_local std::unordered_map<int32_t, std::shared_ptr<JsValue>> contexts_; variable