Home
last modified time | relevance | path

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

/system/nfc/src/nfc/ndef/
Dndef_utils.c1125 uint8_t* p_new_pl, uint32_t new_pl_len) { in NDEF_MsgReplacePayload() argument
1154 if (new_pl_len > prev_paylen) { in NDEF_MsgReplacePayload()
1156 paylen_delta = new_pl_len - prev_paylen; in NDEF_MsgReplacePayload()
1160 if ((prev_paylen < 256) && (new_pl_len > 255)) { in NDEF_MsgReplacePayload()
1172 if (new_pl_len > 255) { in NDEF_MsgReplacePayload()
1173 UINT32_TO_BE_STREAM(pp, new_pl_len); in NDEF_MsgReplacePayload()
1175 *pp = (uint8_t)new_pl_len; in NDEF_MsgReplacePayload()
1185 } else if (new_pl_len < prev_paylen) { in NDEF_MsgReplacePayload()
1187 paylen_delta = prev_paylen - new_pl_len; in NDEF_MsgReplacePayload()
1191 if ((prev_paylen > 255) && (new_pl_len < 256)) { in NDEF_MsgReplacePayload()
[all …]
/system/nfc/src/nfc/include/
Dndef_utils.h344 uint32_t new_pl_len);