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.cc912 uint32_t prev_paylen, new_paylen; in NDEF_MsgAppendPayload() local
937 new_paylen = prev_paylen + add_pl_len; in NDEF_MsgAppendPayload()
943 if ((prev_paylen < 256) && (new_paylen > 255)) incr_lenfld = 3; in NDEF_MsgAppendPayload()
959 if (new_paylen > 255) { in NDEF_MsgAppendPayload()
961 UINT32_TO_BE_STREAM(pp, new_paylen); in NDEF_MsgAppendPayload()
963 *pp = (uint8_t)new_paylen; in NDEF_MsgAppendPayload()