Home
last modified time | relevance | path

Searched refs:HASHMAP_ENTRY (Results 1 – 10 of 10) sorted by relevance

/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()
/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()
121 task = HASHMAP_ENTRY(node, BaseTask, hashNode); in GetTaskByFd()
/base/startup/init/test/unittest/init/
Dgroup_unittest.cpp38 TestHashNode *testNode1 = HASHMAP_ENTRY(node1, TestHashNode, node); in TestHashNodeCompare()
39 TestHashNode *testNode2 = HASHMAP_ENTRY(node2, TestHashNode, node); in TestHashNodeCompare()
45 TestHashNode *testNode1 = HASHMAP_ENTRY(node1, TestHashNode, node); in TestHashKeyCompare()
51 TestHashNode *testNode = HASHMAP_ENTRY(node, TestHashNode, node); in TestHashNodeFunction()
73 TestHashNode *testNode = HASHMAP_ENTRY(node, TestHashNode, node); in TestHashNodeFree()
132 TestHashNode *tmp = HASHMAP_ENTRY(node, TestHashNode, node);
138 TestHashNode *tmp = HASHMAP_ENTRY(node, TestHashNode, node);
150 TestHashNode *tmp = HASHMAP_ENTRY(node, TestHashNode, node);
173 TestHashNode *tmp = HASHMAP_ENTRY(node, TestHashNode, node);
/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()
261 return HASHMAP_ENTRY(node, InitGroupNode, hashNode); in GetGroupNode()
/base/security/selinux_adapter/interfaces/policycoreutils/include/
Dselinux_map.h56 #define HASHMAP_ENTRY(ptr, type, member) ((type *)((char *)(ptr)-offsetof(type, member))) macro
/base/startup/init/services/include/
Dinit_hashmap.h34 #define HASHMAP_ENTRY(ptr, type, member) ((type *)((char *)(ptr) - offsetof(type, member))) macro
/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/appspawn/standard/
Dappspawn_service.c48 AppInfo *testNode1 = HASHMAP_ENTRY(node1, AppInfo, node); in AppInfoHashNodeCompare()
49 AppInfo *testNode2 = HASHMAP_ENTRY(node2, AppInfo, node); in AppInfoHashNodeCompare()
55 AppInfo *testNode1 = HASHMAP_ENTRY(node1, AppInfo, node); in TestHashKeyCompare()
61 AppInfo *testNode = HASHMAP_ENTRY(node, AppInfo, node); in AppInfoHashNodeFunction()
74 AppInfo *testNode = HASHMAP_ENTRY(node, AppInfo, node); in AppInfoHashNodeFree()
105 return HASHMAP_ENTRY(node, AppInfo, node); in GetAppInfo()
/base/startup/init/services/param/trigger/
Dtrigger_manager.c298 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()