Home
last modified time | relevance | path

Searched refs:nodeCnt (Results 1 - 6 of 6) sorted by relevance

/base/security/device_security_level/baselib/utils/src/
H A Dutils_state_machine.c40 static const StateNode *GetScheduleStateNode(const StateNode *nodes, uint32_t nodeCnt, uint32_t state, uint32_t event) in GetScheduleStateNode() argument
42 for (uint32_t i = 0; i < nodeCnt; i++) { in GetScheduleStateNode()
76 void ScheduleMachine(const StateNode *nodes, uint32_t nodeCnt, StateMachine *machine, uint32_t event, const void *para) in ScheduleMachine() argument
79 if ((nodes == NULL) || (nodeCnt == 0) || (machine == NULL)) { in ScheduleMachine()
92 const StateNode *node = GetScheduleStateNode(nodes, nodeCnt, state, event); in ScheduleMachine()
109 return ScheduleMachine(nodes, nodeCnt, machine, nextEvent, nextPara); in ScheduleMachine()
/base/security/device_security_level/baselib/utils/include/
H A Dutils_state_machine.h51 void ScheduleMachine(const StateNode *nodes, uint32_t nodeCnt, StateMachine *machine, uint32_t event, const void *para);
/base/security/device_security_level/test/dslm_unit_test/
H A Ddslm_baselib_utils_test.cpp452 uint32_t nodeCnt = 0; in HWTEST_F() local
456 ScheduleMachine(node, nodeCnt, &machine, event, nullptr); in HWTEST_F()
462 uint32_t nodeCnt = 0; in HWTEST_F() local
466 ScheduleMachine(&node, nodeCnt, &machine, event, nullptr); in HWTEST_F()
471 uint32_t nodeCnt = 1; in HWTEST_F() local
474 ScheduleMachine(&node, nodeCnt, nullptr, event, nullptr); in HWTEST_F()
/base/security/device_auth/frameworks/src/standard/
H A Dipc_adapt.cpp68 int32_t nodeCnt; member
98 g_ipcCallBackList.nodeCnt = 0; in InitIpcCallBackList()
149 g_ipcCallBackList.nodeCnt--; in ResetIpcCallBackNodeByNodeId()
202 if (g_ipcCallBackList.nodeCnt >= IPC_CALL_BACK_MAX_NODES) { in AddIpcCbObjByAppId()
227 if (g_ipcCallBackList.nodeCnt >= IPC_CALL_BACK_MAX_NODES) { in AddIpcCallBackByAppId()
267 g_ipcCallBackList.nodeCnt++; in AddIpcCallBackByAppId()
277 if ((g_ipcCallBackList.nodeCnt <= 0) || (g_ipcCallBackList.ctx == nullptr)) { in DelIpcCallBackByAppId()
284 g_ipcCallBackList.nodeCnt--; in DelIpcCallBackByAppId()
333 if (g_ipcCallBackList.nodeCnt >= IPC_CALL_BACK_MAX_NODES) { in AddIpcCbObjByReqId()
358 if (g_ipcCallBackList.nodeCnt > in AddIpcCallBackByReqId()
[all...]
/base/security/device_auth/frameworks/src/lite/
H A Dipc_adapt.c61 int32_t nodeCnt; member
96 g_ipcCallBackList.nodeCnt = 0; in InitIpcCallBackList()
201 if (g_ipcCallBackList.nodeCnt >= IPC_CALL_BACK_MAX_NODES) { in AddIpcCbObjByAppId()
225 if (g_ipcCallBackList.nodeCnt >= IPC_CALL_BACK_MAX_NODES) { in AddIpcCallBackByAppId()
266 g_ipcCallBackList.nodeCnt++; in AddIpcCallBackByAppId()
275 if ((g_ipcCallBackList.nodeCnt <= 0) || (g_ipcCallBackList.ctx == NULL)) { in DelIpcCallBackByAppId()
283 g_ipcCallBackList.nodeCnt--; in DelIpcCallBackByAppId()
335 if (g_ipcCallBackList.nodeCnt >= IPC_CALL_BACK_MAX_NODES) { in AddIpcCbObjByReqId()
361 if (g_ipcCallBackList.nodeCnt >= IPC_CALL_BACK_MAX_NODES) { in AddIpcCallBackByReqId()
400 g_ipcCallBackList.nodeCnt in AddIpcCallBackByReqId()
[all...]
/base/security/device_security_level/services/dslm/
H A Ddslm_fsm_process.c447 static const uint32_t nodeCnt = sizeof(stateNodes) / sizeof(StateNode); in ScheduleDslmStateMachine() local
449 ScheduleMachine(stateNodes, nodeCnt, &info->machine, event, para); in ScheduleDslmStateMachine()

Completed in 8 milliseconds