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.cc996 uint32_t paylen_delta; in NDEF_MsgReplacePayload() local
1024 paylen_delta = new_pl_len - prev_paylen; in NDEF_MsgReplacePayload()
1029 if ((*p_cur_size + paylen_delta + 3) > max_size) in NDEF_MsgReplacePayload()
1036 } else if ((*p_cur_size + paylen_delta) > max_size) in NDEF_MsgReplacePayload()
1050 shiftdown(pp, (uint32_t)(*p_cur_size - (pp - p_msg)), paylen_delta); in NDEF_MsgReplacePayload()
1052 *p_cur_size += paylen_delta; in NDEF_MsgReplacePayload()
1055 paylen_delta = prev_paylen - new_pl_len; in NDEF_MsgReplacePayload()
1078 shiftup(pp - paylen_delta, pp, (uint32_t)(*p_cur_size - (pp - p_msg))); in NDEF_MsgReplacePayload()
1080 *p_cur_size -= paylen_delta; in NDEF_MsgReplacePayload()