Searched refs:p_cur_size (Results 1 – 3 of 3) sorted by relevance
/external/libnfc-nci/src/nfc/ndef/ |
D | ndef_cho_utils.c | 35 static UINT8 *ndef_get_bt_oob_record (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, 76 tNDEF_STATUS NDEF_MsgCreateWktHr (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, in NDEF_MsgCreateWktHr() argument 81 NDEF_MsgInit (p_msg, max_size, p_cur_size); in NDEF_MsgCreateWktHr() 84 status = NDEF_MsgAddRec (p_msg, max_size, p_cur_size, in NDEF_MsgCreateWktHr() 100 tNDEF_STATUS NDEF_MsgCreateWktHs (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, in NDEF_MsgCreateWktHs() argument 105 NDEF_MsgInit (p_msg, max_size, p_cur_size); in NDEF_MsgCreateWktHs() 108 status = NDEF_MsgAddRec (p_msg, max_size, p_cur_size, in NDEF_MsgCreateWktHs() 124 tNDEF_STATUS NDEF_MsgAddWktHc (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, in NDEF_MsgAddWktHc() argument 149 status = NDEF_MsgAddRec (p_msg, max_size, p_cur_size, in NDEF_MsgAddWktHc() 164 tNDEF_STATUS NDEF_MsgAddWktAc (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, in NDEF_MsgAddWktAc() argument [all …]
|
D | ndef_utils.c | 820 void NDEF_MsgInit (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size) in NDEF_MsgInit() argument 822 *p_cur_size = 0; in NDEF_MsgInit() 836 extern tNDEF_STATUS NDEF_MsgAddRec (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, in NDEF_MsgAddRec() argument 841 UINT8 *p_rec = p_msg + *p_cur_size; in NDEF_MsgAddRec() 855 if ((*p_cur_size + recSize) > max_size) in NDEF_MsgAddRec() 859 if (*p_cur_size == 0) in NDEF_MsgAddRec() 916 *p_cur_size += recSize; in NDEF_MsgAddRec() 932 extern tNDEF_STATUS NDEF_MsgInsertRec (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, INT32 ind… in NDEF_MsgInsertRec() argument 945 if ((*p_cur_size + recSize) > max_size) in NDEF_MsgInsertRec() 952 return NDEF_MsgAddRec (p_msg, max_size, p_cur_size, tnf, p_type, type_len, in NDEF_MsgInsertRec() [all …]
|
/external/libnfc-nci/src/nfc/include/ |
D | ndef_utils.h | 257 EXPORT_NDEF_API extern void NDEF_MsgInit (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size); 269 …RT_NDEF_API extern tNDEF_STATUS NDEF_MsgAddRec (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, 285 …rn tNDEF_STATUS NDEF_MsgInsertRec (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, INT32 index, 300 …NDEF_API extern tNDEF_STATUS NDEF_MsgAppendRec (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, 314 …F_API extern tNDEF_STATUS NDEF_MsgAppendPayload (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, 328 …_API extern tNDEF_STATUS NDEF_MsgReplacePayload (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, 342 …DEF_API extern tNDEF_STATUS NDEF_MsgReplaceType (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, 356 …_NDEF_API extern tNDEF_STATUS NDEF_MsgReplaceId (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, 370 EXPORT_NDEF_API extern tNDEF_STATUS NDEF_MsgRemoveRec (UINT8 *p_msg, UINT32 *p_cur_size, INT32 inde… 395 …DEF_API extern tNDEF_STATUS NDEF_MsgCreateWktHr (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, [all …]
|