Searched refs:new_lengthfield_len (Results 1 – 2 of 2) sorted by relevance
/external/libnfc-nci/src/nfc/tags/ |
D | rw_t1t_ndef.c | 1425 UINT8 new_lengthfield_len; in rw_t1t_next_ndef_write_block() local 1430 new_lengthfield_len = p_t1t->new_ndef_msg_len > 254 ? 3:1; in rw_t1t_next_ndef_write_block() 1450 …le (index < T1T_BLOCK_SIZE && p_t1t->work_offset < (p_t1t->new_ndef_msg_len + new_lengthfield_len)) in rw_t1t_next_ndef_write_block() 1488 new_lengthfield_len = p_t1t->new_ndef_msg_len > 254 ? 3:1; in rw_t1t_next_ndef_write_block() 1489 if (new_lengthfield_len == 3) in rw_t1t_next_ndef_write_block() 1507 … rw_t1t_prepare_ndef_bytes (write_block, length_field, &index, FALSE, block, new_lengthfield_len); in rw_t1t_next_ndef_write_block() 1531 … = rw_t1t_prepare_ndef_bytes (write_block, length_field, &index, TRUE, block, new_lengthfield_len); in rw_t1t_next_ndef_write_block() 1539 … ndef_status = rw_t1t_send_ndef_byte (write_block[index], block, index, new_lengthfield_len); in rw_t1t_next_ndef_write_block() 1563 UINT8 new_lengthfield_len; in rw_t1t_ndef_write_first_block() local 1569 new_lengthfield_len = p_t1t->new_ndef_msg_len > 254 ? 3:1; in rw_t1t_ndef_write_first_block() [all …]
|
D | rw_t2t_ndef.c | 1160 UINT8 new_lengthfield_len; in rw_t2t_write_ndef_first_block() local 1170 …new_lengthfield_len = p_t2t->new_ndef_msg_len >= T2T_LONG_NDEF_MIN_LEN ? T2T_LONG_NDEF_LEN_FIELD_L… in rw_t2t_write_ndef_first_block() 1171 if (new_lengthfield_len == 3) in rw_t2t_write_ndef_first_block() 1212 if (p_t2t->work_offset == new_lengthfield_len) in rw_t2t_write_ndef_first_block() 1218 …le (index < T2T_BLOCK_SIZE && p_t2t->work_offset < (p_t2t->new_ndef_msg_len + new_lengthfield_len)) in rw_t2t_write_ndef_first_block() 1222 … write_block[index] = p_t2t->p_new_ndef_buffer[p_t2t->work_offset - new_lengthfield_len]; in rw_t2t_write_ndef_first_block() 1266 UINT8 new_lengthfield_len; in rw_t2t_write_ndef_next_block() local 1276 …new_lengthfield_len = p_t2t->new_ndef_msg_len >= T2T_LONG_NDEF_MIN_LEN ? T2T_LONG_NDEF_LEN_FIELD_L… in rw_t2t_write_ndef_next_block() 1282 if (p_t2t->work_offset >= new_lengthfield_len) in rw_t2t_write_ndef_next_block() 1288 …le (index < T2T_BLOCK_SIZE && p_t2t->work_offset < (p_t2t->new_ndef_msg_len + new_lengthfield_len)) in rw_t2t_write_ndef_next_block() [all …]
|