Home
last modified time | relevance | path

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

/system/nfc/src/nfc/tags/
Dce_t4t.cc196 length -= T4T_FILE_LENGTH_SIZE; in ce_t4t_read_binary()
203 offset -= T4T_FILE_LENGTH_SIZE; in ce_t4t_read_binary()
254 if ((offset < T4T_FILE_LENGTH_SIZE) && (length > 0)) { in ce_t4t_update_binary()
258 while ((offset < T4T_FILE_LENGTH_SIZE) && (length > 0)) { in ce_t4t_update_binary()
268 memcpy(p_t4t->p_scratch_buf + offset - T4T_FILE_LENGTH_SIZE, p_data, in ce_t4t_update_binary()
856 p, ndef_msg_max + T4T_FILE_LENGTH_SIZE); /* max NDEF file size */ in CE_T4tSetLocalNDEFMsg()
870 p_t4t->max_file_size = ndef_msg_max + T4T_FILE_LENGTH_SIZE; in CE_T4tSetLocalNDEFMsg()
Drw_t4t.cc733 UINT8_TO_BE_STREAM(p, T4T_FILE_LENGTH_SIZE); in rw_t4t_update_nlen()
736 p_c_apdu->len = T4T_CMD_MAX_HDR_SIZE + T4T_FILE_LENGTH_SIZE; in rw_t4t_update_nlen()
1369 if (!rw_t4t_read_file(0, T4T_FILE_LENGTH_SIZE, false)) { in rw_t4t_sm_detect_ndef()
1379 if (p_r_apdu->len == T4T_FILE_LENGTH_SIZE + T4T_RSP_STATUS_WORDS_SIZE) { in rw_t4t_sm_detect_ndef()
1385 p_t4t->cc_file.ndef_fc.max_file_size - T4T_FILE_LENGTH_SIZE) { in rw_t4t_sm_detect_ndef()
1424 (uint16_t)T4T_FILE_LENGTH_SIZE); in rw_t4t_sm_detect_ndef()
1450 T4T_FILE_LENGTH_SIZE + T4T_RSP_STATUS_WORDS_SIZE); in rw_t4t_sm_detect_ndef()
1995 if (!rw_t4t_read_file(T4T_FILE_LENGTH_SIZE, rw_cb.tcb.t4t.ndef_length, in RW_T4tReadNDef()
2045 length + T4T_FILE_LENGTH_SIZE) { in RW_T4tUpdateNDef()
2057 rw_cb.tcb.t4t.rw_offset = T4T_FILE_LENGTH_SIZE; in RW_T4tUpdateNDef()
/system/nfc/src/nfc/include/
Dtags_defs.h437 #define T4T_FILE_LENGTH_SIZE 0x02 macro