Home
last modified time | relevance | path

Searched refs:stores (Results 1 - 14 of 14) sorted by relevance

/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/store/
H A Dauto_cache.cpp66 disables_.ContainIf(meta.tokenId, [&meta](const std::set<std::string> &stores) -> bool { in GetStore()
67 return stores.count(meta.storeId) != 0; in GetStore()
73 meta.tokenId, [this, &meta, &watchers, &store](auto &, std::map<std::string, Delegate> &stores) -> bool { in GetStore()
78 return !stores.empty(); in GetStore()
80 auto it = stores.find(meta.storeId); in GetStore()
81 if (it != stores.end()) { in GetStore()
86 return !stores.empty(); in GetStore()
91 return !stores.empty(); in GetStore()
94 auto result = stores.emplace(std::piecewise_construct, std::forward_as_tuple(meta.storeId), in GetStore()
98 return !stores in GetStore()
105 Stores stores; GetStoresIfPresent() local
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/
H A Ddb_delegate.cpp34 [&metaData, &store, extUri, &backup](auto &, std::map<std::string, std::shared_ptr<Entity>> &stores) -> bool { in Create()
35 auto it = stores.find(metaData.storeId); in Create()
36 if (it != stores.end()) { in Create()
39 return !stores.empty(); in Create()
48 stores.emplace(metaData.storeId, entity); in Create()
50 return !stores.empty(); in Create()
62 stores_.EraseIf([](auto &, std::map<std::string, std::shared_ptr<Entity>> &stores) { in GarbageCollect()
64 for (auto it = stores.begin(); it != stores.end();) { in GarbageCollect()
67 it = stores in GarbageCollect()
[all...]
/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/src/
H A Dstore_factory.cpp43 stores_.Compute(appId, [&](auto &, auto &stores) { in GetOrOpenStore()
44 if (stores.find(storeId) != stores.end()) { in GetOrOpenStore()
45 kvStore = stores[storeId]; in GetOrOpenStore()
48 return !stores.empty(); in GetOrOpenStore()
69 return !stores.empty(); in GetOrOpenStore()
72 stores[storeId] = kvStore; in GetOrOpenStore()
73 return !stores.empty(); in GetOrOpenStore()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dauto_sync_timer_mock.cpp70 std::map<std::string, std::vector<StoreId>> stores; in GetStoreIds() local
72 stores_.EraseIf([&stores, &count](const std::string &key, std::vector<StoreId> &value) { in GetStoreIds()
75 stores.insert({ key, std::move(value) }); in GetStoreIds()
79 auto &innerStore = stores[key]; in GetStoreIds()
89 return stores; in GetStoreIds()
H A Dauto_sync_timer.cpp72 std::map<std::string, std::vector<StoreId>> stores; in GetStoreIds() local
74 stores_.EraseIf([&stores, &count](const std::string &key, std::vector<StoreId> &value) { in GetStoreIds()
77 stores.insert({ key, std::move(value) }); in GetStoreIds()
81 auto &innerStore = stores[key]; in GetStoreIds()
91 return stores; in GetStoreIds()
H A Dstore_factory.cpp65 stores_.Compute(appId, [&](auto &, auto &stores) { in GetOrOpenStore()
66 if (stores.find(storeId) != stores.end()) { in GetOrOpenStore()
67 kvStore = stores[storeId]; in GetOrOpenStore()
70 return !stores.empty(); in GetOrOpenStore()
80 return !stores.empty(); in GetOrOpenStore()
87 return !stores.empty(); in GetOrOpenStore()
110 return !stores.empty(); in GetOrOpenStore()
113 stores[storeId] = kvStore; in GetOrOpenStore()
115 return !stores in GetOrOpenStore()
[all...]
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/
H A Drender_node_scene_util.cpp163 SceneRenderDataStores stores; in GetSceneRenderDataStores() local
164 stores.dataStoreNameScene = sceneDataStoreName.empty() ? "RenderDataStoreDefaultScene" : sceneDataStoreName; in GetSceneRenderDataStores()
167 static_cast<IRenderDataStoreDefaultScene*>(renderDataStoreMgr.GetRenderDataStore(stores.dataStoreNameScene)); in GetSceneRenderDataStores()
170 stores.dataStoreNameMaterial = in GetSceneRenderDataStores()
172 stores.dataStoreNameCamera = in GetSceneRenderDataStores()
174 stores.dataStoreNameLight = in GetSceneRenderDataStores()
176 stores.dataStoreNameMorph = rs.dataStoreNameMorph.empty() ? "RenderDataStoreMorph" : rs.dataStoreNameMorph; in GetSceneRenderDataStores()
177 stores.dataStoreNamePrefix = rs.dataStoreNamePrefix; in GetSceneRenderDataStores()
179 return stores; in GetSceneRenderDataStores()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/waterversion/
H A Dwater_version_manager.cpp51 auto stores = CheckerManager::GetInstance().GetDynamicStores(); in Init() local
52 for (const auto &store : stores) { in Init()
55 stores = CheckerManager::GetInstance().GetStaticStores(); in Init()
56 for (const auto &store : stores) { in Init()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/
H A Dsync_manager.cpp57 SyncManager::SyncInfo::SyncInfo(int32_t user, const std::string &bundleName, const Stores &stores) in SyncInfo() argument
60 for (auto &store : stores) { in SyncInfo()
205 auto stores = CheckerManager::GetInstance().GetStaticStores(); in SyncManager() local
206 for (auto &store : stores) { in SyncManager()
209 stores = CheckerManager::GetInstance().GetDynamicStores(); in SyncManager()
210 for (auto &store : stores) { in SyncManager()
H A Dcloud_service_impl.cpp357 auto stores = CheckerManager::GetInstance().GetDynamicStores(); in DoKvCloudSync() local
359 stores.insert(stores.end(), staticStores.begin(), staticStores.end()); in DoKvCloudSync()
360 bool found = std::any_of(stores.begin(), stores.end(), [&bundleName](const CheckerManager::StoreInfo &storeInfo) { in DoKvCloudSync()
373 for (const auto &store : stores) { in DoKvCloudSync()
H A Dsync_manager.h62 SyncInfo(int32_t user, const std::string &bundleName, const Stores &stores);
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/matrix/src/
H A Ddevice_matrix.cpp85 auto stores = CheckerManager::GetInstance().GetDynamicStores(); in Initialize() local
89 for (auto &store : stores) { in Initialize()
92 stores = CheckerManager::GetInstance().GetStaticStores(); in Initialize()
94 for (auto &store : stores) { in Initialize()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dkvdb_service_impl.cpp631 auto stores = AutoCache::GetInstance().GetStoresIfPresent(meta.tokenId, storeId); in SetConfig() local
632 for (auto store : stores) { in SetConfig()
747 auto stores = AutoCache::GetInstance().GetStoresIfPresent(tokenId); in OnAppExit() local
748 for (auto store : stores) { in OnAppExit()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
H A Drdb_service_impl.cpp204 auto stores = AutoCache::GetInstance().GetStoresIfPresent(tokenId); in OnAppExit() local
205 for (auto store : stores) { in OnAppExit()

Completed in 14 milliseconds