Home
last modified time | relevance | path

Searched refs:mapped_type (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/base/inputmethod/imf/frameworks/common/
H A Dconcurrent_map.h31 using mapped_type = typename std::map<_Key, _Tp>::mapped_type; variable
103 std::pair<bool, mapped_type> Find(const key_type &key) const noexcept in Find()
108 return std::pair { false, mapped_type() }; in Find()
128 bool Insert(const key_type &key, const mapped_type &value) noexcept in Insert()
161 …size_type EraseIf(const std::function<bool(const key_type &key, mapped_type &value)> &action) noex… in EraseIf()
184 void ForEach(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEach()
197 void ForEachCopies(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEachCopies()
211 …bool Compute(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &acti… in Compute()
219 auto result = entries_.emplace(key, mapped_type()); in Compute()
248 …bool ComputeIfAbsent(const key_type &key, const std::function<mapped_type(const key_type &)> &acti… in ComputeIfAbsent()
[all …]
/ohos5.0/base/theme/wallpaper_mgr/utils/include/
H A Dconcurrent_map.h25 using mapped_type = typename std::map<_Key, _Tp>::mapped_type; variable
76 std::pair<bool, mapped_type> Find(const key_type &key) const noexcept in Find()
81 return std::pair{ false, mapped_type() }; in Find()
100 bool Insert(const key_type &key, const mapped_type &value) noexcept in Insert()
133 …size_type EraseIf(const std::function<bool(const key_type &key, mapped_type &value)> &action) noex… in EraseIf()
156 void ForEach(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEach()
169 void ForEachCopies(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEachCopies()
183 …bool Compute(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &acti… in Compute()
191 auto result = entries_.emplace(key, mapped_type()); in Compute()
204 …eIfPresent(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &action) in ComputeIfPresent()
[all …]
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/framework/include/common/
H A Dconcurrent_map.h26 using mapped_type = typename std::map<_Key, _Tp>::mapped_type; variable
78 std::pair<bool, mapped_type> Find(const key_type &key) const noexcept in Find()
83 return std::pair{ false, mapped_type() }; in Find()
103 bool Insert(const key_type &key, const mapped_type &value) noexcept in Insert()
136 …size_type EraseIf(const std::function<bool(const key_type &key, mapped_type &value)> &action) noex… in EraseIf()
159 void ForEach(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEach()
172 void ForEachCopies(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEachCopies()
186 …bool Compute(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &acti… in Compute()
194 auto result = entries_.emplace(key, mapped_type()); in Compute()
207 …eIfPresent(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &action) in ComputeIfPresent()
[all …]
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/include/
H A Dconcurrent_map.h32 using mapped_type = typename std::map<_Key, _Tp>::mapped_type; variable
119 std::pair<bool, mapped_type> Find(const key_type &key) const noexcept in Find()
124 return std::pair { false, mapped_type() }; in Find()
157 bool Insert(const key_type &key, const mapped_type &value) noexcept in Insert()
171 const std::function<bool(const key_type &key, mapped_type &value)> &action) noexcept in EraseIf()
204 …size_type EraseIf(const std::function<bool(const key_type &key, mapped_type &value)> &action) noex… in EraseIf()
227 void ForEach(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEach()
240 void ForEachCopies(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEachCopies()
254 …bool Compute(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &acti… in Compute()
262 auto result = entries_.emplace(key, mapped_type()); in Compute()
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/rdbmock/frameworks/native/rdb/
H A Dconcurrent_map.h31 using mapped_type = typename std::map<_Key, _Tp>::mapped_type; variable
103 std::pair<bool, mapped_type> Find(const key_type &key) const noexcept in Find()
108 return std::pair { false, mapped_type() }; in Find()
128 bool Insert(const key_type &key, const mapped_type &value) noexcept in Insert()
161 …size_type EraseIf(const std::function<bool(const key_type &key, mapped_type &value)> &action) noex… in EraseIf()
184 mapped_type &operator[](const key_type &key) noexcept
190 void ForEach(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEach()
203 void ForEachCopies(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEachCopies()
217 …bool Compute(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &acti… in Compute()
225 auto result = entries_.emplace(key, mapped_type()); in Compute()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/common/
H A Dconcurrent_map.h31 using mapped_type = typename std::map<_Key, _Tp>::mapped_type; variable
103 std::pair<bool, mapped_type> Find(const key_type &key) const noexcept in Find()
108 return std::pair { false, mapped_type() }; in Find()
114 …bool ContainIf(const key_type &key, const std::function<bool(const mapped_type &value)> &action) c… in ContainIf()
141 bool Insert(const key_type &key, const mapped_type &value) noexcept in Insert()
174 …size_type EraseIf(const std::function<bool(const key_type &key, mapped_type &value)> &action) noex… in EraseIf()
197 void ForEach(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEach()
210 void ForEachCopies(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEachCopies()
224 …bool Compute(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &acti… in Compute()
232 auto result = entries_.emplace(key, mapped_type()); in Compute()
[all …]
/ohos5.0/foundation/ability/ability_runtime/services/dataobsmgr/include/
H A Dconcurrent_map.h31 using mapped_type = typename std::map<_Key, _Tp>::mapped_type; variable
103 std::pair<bool, mapped_type> Find(const key_type &key) const noexcept in Find()
108 return std::pair { false, mapped_type() }; in Find()
128 bool Insert(const key_type &key, const mapped_type &value) noexcept in Insert()
161 …size_type EraseIf(const std::function<bool(const key_type &key, mapped_type &value)> &action) noex… in EraseIf()
184 void ForEach(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEach()
197 void ForEachCopies(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEachCopies()
211 …bool Compute(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &acti… in Compute()
219 auto result = entries_.emplace(key, mapped_type()); in Compute()
232 …eIfPresent(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &action) in ComputeIfPresent()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/
H A Dunordered_map.h185 using mapped_type = typename data_type::value_type::second_type; member
199 mapped_type& mapped() const in mapped()
220 using mapped_type = T; variable
465 mapped_type& operator[](const key_type& key)
474 mapped_type& operator[](key_type&& key)
555 return create_entry(ind, allocate(key, mapped_type {})); in create_entry()
559 return create_entry(ind, allocate(BASE_NS::forward<key_type>(key), mapped_type {})); in create_entry()
561 list_node* create_entry(uint32_t ind, const key_type& key, const mapped_type& value) in create_entry()
565 list_node* create_entry(uint32_t ind, key_type&& key, mapped_type&& value) in create_entry()
567 …create_entry(ind, allocate(BASE_NS::forward<key_type>(key), BASE_NS::forward<mapped_type>(value))); in create_entry()
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_request_test.cpp1071 pictureMap.insert(std::make_pair(string("test"), PictureMap::mapped_type())); in HWTEST_F()
1092 …pictureMap.insert(std::make_pair(string("test"), PictureMap::mapped_type(MAX_LIVE_VIEW_ICON_NUM + … in HWTEST_F()
1112 PictureMap::mapped_type vecPixelMap; in HWTEST_F()
1138 PictureMap::mapped_type vecPixelMap; in HWTEST_F()