/base/hiviewdfx/hiview_lite/ |
D | hiview_util.c | 134 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()
|
D | hiview_util.h | 90 void HIVIEW_InitHook(HIVIEW_Hooks *hooks);
|
/base/startup/init/interfaces/innerkits/hookmgr/ |
D | hookmgr.c | 43 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/ |
D | expand_sub_session_test.cpp | 79 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/ |
D | auth_code_import_test.cpp | 69 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()
|
D | pub_key_exchange_test.cpp | 69 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()
|
D | save_trusted_info_test.cpp | 192 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/ |
D | iso_protocol_test.cpp | 69 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()
|
D | ec_speke_protocol_test.cpp | 72 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()
|
D | dl_speke_protocol_test.cpp | 72 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/ |
D | auth_sub_session_test.cpp | 76 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()
|