Home
last modified time | relevance | path

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

/external/libnfc-nxp/src/
DphFriNfc_LlcpUtils.c32 NFCSTATUS phFriNfc_Llcp_DecodeTLV( phNfc_sData_t *psRawData, in phFriNfc_Llcp_DecodeTLV() argument
42 if ((psRawData == NULL) || (pOffset == NULL) || (pType == NULL) || (psValueBuffer == NULL)) in phFriNfc_Llcp_DecodeTLV()
48 if (offset > psRawData->length) in phFriNfc_Llcp_DecodeTLV()
54 if ((offset+2 > psRawData->length) && (offset+2 > offset)) in phFriNfc_Llcp_DecodeTLV()
60 type = psRawData->buffer[offset]; in phFriNfc_Llcp_DecodeTLV()
61 length = psRawData->buffer[offset+1]; in phFriNfc_Llcp_DecodeTLV()
65 if ((offset+length > psRawData->length) && (offset+length > offset)) in phFriNfc_Llcp_DecodeTLV()
72 psValueBuffer->buffer = psRawData->buffer + offset; in phFriNfc_Llcp_DecodeTLV()
DphFriNfc_LlcpUtils.h62 NFCSTATUS phFriNfc_Llcp_DecodeTLV( phNfc_sData_t *psRawData,