Home
last modified time | relevance | path

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

/system/nfc/src/nfc/ndef/
Dndef_utils.cc806 void NDEF_MsgInit(uint8_t* p_msg, uint32_t max_size, uint32_t* p_cur_size) { in NDEF_MsgInit() argument
807 *p_cur_size = 0; in NDEF_MsgInit()
823 uint32_t* p_cur_size, uint8_t tnf, in NDEF_MsgAddRec() argument
827 uint8_t* p_rec = p_msg + *p_cur_size; in NDEF_MsgAddRec()
841 if ((*p_cur_size + recSize) > max_size) return (NDEF_MSG_INSUFFICIENT_MEM); in NDEF_MsgAddRec()
845 if (*p_cur_size == 0) in NDEF_MsgAddRec()
892 *p_cur_size += recSize; in NDEF_MsgAddRec()
909 uint32_t* p_cur_size, uint8_t* p_rec, in NDEF_MsgAppendPayload() argument
945 if ((*p_cur_size + add_pl_len + incr_lenfld) > max_size) in NDEF_MsgAppendPayload()
953 shiftdown(pp + 1, (uint32_t)(*p_cur_size - (pp - p_msg) - 1), 3); in NDEF_MsgAppendPayload()
[all …]
/system/nfc/src/nfc/include/
Dndef_utils.h249 uint32_t* p_cur_size);
263 uint32_t* p_cur_size, uint8_t tnf,
280 uint32_t* p_cur_size, uint8_t* p_rec,
296 uint32_t* p_cur_size, uint8_t* p_rec,
312 uint32_t* p_cur_size, uint8_t* p_rec,
328 uint32_t* p_cur_size, uint8_t* p_rec,
342 extern tNDEF_STATUS NDEF_MsgRemoveRec(uint8_t* p_msg, uint32_t* p_cur_size,