Home
last modified time | relevance | path

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

/system/nfc/src/nfc/ndef/
Dndef_utils.cc991 uint32_t paylen_delta; in NDEF_MsgReplacePayload() local
1019 paylen_delta = new_pl_len - prev_paylen; in NDEF_MsgReplacePayload()
1024 if ((*p_cur_size + paylen_delta + 3) > max_size) in NDEF_MsgReplacePayload()
1031 } else if ((*p_cur_size + paylen_delta) > max_size) in NDEF_MsgReplacePayload()
1045 shiftdown(pp, (uint32_t)(*p_cur_size - (pp - p_msg)), paylen_delta); in NDEF_MsgReplacePayload()
1047 *p_cur_size += paylen_delta; in NDEF_MsgReplacePayload()
1050 paylen_delta = prev_paylen - new_pl_len; in NDEF_MsgReplacePayload()
1073 shiftup(pp - paylen_delta, pp, (uint32_t)(*p_cur_size - (pp - p_msg))); in NDEF_MsgReplacePayload()
1075 *p_cur_size -= paylen_delta; in NDEF_MsgReplacePayload()