Home
last modified time | relevance | path

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

/system/nfc/src/nfc/tags/
Drw_i93.cc2084 if (p_i93->rw_length == 0) { in rw_i93_sm_read_ndef()
2110 p_i93->rw_length += p_resp->len; in rw_i93_sm_read_ndef()
2117 if (p_i93->rw_length >= p_i93->ndef_length) { in rw_i93_sm_read_ndef()
2119 p_resp->len -= (p_i93->rw_length - p_i93->ndef_length); in rw_i93_sm_read_ndef()
2220 if (xx > length || p_i93->rw_length > p_i93->ndef_length) { in rw_i93_sm_update_ndef()
2225 if (p_i93->rw_length < p_i93->ndef_length) { in rw_i93_sm_update_ndef()
2226 *(p + xx) = *(p_i93->p_update_data + p_i93->rw_length++); in rw_i93_sm_update_ndef()
2255 if (p_i93->rw_length < p_i93->ndef_length) { in rw_i93_sm_update_ndef()
2256 p = p_i93->p_update_data + p_i93->rw_length; in rw_i93_sm_update_ndef()
2259 p_i93->rw_length += p_i93->block_size; in rw_i93_sm_update_ndef()
[all …]
Drw_t4t.cc679 p_t4t->rw_length = length; in rw_t4t_read_file()
761 "rw_offset:%d, rw_length:%d", p_t4t->rw_offset, p_t4t->rw_length); in rw_t4t_update_file()
771 length = p_t4t->rw_length; in rw_t4t_update_file()
797 p_t4t->rw_length -= length; in rw_t4t_update_file()
1500 if ((p_r_apdu->len > 0) && (p_r_apdu->len <= p_t4t->rw_length)) { in rw_t4t_sm_read_ndef()
1501 p_t4t->rw_length -= p_r_apdu->len; in rw_t4t_sm_read_ndef()
1509 if (p_t4t->rw_length > 0) { in rw_t4t_sm_read_ndef()
1512 if (!rw_t4t_read_file(p_t4t->rw_offset, p_t4t->rw_length, true)) { in rw_t4t_sm_read_ndef()
1526 p_t4t->rw_length = 0; in rw_t4t_sm_read_ndef()
1533 p_r_apdu->len, p_t4t->rw_length); in rw_t4t_sm_read_ndef()
[all …]
/system/nfc/src/nfc/include/
Drw_int.h574 uint16_t rw_length; /* remaining bytes to read/write */ member
634 uint16_t rw_length; /* remaining bytes to read/write */ member
728 uint16_t rw_length; /* bytes to read/write */ member