Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/
H A Dobject_registry.cpp297 singletons_[uid] = classes.front(); // Store singleton weakref in PostCreate()
364 for (auto it = singletons_.begin(); it != singletons_.end();) { in GC()
366 it = singletons_.erase(it); in GC()
393 auto it = singletons_.find(v); in DoDisposal()
394 if (it != singletons_.end()) { in DoDisposal()
395 singletons_.erase(it); in DoDisposal()
437 if (!singletons_.empty()) { in GetAllSingletonObjectInstances()
438 result.reserve(singletons_.size()); in GetAllSingletonObjectInstances()
439 for (const auto& s : singletons_) { in GetAllSingletonObjectInstances()
466 auto it = singletons_.find(uid); in FindSingleton()
[all …]
H A Dobject_registry.h160 mutable BASE_NS::unordered_map<InstanceId, IObject::WeakPtr> singletons_; variable