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.cc911 uint32_t prev_paylen, new_paylen; in NDEF_MsgAppendPayload() local
924 prev_paylen = *pp++; in NDEF_MsgAppendPayload()
926 BE_STREAM_TO_UINT32(prev_paylen, pp); in NDEF_MsgAppendPayload()
936 new_paylen = prev_paylen + add_pl_len; in NDEF_MsgAppendPayload()
942 if ((prev_paylen < 256) && (new_paylen > 255)) incr_lenfld = 3; in NDEF_MsgAppendPayload()
965 pp = p_prev_pl + prev_paylen; in NDEF_MsgAppendPayload()
993 uint32_t prev_paylen; in NDEF_MsgReplacePayload() local
1006 prev_paylen = *pp++; in NDEF_MsgReplacePayload()
1008 BE_STREAM_TO_UINT32(prev_paylen, pp); in NDEF_MsgReplacePayload()
1021 if (new_pl_len > prev_paylen) { in NDEF_MsgReplacePayload()
[all …]