/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/store/ |
H A D | auto_cache.cpp | 66 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 D | db_delegate.cpp | 34 [&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 D | store_factory.cpp | 43 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 D | auto_sync_timer_mock.cpp | 70 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 D | auto_sync_timer.cpp | 72 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 D | store_factory.cpp | 65 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 D | render_node_scene_util.cpp | 163 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 D | water_version_manager.cpp | 51 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 D | sync_manager.cpp | 57 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 D | cloud_service_impl.cpp | 357 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 D | sync_manager.h | 62 SyncInfo(int32_t user, const std::string &bundleName, const Stores &stores);
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/matrix/src/ |
H A D | device_matrix.cpp | 85 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 D | kvdb_service_impl.cpp | 631 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 D | rdb_service_impl.cpp | 204 auto stores = AutoCache::GetInstance().GetStoresIfPresent(tokenId); in OnAppExit() local 205 for (auto store : stores) { in OnAppExit()
|