Home
last modified time | relevance | path

Searched refs:new_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
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()
954 if (new_paylen > 255) { in NDEF_MsgAppendPayload()
956 UINT32_TO_BE_STREAM(pp, new_paylen); in NDEF_MsgAppendPayload()
958 *pp = (uint8_t)new_paylen; in NDEF_MsgAppendPayload()