Searched refs:key_type (Results 1 – 7 of 7) sorted by relevance
/base/theme/wallpaper_mgr/utils/include/ |
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() 136 …size_type EraseIf(const std::function<bool(const key_type &key, mapped_type &value)> &action) noex… in EraseIf() 159 mapped_type &operator[](const key_type &key) noexcept 165 void ForEach(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEach() argument 178 void ForEachCopies(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEachCopies() argument [all …]
|
/base/inputmethod/imf/frameworks/common/ |
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() 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() argument 203 void ForEachCopies(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEachCopies() argument [all …]
|
/base/security/device_auth/frameworks/deviceauth_lite/source/struct/ |
D | import_add_auth_data.c | 68 uint8_t key_type[HC_KEY_TYPE_LEN] = {0}; in parse_import_add_auth_data() local 70 result = byte_convert(obj, FIELD_KEY_TYPE, key_type, &key_length, HC_KEY_TYPE_LEN); in parse_import_add_auth_data() 76 signed_auth_data->user_type = key_type[g_key_type_position]; in parse_import_add_auth_data()
|
/base/security/device_auth/frameworks/deviceauth_lite/source/huks_adapter/ |
D | huks_adapter.c | 41 uint32_t key_type; member 723 const struct hc_auth_id *auth_id, enum huks_key_alias_type key_type) in generate_key_alias() argument 729 if (key_type >= HC_MAX_KEY_TYPE_NUM) { in generate_key_alias() 743 const uint8_t *key_type_pair = g_key_type_pairs[key_type]; in generate_key_alias() 1042 .uint32Param = (uint32_t)huks_key_type.key_type in init_import_lt_public_key_param_set() 1156 key_type_union.key_type = key_role->uint32Param; in inner_get_lt_info_by_key_info() 1210 key_type_union.key_type = key_role->uint32Param; in inner_get_lt_info_by_key_alias() 1255 struct huks_key_type key_type; in check_key_alias_is_owner() local 1259 error_code = inner_get_lt_info_by_key_alias(&key_alias_blob, &key_type, &auth_id); in check_key_alias_is_owner() 1265 if (key_type.user_type != (uint8_t)HC_USER_TYPE_CONTROLLER) { in check_key_alias_is_owner() [all …]
|
D | huks_adapter.h | 82 const struct hc_auth_id *auth_id, enum huks_key_alias_type key_type);
|
/base/security/device_auth/frameworks/deviceauth_lite/source/ |
D | hichain.c | 547 struct huks_key_type key_type; in is_trust_peer() local 550 (void)memset_s(&key_type, sizeof(key_type), 0, sizeof(key_type)); in is_trust_peer() 551 ret = get_lt_key_info(&alias, &key_type, &auth_id); in is_trust_peer() 557 if (key_type.user_type == (uint8_t)HC_USER_TYPE_ACCESSORY) { in is_trust_peer() 560 if (key_type.pair_type == (uint8_t)HC_PAIR_TYPE_BIND) { in is_trust_peer()
|
/base/security/huks/interfaces/inner_api/huks_lite/ |
D | hks_types.h | 216 uint32_t key_type; /* algorithm */ member
|