Home
last modified time | relevance | path

Searched refs:hashNode (Results 1 – 18 of 18) 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()
103 OH_HashMapAdd(loop->taskMap, &task->hashNode); in AddTask()
115 task = HASHMAP_ENTRY(node, BaseTask, hashNode); in GetTaskByFd()
/base/security/selinux/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()
50 ParamHashNode *groupNode = HASHMAP_ENTRY(node, ParamHashNode, hashNode); in GroupNodeGetNodeHashCode()
56 ParamHashNode *groupNode = HASHMAP_ENTRY(node, ParamHashNode, hashNode); in GroupNodeFree()
Dcontexts_trie.c36 return HASHMAP_ENTRY(node, ParamHashNode, hashNode); in GetGroupNode()
60 HashMapAdd(root->handle, &groupNode->hashNode); in AddGroupNode()
/base/security/selinux/interfaces/policycoreutils/include/
Dselinux_map.h49 HashNode hashNode; member
59 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()
244 OH_HashMapAdd(g_initWorkspace.hashMap[type], &groupNode->hashNode); in AddGroupNode()
259 return HASHMAP_ENTRY(node, InitGroupNode, hashNode); in GetGroupNode()
/base/startup/init/services/param/base/
Dparam_base.c28 WorkSpace *workSpace1 = HASHMAP_ENTRY(node1, WorkSpace, hashNode); in WorkSpaceNodeCompare()
29 WorkSpace *workSpace2 = HASHMAP_ENTRY(node2, WorkSpace, hashNode); in WorkSpaceNodeCompare()
35 WorkSpace *workSpace1 = HASHMAP_ENTRY(node1, WorkSpace, hashNode); in WorkSpaceKeyCompare()
41 WorkSpace *workSpace = HASHMAP_ENTRY(node, WorkSpace, hashNode); in WorkSpaceGetNodeHasCode()
54 WorkSpace *workSpace = HASHMAP_ENTRY(node, WorkSpace, hashNode); in WorkSpaceFree()
280 HASHMAPInitNode(&workSpace->hashNode); in AddWorkSpace()
283 ret = OH_HashMapAdd(paramSpace->workSpaceHashHandle, &workSpace->hashNode); in AddWorkSpace()
Dparam_comm.c59 space = HASHMAP_ENTRY(node, WorkSpace, hashNode); in GetWorkSpace()
67 WorkSpace *workSpace = HASHMAP_ENTRY(node, WorkSpace, hashNode); in CompareIndex()
92 WorkSpace *workSpace = HASHMAP_ENTRY(node, WorkSpace, hashNode); in GetTrieNodeByHandle()
/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/init/standard/
Dinit_cmdexecutor.c139 InitGroupNode *groupNode = HASHMAP_ENTRY(node, InitGroupNode, hashNode); in CompareCmdId()
156 InitGroupNode *groupNode = HASHMAP_ENTRY(node, InitGroupNode, hashNode); in GetPluginCmdByIndex()
/base/startup/init/services/loopevent/task/
Dle_task.h66 HashNode hashNode; member
Dle_task.c43 HASHMAPInitNode(&task->hashNode); in CreateTask()
/base/startup/init/services/param/trigger/
Dtrigger_manager.c106 ret = OH_HashMapAdd(GetTriggerWorkSpace()->hashMap, &node->hashNode); in AddJobNode_()
291 JobNode *trigger = HASHMAP_ENTRY(node, JobNode, hashNode); in GetTriggerByName()
588 JobNode *jobNode1 = HASHMAP_ENTRY(node1, JobNode, hashNode); in JobNodeNodeCompare()
589 JobNode *jobNode2 = HASHMAP_ENTRY(node2, JobNode, hashNode); in JobNodeNodeCompare()
595 JobNode *jobNode1 = HASHMAP_ENTRY(node1, JobNode, hashNode); in JobNodeKeyCompare()
601 JobNode *jobNode = HASHMAP_ENTRY(node, JobNode, hashNode); in JobNodeGetNodeHasCode()
623 JobNode *jobNode = HASHMAP_ENTRY(node, JobNode, hashNode); in JobNodeFree()
/base/startup/init/services/param/include/
Dparam_trie.h91 HashNode hashNode; member
Dtrigger_manager.h128 HashNode hashNode; member
/base/startup/appspawn/standard/
Dappspawn_service.c127 AppInfo *hashNode = (AppInfo *)node; in KillProcess() local
128 kill(hashNode->pid, SIGKILL); in KillProcess()
129 APPSPAWN_LOGI("kill app, pid = %d, processName = %s", hashNode->pid, hashNode->name); in KillProcess()
/base/startup/init/test/unittest/param/
Dparam_unittest.cpp417 EXPECT_EQ(WorkSpaceNodeCompare(&(workspace1->hashNode), &(workspace2->hashNode)), 0);
/base/startup/init/test/unittest/init/
Dloopevent_unittest.cpp204 ((HashTab *)(((EventLoop *)LE_GetDefaultLoop())->taskMap))->nodeFree(&task->hashNode); in ProcessEventTest()