Searched refs:contexts_ (Results 1 – 2 of 2) sorted by relevance
27 thread_local std::unordered_map<int32_t, std::shared_ptr<JsValue>> JsiContextModule::contexts_; member in OHOS::Ace::Framework::JsiContextModule71 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()
45 static thread_local std::unordered_map<int32_t, std::shared_ptr<JsValue>> contexts_; variable