Searched refs:p_cur_size (Results 1 – 2 of 2) sorted by relevance
/system/nfc/src/nfc/ndef/ |
D | ndef_utils.cc | 807 void NDEF_MsgInit(uint8_t* p_msg, uint32_t max_size, uint32_t* p_cur_size) { in NDEF_MsgInit() argument 808 *p_cur_size = 0; in NDEF_MsgInit() 824 uint32_t* p_cur_size, uint8_t tnf, in NDEF_MsgAddRec() argument 828 uint8_t* p_rec = p_msg + *p_cur_size; in NDEF_MsgAddRec() 842 if ((*p_cur_size + recSize) > max_size) return (NDEF_MSG_INSUFFICIENT_MEM); in NDEF_MsgAddRec() 846 if (*p_cur_size == 0) in NDEF_MsgAddRec() 893 *p_cur_size += recSize; in NDEF_MsgAddRec() 910 uint32_t* p_cur_size, uint8_t* p_rec, in NDEF_MsgAppendPayload() argument 946 if ((*p_cur_size + add_pl_len + incr_lenfld) > max_size) in NDEF_MsgAppendPayload() 954 shiftdown(pp + 1, (uint32_t)(*p_cur_size - (pp - p_msg) - 1), 3); in NDEF_MsgAppendPayload() [all …]
|
/system/nfc/src/nfc/include/ |
D | ndef_utils.h | 249 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,
|