Home
last modified time | relevance | path

Searched refs:ComputeIfAbsent (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/
H A Dobject_asset_loader.cpp88 tasks_.ComputeIfAbsent(++taskSeq_, [task](const uint32_t key) { in TransferAssetsAsync()
101 downloading_.ComputeIfAbsent(asset.uri, [asset](const std::string& key) { in TransferAssetsAsync()
136 downloaded_.ComputeIfAbsent(asset.uri, [asset](const std::string& key) { in UpdateDownloaded()
H A Dobject_manager.cpp491 restoreStatus_.ComputeIfAbsent( in NotifyDataChanged()
508 objectTimer_.ComputeIfAbsent( in WaitAssets()
537 restoreStatus_.ComputeIfAbsent( in NotifyAssetsReady()
570 restoreStatus_.ComputeIfAbsent( in NotifyAssetsStart()
1159 snapshots_.ComputeIfAbsent( in BindAsset()
1164 bindSnapshots_.ComputeIfAbsent( in BindAsset()
1241 bindSnapshots_.ComputeIfAbsent( in GetSnapShots()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/backuprule/
H A Dbackup_rule_manager.cpp40 getters_.ComputeIfAbsent(backupRule, [&getter](const auto &) mutable { in RegisterPlugin()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/permission/
H A Dchecker_manager.cpp29 getters_.ComputeIfAbsent(checker, [&getter](const auto &) { in RegisterChecker()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/
H A Dapp_connect_manager.cpp29 auto result = blockCache_.ComputeIfAbsent(bundleName, [&block](const std::string &key) { in Wait()
H A Dextension_ability_manager.cpp39 … auto absent = connectCallbackCache_.ComputeIfAbsent(bundleName, [callback](const std::string &) { in ConnectExtension()
/ohos5.0/base/inputmethod/imf/frameworks/common/
H A Dconcurrent_map.h248 …bool ComputeIfAbsent(const key_type &key, const std::function<mapped_type(const key_type &)> &acti… in ComputeIfAbsent() function
262 …bool ComputeIfAbsent(const key_type &key, const std::function<bool(const key_type &, mapped_type &… in ComputeIfAbsent() function
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Drdb_sql_statistic.cpp36 observers_.ComputeIfAbsent(observer.get(), [observer](auto &) { in Subscribe()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/checker/
H A Dchecker_manager.cpp45 getters_.ComputeIfAbsent(checker, [&getter](const auto &) mutable { in RegisterPlugin()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/metadata/
H A Dmeta_data_manager.cpp315 …return metaObservers_.ComputeIfAbsent("", [this, &observer, &filter](const std::string &key) -> au… in Subscribe()
326 …return metaObservers_.ComputeIfAbsent(prefix, [this, isLocal, &observer, &prefix](const std::strin… in Subscribe()
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/proxy/src/
H A Ddata_share_manager_impl.cpp206 observers_.ComputeIfAbsent(ptr, [&registerCallback](const GeneralControllerServiceImpl*) { in SetRegisterCallback()
/ohos5.0/base/theme/wallpaper_mgr/utils/include/
H A Dconcurrent_map.h220 …bool ComputeIfAbsent(const key_type &key, const std::function<mapped_type(const key_type &)> &acti… in ComputeIfAbsent() function
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/framework/include/common/
H A Dconcurrent_map.h223 …bool ComputeIfAbsent(const key_type &key, const std::function<mapped_type(const key_type &)> &acti… in ComputeIfAbsent() function
/ohos5.0/foundation/ability/ability_runtime/services/dataobsmgr/include/
H A Dconcurrent_map.h248 …bool ComputeIfAbsent(const key_type &key, const std::function<mapped_type(const key_type &)> &acti… in ComputeIfAbsent() function
/ohos5.0/foundation/distributeddatamgr/relational_store/rdbmock/frameworks/native/rdb/
H A Dconcurrent_map.h254 …bool ComputeIfAbsent(const key_type &key, const std::function<mapped_type(const key_type &)> &acti… in ComputeIfAbsent() function
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/common/
H A Dconcurrent_map.h261 …bool ComputeIfAbsent(const key_type &key, const std::function<mapped_type(const key_type &)> &acti… in ComputeIfAbsent() function
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/include/
H A Dconcurrent_map.h291 …bool ComputeIfAbsent(const key_type &key, const std::function<mapped_type(const key_type &)> &acti… in ComputeIfAbsent() function
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
H A Dinput_method_ability.cpp909 auto flag = panels_.ComputeIfAbsent( in CreatePanel()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/
H A Dsync_manager.cpp473 … activeInfos_.ComputeIfAbsent(info.syncId_, [this, times, interval, &info](uint64_t key) mutable { in GetRetryer()
/ohos5.0/foundation/distributeddatamgr/pasteboard/services/core/src/
H A Dpasteboard_service.cpp1757 … auto isAbsent = globalShareOptions_.ComputeIfAbsent(tokenId, [&option](const uint32_t &tokenId) { in SetAppShareOptions()