Home
last modified time | relevance | path

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

/external/libnfc-nci/src/nfc/tags/
Drw_t4t.c250 UINT8_TO_BE_STREAM (p, T4T_FILE_LENGTH_SIZE); in rw_t4t_update_nlen()
253 p_c_apdu->len = T4T_CMD_MAX_HDR_SIZE + T4T_FILE_LENGTH_SIZE; in rw_t4t_update_nlen()
730 if (!rw_t4t_read_file (0, T4T_FILE_LENGTH_SIZE, FALSE)) in rw_t4t_sm_detect_ndef()
743 if (p_r_apdu->len == T4T_FILE_LENGTH_SIZE + T4T_RSP_STATUS_WORDS_SIZE) in rw_t4t_sm_detect_ndef()
749 if (nlen <= p_t4t->cc_file.ndef_fc.max_file_size - T4T_FILE_LENGTH_SIZE) in rw_t4t_sm_detect_ndef()
797 …ta.ndef.max_size = (UINT32) (p_t4t->cc_file.ndef_fc.max_file_size - (UINT16) T4T_FILE_LENGTH_SIZE); in rw_t4t_sm_detect_ndef()
824 p_r_apdu->len, T4T_FILE_LENGTH_SIZE + T4T_RSP_STATUS_WORDS_SIZE); in rw_t4t_sm_detect_ndef()
1367 if (!rw_t4t_read_file (T4T_FILE_LENGTH_SIZE, rw_cb.tcb.t4t.ndef_length, FALSE)) in RW_T4tReadNDef()
1421 if (rw_cb.tcb.t4t.cc_file.ndef_fc.max_file_size < length + T4T_FILE_LENGTH_SIZE) in RW_T4tUpdateNDef()
1432 rw_cb.tcb.t4t.rw_offset = T4T_FILE_LENGTH_SIZE; in RW_T4tUpdateNDef()
Dce_t4t.c212 length -= T4T_FILE_LENGTH_SIZE; in ce_t4t_read_binary()
223 offset -= T4T_FILE_LENGTH_SIZE; in ce_t4t_read_binary()
277 if ((offset < T4T_FILE_LENGTH_SIZE) && (length > 0)) in ce_t4t_update_binary()
282 while ((offset < T4T_FILE_LENGTH_SIZE) && (length > 0)) in ce_t4t_update_binary()
293 memcpy (p_t4t->p_scratch_buf + offset - T4T_FILE_LENGTH_SIZE, p_data, length); in ce_t4t_update_binary()
904 UINT16_TO_BE_STREAM (p, ndef_msg_max + T4T_FILE_LENGTH_SIZE); /* max NDEF file size */ in CE_T4tSetLocalNDEFMsg()
921 p_t4t->max_file_size = ndef_msg_max + T4T_FILE_LENGTH_SIZE; in CE_T4tSetLocalNDEFMsg()
/external/libnfc-nci/src/nfc/include/
Dtags_defs.h379 #define T4T_FILE_LENGTH_SIZE 0x02 macro