Home
last modified time | relevance | path

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

/ohos5.0/drivers/peripheral/user_auth/hdi_service/utils/src/
H A Dattribute.c242 uint32_t subMsgIndex = 0; in ParseMultiDataSerializedMsg() local
249 IF_TRUE_LOGE_AND_RETURN_VAL(subMsgIndex >= *subMsgSize, GENERAL_ERROR); in ParseMultiDataSerializedMsg()
251 subMsgData[subMsgIndex] = (Uint8Array){ Malloc(length), length }; in ParseMultiDataSerializedMsg()
252 IF_TRUE_LOGE_AND_RETURN_VAL(subMsgData[subMsgIndex].data == NULL, GENERAL_ERROR); in ParseMultiDataSerializedMsg()
253 ResultCode readDataResult = ReadDataFromMsg(msg, &readIndex, &subMsgData[subMsgIndex]); in ParseMultiDataSerializedMsg()
255 subMsgIndex++; in ParseMultiDataSerializedMsg()
259 *subMsgSize = subMsgIndex; in ParseMultiDataSerializedMsg()