Home
last modified time | relevance | path

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

/base/hiviewdfx/hiview_lite/
Dhiview_util.c134 void HIVIEW_InitHook(HIVIEW_Hooks *hooks) in HIVIEW_InitHook() argument
136 if (hooks == NULL) { in HIVIEW_InitHook()
148 hiview_open = (hooks->open_fn) == NULL ? open : hooks->open_fn; in HIVIEW_InitHook()
149 hiview_close = (hooks->close_fn) == NULL ? close : hooks->close_fn; in HIVIEW_InitHook()
150 hiview_read = (hooks->read_fn) == NULL ? read : hooks->read_fn; in HIVIEW_InitHook()
151 hiview_write = (hooks->write_fn) == NULL ? write : hooks->write_fn; in HIVIEW_InitHook()
152 hiview_lseek = (hooks->lseek_fn) == NULL ? lseek : hooks->lseek_fn; in HIVIEW_InitHook()
153 hiview_fsync = (hooks->fsync_fn) == NULL ? fsync : hooks->fsync_fn; in HIVIEW_InitHook()
154 hiview_unlink = (hooks->unlink_fn) == NULL ? unlink : hooks->unlink_fn; in HIVIEW_InitHook()
155 hiview_rename = (hooks->rename_fn) == NULL ? rename : hooks->rename_fn; in HIVIEW_InitHook()
Dhiview_util.h90 void HIVIEW_InitHook(HIVIEW_Hooks *hooks);
/base/startup/init/interfaces/innerkits/hookmgr/
Dhookmgr.c43 ListNode hooks; member
88 OH_ListRemoveAll(&(stage->hooks), NULL); in hookStageDestroy()
106 OH_ListInit(&(stageItem->hooks)); in getHookStage()
150 …hookItem = (HOOK_ITEM *)OH_ListFind(&(hookStage->hooks), (void *)(&compareVal), hookItemCompareVal… in addHookToStage()
163 OH_ListAddWithOrder(&(hookStage->hooks), (ListNode *)hookItem, hookItemCompare); in addHookToStage()
227 OH_ListTraversal(&(stageItem->hooks), hook, hookTraversalDelProc, 0); in HookMgrDel()
286 return OH_ListTraversal(&(stageItem->hooks), (void *)(&args), hookExecutionProc, flags); in HookMgrExecute()
342 OH_ListTraversal(&(stageItem->hooks), data, hookItemTraversal, 0); in hookStageTraversal()
378 return OH_ListGetCnt(&(stageItem->hooks)); in HookMgrGetHooksCnt()
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/expand_sub_session/
Dexpand_sub_session_test.cpp79 cJSON_Hooks hooks = { in SetUp() local
83 cJSON_InitHooks(&hooks); in SetUp()
93 cJSON_Hooks hooks = { in TearDown() local
97 cJSON_InitHooks(&hooks); in TearDown()
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/expand_sub_session/expand_process_lib/
Dauth_code_import_test.cpp69 cJSON_Hooks hooks = { in SetUp() local
73 cJSON_InitHooks(&hooks); in SetUp()
83 cJSON_Hooks hooks = { in TearDown() local
87 cJSON_InitHooks(&hooks); in TearDown()
Dpub_key_exchange_test.cpp69 cJSON_Hooks hooks = { in SetUp() local
73 cJSON_InitHooks(&hooks); in SetUp()
83 cJSON_Hooks hooks = { in TearDown() local
87 cJSON_InitHooks(&hooks); in TearDown()
Dsave_trusted_info_test.cpp192 cJSON_Hooks hooks = { in SetUp() local
196 cJSON_InitHooks(&hooks); in SetUp()
206 cJSON_Hooks hooks = { in TearDown() local
210 cJSON_InitHooks(&hooks); in TearDown()
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/auth_sub_session/protocol_lib/
Diso_protocol_test.cpp69 cJSON_Hooks hooks = { in SetUp() local
73 cJSON_InitHooks(&hooks); in SetUp()
83 cJSON_Hooks hooks = { in TearDown() local
87 cJSON_InitHooks(&hooks); in TearDown()
Dec_speke_protocol_test.cpp72 cJSON_Hooks hooks = { in SetUp() local
76 cJSON_InitHooks(&hooks); in SetUp()
86 cJSON_Hooks hooks = { in TearDown() local
90 cJSON_InitHooks(&hooks); in TearDown()
Ddl_speke_protocol_test.cpp72 cJSON_Hooks hooks = { in SetUp() local
76 cJSON_InitHooks(&hooks); in SetUp()
86 cJSON_Hooks hooks = { in TearDown() local
90 cJSON_InitHooks(&hooks); in TearDown()
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/auth_sub_session/
Dauth_sub_session_test.cpp76 cJSON_Hooks hooks = { in SetUp() local
80 cJSON_InitHooks(&hooks); in SetUp()
90 cJSON_Hooks hooks = { in TearDown() local
94 cJSON_InitHooks(&hooks); in TearDown()