Home
last modified time | relevance | path

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

/system/nfc/src/nfc/ndef/
Dndef_utils.cc907 uint32_t prev_paylen, new_paylen; in NDEF_MsgAppendPayload() local
920 prev_paylen = *pp++; in NDEF_MsgAppendPayload()
922 BE_STREAM_TO_UINT32(prev_paylen, pp); in NDEF_MsgAppendPayload()
932 new_paylen = prev_paylen + add_pl_len; in NDEF_MsgAppendPayload()
938 if ((prev_paylen < 256) && (new_paylen > 255)) incr_lenfld = 3; in NDEF_MsgAppendPayload()
961 pp = p_prev_pl + prev_paylen; in NDEF_MsgAppendPayload()
989 uint32_t prev_paylen; in NDEF_MsgReplacePayload() local
1002 prev_paylen = *pp++; in NDEF_MsgReplacePayload()
1004 BE_STREAM_TO_UINT32(prev_paylen, pp); in NDEF_MsgReplacePayload()
1017 if (new_pl_len > prev_paylen) { in NDEF_MsgReplacePayload()
[all …]