/ohos5.0/base/theme/wallpaper_mgr/utils/include/ |
H A D | concurrent_map.h | 24 using key_type = typename std::map<_Key, _Tp>::key_type; 76 std::pair<bool, mapped_type> Find(const key_type &key) const noexcept in Find() 87 bool Contains(const key_type &key) const noexcept in Contains() 93 template<typename _Obj> bool InsertOrAssign(const key_type &key, _Obj &&obj) noexcept in InsertOrAssign() 100 bool Insert(const key_type &key, const mapped_type &value) noexcept in Insert() 107 size_type Erase(const key_type &key) noexcept in Erase() 156 void ForEach(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEach() argument 169 void ForEachCopies(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEachCopies() argument 183 …bool Compute(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &acti… in Compute() argument 204 …bool ComputeIfPresent(const key_type &key, const std::function<bool(const key_type &, mapped_type … in ComputeIfPresent() argument [all …]
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/framework/include/common/ |
H A D | concurrent_map.h | 25 using key_type = typename std::map<_Key, _Tp>::key_type; 78 std::pair<bool, mapped_type> Find(const key_type &key) const noexcept in Find() 89 bool Contains(const key_type &key) const noexcept in Contains() 96 bool InsertOrAssign(const key_type &key, _Obj &&obj) noexcept in InsertOrAssign() 103 bool Insert(const key_type &key, const mapped_type &value) noexcept in Insert() 110 size_type Erase(const key_type &key) noexcept in Erase() 159 void ForEach(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEach() argument 172 void ForEachCopies(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEachCopies() argument 186 …bool Compute(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &acti… in Compute() argument 207 …bool ComputeIfPresent(const key_type &key, const std::function<bool(const key_type &, mapped_type … in ComputeIfPresent() argument [all …]
|
/ohos5.0/base/inputmethod/imf/frameworks/common/ |
H A D | concurrent_map.h | 30 using key_type = typename std::map<_Key, _Tp>::key_type; variable 103 std::pair<bool, mapped_type> Find(const key_type &key) const noexcept in Find() 114 bool Contains(const key_type &key) const noexcept in Contains() 121 bool InsertOrAssign(const key_type &key, _Obj &&obj) noexcept in InsertOrAssign() 128 bool Insert(const key_type &key, const mapped_type &value) noexcept in Insert() 135 size_type Erase(const key_type &key) noexcept in Erase() 184 void ForEach(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEach() argument 211 …bool Compute(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &acti… in Compute() argument 232 …bool ComputeIfPresent(const key_type &key, const std::function<bool(const key_type &, mapped_type … in ComputeIfPresent() argument 248 …bool ComputeIfAbsent(const key_type &key, const std::function<mapped_type(const key_type &)> &acti… in ComputeIfAbsent() [all …]
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/include/ |
H A D | concurrent_map.h | 31 using key_type = typename std::map<_Key, _Tp>::key_type; variable 119 std::pair<bool, mapped_type> Find(const key_type &key) const noexcept in Find() 143 bool Contains(const key_type &key) const noexcept in Contains() 150 bool InsertOrAssign(const key_type &key, _Obj &&obj) noexcept in InsertOrAssign() 157 bool Insert(const key_type &key, const mapped_type &value) noexcept in Insert() 164 size_type Erase(const key_type &key) noexcept in Erase() 170 size_type EraseIf(const key_type &key, in EraseIf() 227 void ForEach(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEach() argument 254 …bool Compute(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &acti… in Compute() argument 275 …bool ComputeIfPresent(const key_type &key, const std::function<bool(const key_type &, mapped_type … in ComputeIfPresent() argument [all …]
|
/ohos5.0/foundation/ability/ability_runtime/services/dataobsmgr/include/ |
H A D | concurrent_map.h | 30 using key_type = typename std::map<_Key, _Tp>::key_type; variable 103 std::pair<bool, mapped_type> Find(const key_type &key) const noexcept in Find() 114 bool Contains(const key_type &key) const noexcept in Contains() 121 bool InsertOrAssign(const key_type &key, _Obj &&obj) noexcept in InsertOrAssign() 128 bool Insert(const key_type &key, const mapped_type &value) noexcept in Insert() 135 size_type Erase(const key_type &key) noexcept in Erase() 184 void ForEach(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEach() argument 197 void ForEachCopies(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEachCopies() argument 211 …bool Compute(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &acti… in Compute() argument 232 …bool ComputeIfPresent(const key_type &key, const std::function<bool(const key_type &, mapped_type … in ComputeIfPresent() argument [all …]
|
/ohos5.0/foundation/distributeddatamgr/relational_store/rdbmock/frameworks/native/rdb/ |
H A D | concurrent_map.h | 30 using key_type = typename std::map<_Key, _Tp>::key_type; variable 103 std::pair<bool, mapped_type> Find(const key_type &key) const noexcept in Find() 114 bool Contains(const key_type &key) const noexcept in Contains() 121 bool InsertOrAssign(const key_type &key, _Obj &&obj) noexcept in InsertOrAssign() 128 bool Insert(const key_type &key, const mapped_type &value) noexcept in Insert() 135 size_type Erase(const key_type &key) noexcept in Erase() 184 mapped_type &operator[](const key_type &key) noexcept 190 void ForEach(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEach() argument 217 …bool Compute(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &acti… in Compute() argument 238 …bool ComputeIfPresent(const key_type &key, const std::function<bool(const key_type &, mapped_type … in ComputeIfPresent() argument [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/common/ |
H A D | concurrent_map.h | 30 using key_type = typename std::map<_Key, _Tp>::key_type; variable 103 std::pair<bool, mapped_type> Find(const key_type &key) const noexcept in Find() 127 bool Contains(const key_type &key) const noexcept in Contains() 134 bool InsertOrAssign(const key_type &key, _Obj &&obj) noexcept in InsertOrAssign() 141 bool Insert(const key_type &key, const mapped_type &value) noexcept in Insert() 148 size_type Erase(const key_type &key) noexcept in Erase() 197 void ForEach(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEach() argument 210 void ForEachCopies(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEachCopies() argument 224 …bool Compute(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &acti… in Compute() argument 245 …bool ComputeIfPresent(const key_type &key, const std::function<bool(const key_type &, mapped_type … in ComputeIfPresent() argument [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
H A D | unordered_map.h | 195 key_type& key() const in key() 219 using key_type = Key; 352 size_t erase(const key_type& key) in erase() 360 node_type extract(const key_type& key) in extract() 449 iterator find(const key_type& key) in find() 453 const_iterator find(const key_type& key) const in find() 457 bool contains(const key_type& key) const in contains() 461 size_t count(const key_type& key) const in count() 465 mapped_type& operator[](const key_type& key) 474 mapped_type& operator[](key_type&& key) [all …]
|
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/unittest_mock/ |
H A D | huks_adapter_mock.c | 42 uint32_t key_type; member 654 if (key_type >= HC_MAX_KEY_TYPE_NUM) { in generate_key_alias() 668 const uint8_t *key_type_pair = g_key_type_pairs[key_type]; in generate_key_alias() 967 .uint32Param = (uint32_t)huks_key_type.key_type in init_import_lt_public_key_param_set() 1081 key_type_union.key_type = key_role->uint32Param; in inner_get_lt_info_by_key_info() 1135 key_type_union.key_type = key_role->uint32Param; in inner_get_lt_info_by_key_alias() 1180 struct huks_key_type key_type; in check_key_alias_is_owner() local 1193 if (key_type.pair_type == (uint8_t)HC_PAIR_TYPE_BIND) { in check_key_alias_is_owner() 1206 struct huks_key_type key_type; in load_lt_public_key_list() local 1227 if (key_type.user_type != user_type) { in load_lt_public_key_list() [all …]
|
H A D | huks_adapter_mock_for_pake.c | 42 uint32_t key_type; member 725 if (key_type >= HC_MAX_KEY_TYPE_NUM) { in generate_key_alias() 739 const uint8_t *key_type_pair = g_key_type_pairs[key_type]; in generate_key_alias() 1038 .uint32Param = (uint32_t)huks_key_type.key_type in init_import_lt_public_key_param_set() 1152 key_type_union.key_type = key_role->uint32Param; in inner_get_lt_info_by_key_info() 1206 key_type_union.key_type = key_role->uint32Param; in inner_get_lt_info_by_key_alias() 1251 struct huks_key_type key_type; in check_key_alias_is_owner() local 1264 if (key_type.pair_type == (uint8_t)HC_PAIR_TYPE_BIND) { in check_key_alias_is_owner() 1277 struct huks_key_type key_type; in load_lt_public_key_list() local 1298 if (key_type.user_type != user_type) { in load_lt_public_key_list() [all …]
|
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/source/huks_adapter/ |
H A D | huks_adapter.c | 42 uint32_t key_type; member 781 if (key_type >= HC_MAX_KEY_TYPE_NUM) { in generate_key_alias() 795 const uint8_t *key_type_pair = g_key_type_pairs[key_type]; in generate_key_alias() 1234 key_type_union.key_type = key_role->uint32Param; in inner_get_lt_info_by_key_info() 1300 key_type_union.key_type = key_role->uint32Param; in inner_get_lt_info_by_key_alias() 1342 struct huks_key_type key_type; in check_key_alias_is_owner() local 1352 if (key_type.user_type != (uint8_t)HC_USER_TYPE_CONTROLLER) { in check_key_alias_is_owner() 1355 if (key_type.pair_type == (uint8_t)HC_PAIR_TYPE_BIND) { in check_key_alias_is_owner() 1368 struct huks_key_type key_type; in load_lt_public_key_list() local 1389 if (key_type.user_type != user_type) { in load_lt_public_key_list() [all …]
|
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/source/ |
H A D | hichain.c | 367 struct huks_key_type key_type; in is_trust_peer() local 370 (void)memset_s(&key_type, sizeof(key_type), 0, sizeof(key_type)); in is_trust_peer() 371 ret = get_lt_key_info(&alias, &key_type, &auth_id); in is_trust_peer() 377 if (key_type.user_type == (uint8_t)HC_USER_TYPE_ACCESSORY) { in is_trust_peer() 380 if (key_type.pair_type == (uint8_t)HC_PAIR_TYPE_BIND) { in is_trust_peer()
|
/ohos5.0/drivers/hdf_core/framework/tools/idl-gen/ |
H A D | idl_generator.py | 265 key_type = self._convert_basic_type(tt[5]) 267 …return "Map<%s, %s>" % (key_type == "" and tt[5] or key_type, value_type == "" and tt[9] or value_…
|
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/inc/huks_adapter/ |
H A D | huks_adapter.h | 82 const struct hc_auth_id *auth_id, enum huks_key_alias_type key_type);
|
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/ |
H A D | huks_adapter_test.h | 86 const struct hc_auth_id *auth_id, enum huks_key_alias_type key_type);
|
H A D | huks_adapter_test.cpp | 492 struct huks_key_type key_type; variable 497 int32_t ret = get_lt_key_info(&alias, &key_type, &auth_id);
|
/ohos5.0/base/security/huks/interfaces/inner_api/huks_lite/ |
H A D | hks_types.h | 216 uint32_t key_type; /* algorithm */ member
|