Searched refs:HOOK_MGR (Results 1 – 13 of 13) sorted by relevance
/base/startup/init/interfaces/innerkits/include/ |
D | hookmgr.h | 67 typedef struct tagHOOK_MGR HOOK_MGR; typedef 98 int HookMgrAdd(HOOK_MGR *hookMgr, int stage, int prio, OhosHook hook); 108 int HookMgrAddEx(HOOK_MGR *hookMgr, const HOOK_INFO *hookInfo); 120 void HookMgrDel(HOOK_MGR *hookMgr, int stage, OhosHook hook); 167 int HookMgrExecute(HOOK_MGR *hookMgr, int stage, void *executionContext, const HOOK_EXEC_OPTIONS *e… 175 HOOK_MGR *HookMgrCreate(const char *name); 184 void HookMgrDestroy(HOOK_MGR *hookMgr); 203 void HookMgrTraversal(HOOK_MGR *hookMgr, void *traversalCookie, OhosHookTraversal traversal); 213 int HookMgrGetHooksCnt(HOOK_MGR *hookMgr, int stage); 222 int HookMgrGetStagesCnt(HOOK_MGR *hookMgr);
|
/base/startup/init/interfaces/innerkits/hookmgr/ |
D | hookmgr.c | 57 static HOOK_MGR *defaultHookMgr = NULL; 59 static HOOK_MGR *getHookMgr(HOOK_MGR *hookMgr, int autoCreate) in getHookMgr() 93 static HOOK_STAGE *getHookStage(HOOK_MGR *hookMgr, int stage, int createIfNotFound) in getHookStage() 167 int HookMgrAddEx(HOOK_MGR *hookMgr, const HOOK_INFO *hookInfo) in HookMgrAddEx() 185 int HookMgrAdd(HOOK_MGR *hookMgr, int stage, int prio, OhosHook hook) in HookMgrAdd() 214 void HookMgrDel(HOOK_MGR *hookMgr, int stage, OhosHook hook) in HookMgrDel() 263 int HookMgrExecute(HOOK_MGR *hookMgr, int stage, void *executionContext, const HOOK_EXEC_OPTIONS *o… in HookMgrExecute() 289 HOOK_MGR *HookMgrCreate(const char *name) in HookMgrCreate() 291 HOOK_MGR *ret; in HookMgrCreate() 294 ret = (HOOK_MGR *)malloc(sizeof(HOOK_MGR)); in HookMgrCreate() [all …]
|
/base/startup/init/test/fuzztest/hookmgrdestroy_fuzzer/ |
D | hookmgrdestroy_fuzzer.cpp | 24 HOOK_MGR *hookMgr = HookMgrCreate(str.c_str()); in FuzzHookMgrDestroy()
|
/base/startup/init/test/fuzztest/hookmgrgethookscnt_fuzzer/ |
D | hookmgrgethookscnt_fuzzer.cpp | 25 HOOK_MGR *hookMgr = HookMgrCreate(str.c_str()); in FuzzHookMgrGetHooksCnt()
|
/base/startup/init/test/fuzztest/hookmgrgetstagescnt_fuzzer/ |
D | hookmgrgetstagescnt_fuzzer.cpp | 25 HOOK_MGR *hookMgr = HookMgrCreate(str.c_str()); in FuzzHookMgrGetStagesCnt()
|
/base/startup/init/test/moduletest/ |
D | hookmgr_moduletest.cpp | 29 HOOK_MGR *g_hookMgr = nullptr; 69 static void DumpAllHooks(HOOK_MGR *hookMgr) in DumpAllHooks()
|
/base/startup/init/test/fuzztest/hookmgraddex_fuzzer/ |
D | hookmgraddex_fuzzer.cpp | 25 HOOK_MGR *hookMgr = HookMgrCreate(str.c_str()); in FuzzHookMgrAddEx()
|
/base/startup/init/test/fuzztest/hookmgrexecute_fuzzer/ |
D | hookmgrexecute_fuzzer.cpp | 26 HOOK_MGR *hookMgr = HookMgrCreate(str.c_str()); in FuzzHookMgrExecute()
|
/base/startup/init/test/fuzztest/hookmgrdel_fuzzer/ |
D | hookmgrdel_fuzzer.cpp | 30 HOOK_MGR *hookMgr = HookMgrCreate(str.c_str()); in FuzzHookMgrDel()
|
/base/startup/init/test/fuzztest/hookmgrtraversal_fuzzer/ |
D | hookmgrtraversal_fuzzer.cpp | 29 HOOK_MGR *hookMgr = HookMgrCreate(str.c_str()); in FuzzHookMgrTraversal()
|
/base/startup/init/interfaces/innerkits/init_module_engine/include/ |
D | bootstage.h | 54 HOOK_MGR *GetBootStageHookMgr();
|
/base/startup/init/services/init/standard/ |
D | init.c | 243 static HOOK_MGR *bootStageHookMgr = NULL; 245 HOOK_MGR *GetBootStageHookMgr() in GetBootStageHookMgr()
|
/base/startup/init/test/unittest/innerkits/ |
D | hookmgr_unittest.cpp | 73 static void dumpAllHooks(HOOK_MGR *hookMgr) in dumpAllHooks() 189 HOOK_MGR *hookMgr = HookMgrCreate("test");
|