Home
last modified time | relevance | path

Searched refs:hashNode (Results 1 – 14 of 14) sorted by relevance

/base/startup/init/services/loopevent/loop/
Dle_loop.c22 BaseTask *task1 = HASHMAP_ENTRY(node1, BaseTask, hashNode); in TaskNodeCompare()
23 BaseTask *task2 = HASHMAP_ENTRY(node2, BaseTask, hashNode); in TaskNodeCompare()
29 BaseTask *task = HASHMAP_ENTRY(node, BaseTask, hashNode); in TaskKeyCompare()
36 BaseTask *task = HASHMAP_ENTRY(node, BaseTask, hashNode); in TaskGetNodeHasCode()
48 BaseTask *task = HASHMAP_ENTRY(node, BaseTask, hashNode); in TaskNodeFree()
104 int ret = OH_HashMapAdd(loop->taskMap, &task->hashNode); in AddTask()
121 task = HASHMAP_ENTRY(node, BaseTask, hashNode); in GetTaskByFd()
/base/security/selinux_adapter/test/unittest/parameter_static/
Dunit_test.cpp125 ASSERT_EQ(HashMapAdd(handle, &(groupNode->hashNode)), 0);
140 EXPECT_EQ(-1, HashMapAdd(nullptr, &(groupNode->hashNode)));
170 groupNode->hashNode.next = new (std::nothrow) HashNode;
171 EXPECT_EQ(-1, HashMapAdd(handle, &(groupNode->hashNode)));
188 ASSERT_EQ(0, HashMapAdd(handle, &(groupNode1->hashNode)));
191 ASSERT_EQ(-1, HashMapAdd(handle, &(groupNode2->hashNode)));
/base/security/selinux_adapter/interfaces/policycoreutils/src/
Dselinux_map.c32 ParamHashNode *groupNode1 = HASHMAP_ENTRY(node1, ParamHashNode, hashNode); in GroupNodeNodeCompare()
33 ParamHashNode *groupNode2 = HASHMAP_ENTRY(node2, ParamHashNode, hashNode); in GroupNodeNodeCompare()
39 ParamHashNode *groupNode1 = HASHMAP_ENTRY(node1, ParamHashNode, hashNode); in GroupNodeKeyCompare()
45 ParamHashNode *groupNode = HASHMAP_ENTRY(node, ParamHashNode, hashNode); in GroupNodeGetNodeHashCode()
51 ParamHashNode *groupNode = HASHMAP_ENTRY(node, ParamHashNode, hashNode); in GroupNodeFree()
Dcontexts_trie.c39 return HASHMAP_ENTRY(node, ParamHashNode, hashNode); in GetGroupNode()
63 HashMapAdd(root->handle, &groupNode->hashNode); in AddGroupNode()
/base/security/selinux_adapter/interfaces/policycoreutils/include/
Dselinux_map.h50 HashNode hashNode; member
60 int32_t HashMapAdd(HashTab *handle, HashNode *hashNode);
/base/startup/init/services/init/
Dinit_group_manager.c133 InitGroupNode *groupNode1 = HASHMAP_ENTRY(node1, InitGroupNode, hashNode); in GroupNodeNodeCompare()
134 InitGroupNode *groupNode2 = HASHMAP_ENTRY(node2, InitGroupNode, hashNode); in GroupNodeNodeCompare()
140 InitGroupNode *groupNode1 = HASHMAP_ENTRY(node1, InitGroupNode, hashNode); in GroupNodeKeyCompare()
151 InitGroupNode *groupNode = HASHMAP_ENTRY(node, InitGroupNode, hashNode); in GroupNodeGetNodeHashCode()
157 InitGroupNode *groupNode = HASHMAP_ENTRY(node, InitGroupNode, hashNode); in GroupNodeFree()
247 OH_HashMapAdd(g_initWorkspace.hashMap[type], &groupNode->hashNode); in AddGroupNode()
261 return HASHMAP_ENTRY(node, InitGroupNode, hashNode); in GetGroupNode()
/base/startup/init/services/init/include/
Dinit_group_manager.h54 HashNode hashNode; member
/base/startup/init/services/include/
Dinit_hashmap.h57 int32_t OH_HashMapAdd(HashMapHandle handle, HashNode *hashNode);
/base/startup/init/services/loopevent/task/
Dle_task.h66 HashNode hashNode; member
Dle_task.c43 HASHMAPInitNode(&task->hashNode); in CreateTask()
/base/startup/init/services/init/standard/
Dinit_cmdexecutor.c150 InitGroupNode *groupNode = HASHMAP_ENTRY(node, InitGroupNode, hashNode); in CompareCmdId()
167 InitGroupNode *groupNode = HASHMAP_ENTRY(node, InitGroupNode, hashNode); in GetPluginCmdByIndex()
/base/startup/init/services/param/trigger/
Dtrigger_manager.c109 ret = OH_HashMapAdd(GetTriggerWorkSpace()->hashMap, &node->hashNode); in AddJobNode_()
298 JobNode *trigger = HASHMAP_ENTRY(node, JobNode, hashNode); in GetTriggerByName()
596 JobNode *jobNode1 = HASHMAP_ENTRY(node1, JobNode, hashNode); in JobNodeNodeCompare()
597 JobNode *jobNode2 = HASHMAP_ENTRY(node2, JobNode, hashNode); in JobNodeNodeCompare()
603 JobNode *jobNode1 = HASHMAP_ENTRY(node1, JobNode, hashNode); in JobNodeKeyCompare()
609 JobNode *jobNode = HASHMAP_ENTRY(node, JobNode, hashNode); in JobNodeGetNodeHasCode()
631 JobNode *jobNode = HASHMAP_ENTRY(node, JobNode, hashNode); in JobNodeFree()
/base/startup/init/services/param/include/
Dtrigger_manager.h130 HashNode hashNode; member
/base/startup/appspawn/standard/
Dappspawn_service.c121 AppInfo *hashNode = (AppInfo *)node; in KillProcess() local
122 kill(hashNode->pid, SIGKILL); in KillProcess()
123 …APPSPAWN_LOGI("kill app, pid = %{public}d, processName = %{public}s", hashNode->pid, hashNode->nam… in KillProcess()