Home
last modified time | relevance | path

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

/external/libnfc-nci/src/nfc/ndef/
Dndef_utils.c1167 UINT32 paylen_delta; in NDEF_MsgReplacePayload() local
1196 paylen_delta = new_pl_len - prev_paylen; in NDEF_MsgReplacePayload()
1202 if ((*p_cur_size + paylen_delta + 3) > max_size) in NDEF_MsgReplacePayload()
1210 else if ((*p_cur_size + paylen_delta) > max_size) in NDEF_MsgReplacePayload()
1226 shiftdown (pp, (UINT32)(*p_cur_size - (pp - p_msg)), paylen_delta); in NDEF_MsgReplacePayload()
1228 *p_cur_size += paylen_delta; in NDEF_MsgReplacePayload()
1233 paylen_delta = prev_paylen - new_pl_len; in NDEF_MsgReplacePayload()
1258 shiftup (pp - paylen_delta, pp, (UINT32)(*p_cur_size - (pp - p_msg))); in NDEF_MsgReplacePayload()
1260 *p_cur_size -= paylen_delta; in NDEF_MsgReplacePayload()