Home
last modified time | relevance | path

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

/base/startup/init/interfaces/innerkits/hookmgr/
Dhookmgr.c95 HOOK_STAGE *stageItem; in getHookStage() local
97 stageItem = (HOOK_STAGE *)OH_ListFind(&(hookMgr->stages), (void *)(&stage), hookStageCompare); in getHookStage()
98 BEGET_CHECK(stageItem == NULL, return stageItem); in getHookStage()
103 stageItem = (HOOK_STAGE *)malloc(sizeof(HOOK_STAGE)); in getHookStage()
104 BEGET_CHECK(stageItem != NULL, return NULL); in getHookStage()
105 stageItem->stage = stage; in getHookStage()
106 OH_ListInit(&(stageItem->hooks)); in getHookStage()
107 OH_ListAddTail(&(hookMgr->stages), (ListNode *)stageItem); in getHookStage()
108 return stageItem; in getHookStage()
169 HOOK_STAGE *stageItem; in HookMgrAddEx() local
[all …]