Home
last modified time | relevance | path

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

/external/libnfc-nci/src/nfc/ndef/
Dndef_utils.c1284 UINT8 typelen_delta; in NDEF_MsgReplaceType() local
1309 typelen_delta = new_type_len - prev_type_len; in NDEF_MsgReplaceType()
1311 if ((*p_cur_size + typelen_delta) > max_size) in NDEF_MsgReplaceType()
1316 shiftdown (pp, (UINT32)(*p_cur_size - (pp - p_msg)), typelen_delta); in NDEF_MsgReplaceType()
1318 *p_cur_size += typelen_delta; in NDEF_MsgReplaceType()
1323 typelen_delta = prev_type_len - new_type_len; in NDEF_MsgReplaceType()
1327 shiftup (pp - typelen_delta, pp, (UINT32)(*p_cur_size - (pp - p_msg))); in NDEF_MsgReplaceType()
1329 *p_cur_size -= typelen_delta; in NDEF_MsgReplaceType()