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.cc995 uint32_t paylen_delta; in NDEF_MsgReplacePayload() local
1023 paylen_delta = new_pl_len - prev_paylen; in NDEF_MsgReplacePayload()
1028 if ((*p_cur_size + paylen_delta + 3) > max_size) in NDEF_MsgReplacePayload()
1035 } else if ((*p_cur_size + paylen_delta) > max_size) in NDEF_MsgReplacePayload()
1049 shiftdown(pp, (uint32_t)(*p_cur_size - (pp - p_msg)), paylen_delta); in NDEF_MsgReplacePayload()
1051 *p_cur_size += paylen_delta; in NDEF_MsgReplacePayload()
1054 paylen_delta = prev_paylen - new_pl_len; in NDEF_MsgReplacePayload()
1077 shiftup(pp - paylen_delta, pp, (uint32_t)(*p_cur_size - (pp - p_msg))); in NDEF_MsgReplacePayload()
1079 *p_cur_size -= paylen_delta; in NDEF_MsgReplacePayload()