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.cc802 void NDEF_MsgInit(uint8_t* p_msg, uint32_t max_size, uint32_t* p_cur_size) { in NDEF_MsgInit() argument
803 *p_cur_size = 0; in NDEF_MsgInit()
819 uint32_t* p_cur_size, uint8_t tnf, in NDEF_MsgAddRec() argument
823 uint8_t* p_rec = p_msg + *p_cur_size; in NDEF_MsgAddRec()
837 if ((*p_cur_size + recSize) > max_size) return (NDEF_MSG_INSUFFICIENT_MEM); in NDEF_MsgAddRec()
841 if (*p_cur_size == 0) in NDEF_MsgAddRec()
888 *p_cur_size += recSize; in NDEF_MsgAddRec()
905 uint32_t* p_cur_size, uint8_t* p_rec, in NDEF_MsgAppendPayload() argument
941 if ((*p_cur_size + add_pl_len + incr_lenfld) > max_size) in NDEF_MsgAppendPayload()
949 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,