/base/startup/init/services/loopevent/loop/ |
D | le_loop.c | 22 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/ |
D | unit_test.cpp | 125 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/ |
D | selinux_map.c | 32 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()
|
D | contexts_trie.c | 39 return HASHMAP_ENTRY(node, ParamHashNode, hashNode); in GetGroupNode() 63 HashMapAdd(root->handle, &groupNode->hashNode); in AddGroupNode()
|
/base/security/selinux_adapter/interfaces/policycoreutils/include/ |
D | selinux_map.h | 50 HashNode hashNode; member 60 int32_t HashMapAdd(HashTab *handle, HashNode *hashNode);
|
/base/startup/init/services/init/ |
D | init_group_manager.c | 133 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/ |
D | init_group_manager.h | 54 HashNode hashNode; member
|
/base/startup/init/services/include/ |
D | init_hashmap.h | 57 int32_t OH_HashMapAdd(HashMapHandle handle, HashNode *hashNode);
|
/base/startup/init/services/loopevent/task/ |
D | le_task.h | 66 HashNode hashNode; member
|
D | le_task.c | 43 HASHMAPInitNode(&task->hashNode); in CreateTask()
|
/base/startup/init/services/init/standard/ |
D | init_cmdexecutor.c | 150 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/ |
D | trigger_manager.c | 109 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/ |
D | trigger_manager.h | 130 HashNode hashNode; member
|
/base/startup/appspawn/standard/ |
D | appspawn_service.c | 121 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()
|