Home
last modified time | relevance | path

Searched refs:map_ (Results 1 – 13 of 13) sorted by relevance

/foundation/multimedia/histreamer/engine/include/plugin/common/
Dplugin_meta.h36 auto iter = map_.find(tag); \
37 if (iter != map_.end()) { \
38 map_.erase(iter++); \
40 map_.insert(std::make_pair(tag, value)); \
47 if (map_.count(tag) == 0) { \
50 return AnyCast<ValueType>(&map_.at(tag), value); \
126 map_ = other.map_;
135 map_ = other.map_; in Meta()
140 return map_[tag];
145 return map_.cbegin(); in begin()
[all …]
/foundation/filemanagement/storage_service/services/common/include/
Dstorage_rl_map.h32 return map_[key];
37 map_.erase(key); in Erase()
42 auto result = map_.insert(std::pair<K, V>(key, value)); in Insert()
48 map_.clear(); in Clear()
53 map_.empty(); in Empty()
58 auto it = map_.find(key); in Contains()
59 if (it != map_.end()) { in Contains()
67 return map_.find(key); in Find()
72 return map_.find(key); in Find()
77 return map_.size(); in Size()
[all …]
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/data_sync/
Dtask.cpp175 if (map_.find(key) == map_.end()) { in AllocRunner()
178 map_.insert({ key, runner }); in AllocRunner()
180 return map_[key]; in AllocRunner()
187 map_.erase(key); in ReleaseRunner()
194 if (map_.find(key) == map_.end()) { in GetRunner()
197 return map_[key]; in GetRunner()
/foundation/communication/bluetooth/frameworks/js/napi/src/common/
Dnapi_async_work.cpp196 auto it = map_.find(type); in TryPush()
197 if (it != map_.end()) { in TryPush()
204 map_.erase(it); in TryPush()
207 map_[type] = std::move(asyncWork); in TryPush()
214 map_.erase(type); in Erase()
220 auto it = map_.find(type); in Get()
221 return it != map_.end() ? it->second : nullptr; in Get()
/foundation/arkui/ace_engine/frameworks/core/components/video/
Dvideo_component_v2.h36 return map_; in GetGestureComponentMap()
41 map_ = map; in SetGestureComponentMap()
72 std::unordered_map<std::string, RefPtr<Component>> map_;
Dvideo_element_v2.cpp29 auto iter = map_.find(name); in GetRootComponent()
30 if (iter != map_.end()) { in GetRootComponent()
149 auto iter = map_.find(name); in GetEventComponents()
150 if (iter != map_.end()) { in GetEventComponents()
166 auto oldBoxIter = map_.find("box"); in GetEventComponents()
167 if (oldBoxIter != map_.end()) { in GetEventComponents()
269 map_ = videoComponentV2->GetGestureComponentMap(); in InitStatus()
Dvideo_element_v2.h46 std::unordered_map<std::string, RefPtr<Component>> map_; variable
/foundation/distributeddatamgr/preferences/frameworks/native/src/
Dpreferences_impl.cpp142 pref->ReadSettingXml(pref->options_.filePath, pref->map_); in LoadFromDisk()
191 auto iter = map_.find(key); in Get()
192 if (iter != map_.end()) { in Get()
201 return map_; in GetAll()
339 return (map_.find(key) != map_.end()); in HasKey()
415 auto iter = map_.find(key); in Put()
416 if (iter != map_.end()) { in Put()
423 map_.insert_or_assign(key, value); in Put()
461 auto pos = map_.find(key); in Delete()
462 if (pos != map_.end()) { in Delete()
[all …]
/foundation/barrierfree/accessibility/services/aams/test/mock/src/
Dmock_preferences.cpp129 std::map<std::string, PreferencesValue> map_; in GetAll() local
130 return map_; in GetAll()
/foundation/communication/bluetooth/frameworks/js/napi/include/
Dnapi_async_work.h99 std::map<int, std::shared_ptr<NapiAsyncWork>> map_ {};
/foundation/distributeddatamgr/preferences/frameworks/native/include/
Dpreferences_impl.h210 std::map<std::string, PreferencesValue> map_; variable
/foundation/filemanagement/dfs_service/services/cloudsyncservice/include/data_sync/
Dtask.h213 std::unordered_map<std::string, std::shared_ptr<TaskRunner>> map_; variable
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/data_sync/
Dtask_test.cpp455 taskManager.map_.insert({key, value});