Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/src/
H A Dpreferences_impl.cpp196 auto it = valuesCache_.Find(key); in Get()
206 return valuesCache_.Clone(); in GetAll()
306 pref->valuesCache_ = std::move(values); in ReadSettingXml()
409 return valuesCache_.Contains(key); in HasKey()
424 valuesCache_.Compute(key, [this, &value](auto &key, PreferencesValue &val) { in Put()
442 valuesCache_.EraseIf(key, [this](auto &key, PreferencesValue &val) { in Delete()
452 valuesCache_.EraseIf([this](auto &key, PreferencesValue &val) { in Clear()
463 pref->valuesCache_.DoActionWhenClone( in WriteToDiskFile()
530 auto iter = valuesCache_.Find(key); in GetValue()
540 return std::make_pair(E_OK, valuesCache_.Clone()); in GetAllData()
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/include/
H A Dpreferences_impl.h85 ConcurrentMap<std::string, PreferencesValue> valuesCache_; variable