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.cc911 uint32_t prev_paylen, new_paylen; in NDEF_MsgAppendPayload() local
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()
958 if (new_paylen > 255) { in NDEF_MsgAppendPayload()
960 UINT32_TO_BE_STREAM(pp, new_paylen); in NDEF_MsgAppendPayload()
962 *pp = (uint8_t)new_paylen; in NDEF_MsgAppendPayload()