Searched refs:nodeCnt (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/base/security/device_security_level/baselib/utils/src/ |
H A D | utils_state_machine.c | 40 static const StateNode *GetScheduleStateNode(const StateNode *nodes, uint32_t nodeCnt, uint32_t sta… 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 even… 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()
|
/ohos5.0/base/security/device_auth/frameworks/src/standard/ |
H A D | ipc_adapt.cpp | 67 int32_t nodeCnt; member 97 g_ipcCallBackList.nodeCnt = 0; in InitIpcCallBackList() 148 g_ipcCallBackList.nodeCnt--; in ResetIpcCallBackNodeByNodeId() 201 if (g_ipcCallBackList.nodeCnt >= IPC_CALL_BACK_MAX_NODES) { in AddIpcCbObjByAppId() 226 if (g_ipcCallBackList.nodeCnt >= IPC_CALL_BACK_MAX_NODES) { in AddIpcCallBackByAppId() 266 g_ipcCallBackList.nodeCnt++; in AddIpcCallBackByAppId() 283 g_ipcCallBackList.nodeCnt--; in DelIpcCallBackByAppId() 332 if (g_ipcCallBackList.nodeCnt >= IPC_CALL_BACK_MAX_NODES) { in AddIpcCbObjByReqId() 357 if (g_ipcCallBackList.nodeCnt >= IPC_CALL_BACK_MAX_NODES) { in AddIpcCallBackByReqId() 393 g_ipcCallBackList.nodeCnt++; in AddIpcCallBackByReqId() [all …]
|
/ohos5.0/base/security/device_auth/frameworks/src/lite/ |
H A D | ipc_adapt.c | 61 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 …]
|
/ohos5.0/base/security/device_security_level/baselib/utils/include/ |
H A D | utils_state_machine.h | 51 void ScheduleMachine(const StateNode *nodes, uint32_t nodeCnt, StateMachine *machine, uint32_t even…
|
/ohos5.0/base/security/device_security_level/test/dslm_unit_test/ |
H A D | dslm_baselib_utils_test.cpp | 339 uint32_t nodeCnt = 0; variable 343 ScheduleMachine(node, nodeCnt, &machine, event, nullptr);
|
/ohos5.0/drivers/peripheral/audio/hal/hdi_binder/server/src/ |
H A D | hdf_audio_server_common.c | 1301 uint32_t nodeCnt; in AudioRouteDevFreeByNum() local 1307 for (nodeCnt = 0; nodeCnt < num; nodeCnt++) { in AudioRouteDevFreeByNum() 1308 if (routeNode[nodeCnt].type == AUDIO_PORT_DEVICE_TYPE) { in AudioRouteDevFreeByNum() 1309 AudioDevExtInfoFree((struct AudioDevExtInfo *)&routeNode[nodeCnt].ext.device, false); in AudioRouteDevFreeByNum()
|
/ohos5.0/drivers/hdf_core/adapter/uhdf2/manager/src/ |
H A D | devmgr_dump.c | 223 …grFillDeviceInfo(struct HdfSBuf *data, struct HdfSBuf *reply, uint32_t *hostCnt, uint32_t *nodeCnt) in DevMgrFillDeviceInfo() argument 273 (*nodeCnt)++; in DevMgrFillDeviceInfo()
|
/ohos5.0/base/security/device_security_level/services/dslm/ |
H A D | dslm_fsm_process.c | 447 static const uint32_t nodeCnt = sizeof(stateNodes) / sizeof(StateNode); in ScheduleDslmStateMachine() local 449 ScheduleMachine(stateNodes, nodeCnt, &info->machine, event, para); in ScheduleDslmStateMachine()
|