Home
last modified time | relevance | path

Searched refs:Key (Results 1 – 25 of 27) sorted by relevance

12

/base/hiviewdfx/faultloggerd/interfaces/innerkits/callstack/include/
Dhashlist.hpp24 template<typename Key, typename Val>
25 LinkNode<Key, Val>::LinkNode(const Key &key) : key_ {key} {} in LinkNode()
27 template<typename Key, typename Val>
28 LinkNode<Key, Val>::LinkNode(const Key &key, const Val &val) : key_ {key}, val_ {val} {} in LinkNode()
30 template<typename Key, typename Val>
31 LinkNode<Key, Val>::LinkNode(const Key &key, Val &&val) : key_ {key}, val_ {std::move(val)} {} in LinkNode()
33 template<typename Key, typename Val>
34 LinkNode<Key, Val>::LinkNode(const LinkNode& node) in LinkNode()
40 template<typename Key, typename Val>
41 LinkNode<Key, Val>::LinkNode(LinkNode&& node) in LinkNode()
[all …]
Dhashlist.h51 template<typename Key, typename Val>
55 Key key_ {};
60 explicit LinkNode(const Key &key);
61 explicit LinkNode(const Key &key, const Val &val);
62 explicit LinkNode(const Key &key, Val &&val);
67 static LinkNode<Key, Val> *GetLinkNode(Val *pval);
68 static LinkNode<Key, Val> *GetLinkNode(Link *plink);
71 template<typename Key, typename Val>
78 explicit Iterator(LinkNode<Key, Val> *pnode, HashList *phashList);
79 explicit Iterator(const LinkNode<Key, Val> *pnode, const HashList *phashList);
[all …]
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/include/
Dmock_single_kv_store.h42 virtual Status GetEntries(const Key &prefixKey, std::vector<Entry> &entries) const override;
60 …virtual Status GetResultSet(const Key &prefixKey, std::shared_ptr<KvStoreResultSet> &resultSet) co…
122 virtual Status Delete(const Key &key) override;
131 virtual Status Put(const Key &key, const Value &value) override;
140 virtual Status Get(const Key &key, Value &value) override;
203 virtual Status DeleteBatch(const std::vector<Key> &keys) override;
362 bool operator()(const Key &a, const Key &b) const in operator()
374 void InsertDataToDoCallback(const Key &key, const Value &value);
382 void UpdateDataToDoCallback(const Key &key, const Value &value);
389 void DeleteDataToDoCallback(const Key &key);
[all …]
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/include/
Dmock_single_kv_store.h43 Status GetEntries(const Key &prefixKey, std::vector<Entry> &entries) const override;
61 …Status GetResultSet(const Key &prefixKey, std::shared_ptr<KvStoreResultSet> &resultSet) const over…
122 Status Delete(const Key &key) override;
131 Status Put(const Key &key, const Value &value) override;
140 Status Get(const Key &key, Value &value) override;
203 Status DeleteBatch(const std::vector<Key> &keys) override;
/base/notification/distributed_notification_service/services/test/moduletest/mock/include/
Dmock_single_kv_store.h43 virtual Status GetEntries(const Key &prefixKey, std::vector<Entry> &entries) const override;
61 …virtual Status GetResultSet(const Key &prefixKey, std::shared_ptr<KvStoreResultSet> &resultSet) co…
123 virtual Status Delete(const Key &key) override;
132 virtual Status Put(const Key &key, const Value &value) override;
141 virtual Status Get(const Key &key, Value &value) override;
204 virtual Status DeleteBatch(const std::vector<Key> &keys) override;
/base/notification/distributed_notification_service/services/distributed/test/unittest/mock/
Dmock_single_kv_store.h43 virtual Status GetEntries(const Key &prefixKey, std::vector<Entry> &entries) const override;
61 …virtual Status GetResultSet(const Key &prefixKey, std::shared_ptr<KvStoreResultSet> &resultSet) co…
124 virtual Status Delete(const Key &key) override;
133 virtual Status Put(const Key &key, const Value &value) override;
142 virtual Status Get(const Key &key, Value &value) override;
205 virtual Status DeleteBatch(const std::vector<Key> &keys) override;
Dmock_single_kv_store.cpp21 Status MockSingleKvStore::GetEntries(const Key &prefixKey, std::vector<Entry> &entries) const in GetEntries()
31 Status MockSingleKvStore::GetResultSet(const Key &prefixKey, std::shared_ptr<KvStoreResultSet> &res… in GetResultSet()
69 Status MockSingleKvStore::Delete(const Key &key) in Delete()
74 Status MockSingleKvStore::Put(const Key &key, const Value &value) in Put()
79 Status MockSingleKvStore::Get(const Key &key, Value &value) in Get()
109 Status MockSingleKvStore::DeleteBatch(const std::vector<Key> &keys) in DeleteBatch()
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
Dglobal_utils.c45 static uint32_t FindOffsetByLanguage(const char *language, const Key *keys, uint32_t configNum);
46 static uint32_t FindOffsetByLangWithScriptOrRegion(char **resConfig, const Key *keys, uint32_t conf…
47 static uint32_t FindOffsetByAllParam(char **resConfig, const Key *keys, uint32_t configNum);
48 static uint32_t GetIdHeaderOffsetByCount(char **resConfig, const Key *keys, uint32_t configNum, int…
53 static void FreeKeyParams(Key *keys, int32_t count);
54 static int32_t GetKeyParams(int32_t file, Key *keys, uint32_t resConfigNum);
55 static uint32_t GetIdHeaderOffsetByLocale(const char *locale, const Key *keys, uint32_t configNum);
139 static uint32_t FindOffsetByLanguage(const char *language, const Key *keys, uint32_t configNum) in FindOffsetByLanguage()
176 static uint32_t FindOffsetByLangWithScriptOrRegion(char **resConfig, const Key *keys, uint32_t conf… in FindOffsetByLangWithScriptOrRegion()
211 static uint32_t FindOffsetByAllParam(char **resConfig, const Key *keys, uint32_t configNum) in FindOffsetByAllParam()
[all …]
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_screen_status_manager_branch_test/
Dmock_single_kv_store.cpp30 Status MockSingleKvStore::GetEntries(const Key &prefixKey, std::vector<Entry> &entries) const in GetEntries()
45 Status MockSingleKvStore::GetResultSet(const Key &prefixKey, std::shared_ptr<KvStoreResultSet> &res… in GetResultSet()
83 Status MockSingleKvStore::Delete(const Key &key) in Delete()
88 Status MockSingleKvStore::Put(const Key &key, const Value &value) in Put()
93 Status MockSingleKvStore::Get(const Key &key, Value &value) in Get()
123 Status MockSingleKvStore::DeleteBatch(const std::vector<Key> &keys) in DeleteBatch()
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
Dmock_single_kv_store.cpp21 Status MockSingleKvStore::GetEntries(const Key &prefixKey, std::vector<Entry> &entries) const in GetEntries()
31 Status MockSingleKvStore::GetResultSet(const Key &prefixKey, std::shared_ptr<KvStoreResultSet> &res… in GetResultSet()
68 Status MockSingleKvStore::Delete(const Key &key) in Delete()
73 Status MockSingleKvStore::Put(const Key &key, const Value &value) in Put()
78 Status MockSingleKvStore::Get(const Key &key, Value &value) in Get()
108 Status MockSingleKvStore::DeleteBatch(const std::vector<Key> &keys) in DeleteBatch()
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_database_branch_test/
Dmock_single_kv_store.cpp36 Status MockSingleKvStore::GetEntries(const Key &prefixKey, std::vector<Entry> &entries) const in GetEntries()
46 Status MockSingleKvStore::GetResultSet(const Key &prefixKey, std::shared_ptr<KvStoreResultSet> &res… in GetResultSet()
87 Status MockSingleKvStore::Delete(const Key &key) in Delete()
92 Status MockSingleKvStore::Put(const Key &key, const Value &value) in Put()
97 Status MockSingleKvStore::Get(const Key &key, Value &value) in Get()
130 Status MockSingleKvStore::DeleteBatch(const std::vector<Key> &keys) in DeleteBatch()
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_preferences_database_test/
Dmock_single_kv_store.cpp30 Status MockSingleKvStore::GetEntries(const Key &prefixKey, std::vector<Entry> &entries) const in GetEntries()
40 Status MockSingleKvStore::GetResultSet(const Key &prefixKey, std::shared_ptr<KvStoreResultSet> &res… in GetResultSet()
78 Status MockSingleKvStore::Delete(const Key &key) in Delete()
83 Status MockSingleKvStore::Put(const Key &key, const Value &value) in Put()
88 Status MockSingleKvStore::Get(const Key &key, Value &value) in Get()
121 Status MockSingleKvStore::DeleteBatch(const std::vector<Key> &keys) in DeleteBatch()
/base/notification/distributed_notification_service/services/test/moduletest/mock/
Dmock_single_kv_store.cpp21 Status MockSingleKvStore::GetEntries(const Key &prefixKey, std::vector<Entry> &entries) const in GetEntries()
31 Status MockSingleKvStore::GetResultSet(const Key &prefixKey, std::shared_ptr<KvStoreResultSet> &res… in GetResultSet()
69 Status MockSingleKvStore::Delete(const Key &key) in Delete()
74 Status MockSingleKvStore::Put(const Key &key, const Value &value) in Put()
79 Status MockSingleKvStore::Get(const Key &key, Value &value) in Get()
109 Status MockSingleKvStore::DeleteBatch(const std::vector<Key> &keys) in DeleteBatch()
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
Dmock_single_kv_store.cpp48 void MockSingleKvStore::InsertDataToDoCallback(const Key &key, const Value &value) in InsertDataToDoCallback()
65 void MockSingleKvStore::UpdateDataToDoCallback(const Key &key, const Value &value) in UpdateDataToDoCallback()
82 void MockSingleKvStore::DeleteDataToDoCallback(const Key &key) in DeleteDataToDoCallback()
101 Status MockSingleKvStore::GetEntries(const Key &prefixKey, std::vector<Entry> &entries) const in GetEntries()
122 Status MockSingleKvStore::GetResultSet(const Key &prefixKey, std::shared_ptr<KvStoreResultSet> &res… in GetResultSet()
162 Status MockSingleKvStore::Delete(const Key &key) in Delete()
171 Status MockSingleKvStore::Put(const Key &key, const Value &value) in Put()
178 Status MockSingleKvStore::Get(const Key &key, Value &value) in Get()
217 Status MockSingleKvStore::DeleteBatch(const std::vector<Key> &keys) in DeleteBatch()
/base/global/resource_management_lite/frameworks/resmgr_lite/include/
Dglobal_utils.h72 typedef struct Key { struct
76 } Key; typedef
103 uint32_t (*GetIdHeaderOffsetByLocale)(const char *locale, const Key *keys, uint32_t configNum);
/base/notification/distributed_notification_service/services/distributed/src/
Ddistributed_preferences_database.cpp105 DistributedKv::Key kvStoreKey(key); in PutToDistributedDB()
129 DistributedKv::Key kvStoreKey(key); in GetFromDistributedDB()
153 DistributedKv::Key kvStoreKey(prefixKey); in GetEntriesFromDistributedDB()
175 DistributedKv::Key kvStoreKey(key); in DeleteToDistributedDB()
Ddistributed_database.cpp142 DistributedKv::Key kvStoreKey(key); in PutToDistributedDB()
167 DistributedKv::Key kvStoreKey(key); in GetFromDistributedDB()
194 DistributedKv::Key kvStoreKey(prefixKey); in GetEntriesFromDistributedDB()
218 DistributedKv::Key kvStoreKey(key); in DeleteToDistributedDB()
Ddistributed_screen_status_manager.cpp185 DistributedKv::Key prefixKey(""); in CheckRemoteDevicesIsUsing()
234 DistributedKv::Key kvStoreKey = GenerateDistributedKey(localDevice.deviceId); in SetLocalScreenStatus()
/base/update/updater/test/unittest/utils/json/
Dutils_json_test.cpp58 EXPECT_EQ(node.Key(), std::nullopt);
59 EXPECT_EQ(node["key"].Key(), "key");
64 EXPECT_EQ(node.Key(), std::nullopt);
/base/notification/common_event_service/services/src/
Dstatic_subscriber_data_manager.cpp91 DistributedKv::Key key(bundleName); in InsertDisableStaticSubscribeData()
121 DistributedKv::Key key(bundleName); in DeleteDisableStaticSubscribeData()
/base/account/os_account/services/accountmgr/src/
Daccount_data_storage.cpp164 OHOS::DistributedKv::Key key(keyStr); in RemoveValueFromKvStore()
200 OHOS::DistributedKv::Key allEntryKeyPrefix(subId); in GetEntries()
278 OHOS::DistributedKv::Key key(keyStr); in PutValueToKvStore()
305 OHOS::DistributedKv::Key key(keyStr); in GetValueFromKvStore()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_fw_module_test.cpp439 DistributedKv::Key key("<remoteDeviceId>" + DELIMITER + "screen_status"); in SetDistributedScreenStatus()
1730 ASSERT_EQ(pointer->GetEntries(DistributedKv::Key(""), entries), DistributedKv::Status::SUCCESS);
1755 ASSERT_EQ(pointer->GetEntries(DistributedKv::Key(""), entries), DistributedKv::Status::SUCCESS);
1781 ASSERT_EQ(pointer->GetEntries(DistributedKv::Key(""), entries), DistributedKv::Status::SUCCESS);
1806 ASSERT_EQ(pointer->GetEntries(DistributedKv::Key(""), entries), DistributedKv::Status::SUCCESS);
1811 ASSERT_EQ(pointer->GetEntries(DistributedKv::Key(""), entries), DistributedKv::Status::SUCCESS);
1834 ASSERT_EQ(pointer->GetEntries(DistributedKv::Key(""), entries), DistributedKv::Status::SUCCESS);
1840 ASSERT_EQ(pointer->GetEntries(DistributedKv::Key(""), entries), DistributedKv::Status::SUCCESS);
1844 ASSERT_EQ(pointer->GetEntries(DistributedKv::Key(""), entries), DistributedKv::Status::SUCCESS);
1867 ASSERT_EQ(pointer->GetEntries(DistributedKv::Key(""), entries), DistributedKv::Status::SUCCESS);
[all …]
/base/update/updater/utils/json/
Djson_node.h83 std::optional<std::string> Key() const in Key() function
/base/update/updater/services/ui/language/
Dlanguage_ui.cpp107 std::string key = strNode.Key().value_or(""); in ParseJson()
/base/powermgr/thermal_manager/
DREADME.md16 **Key components of the Thermal Manager module**:

12