Searched refs:T4T_FILE_LENGTH_SIZE (Results 1 – 3 of 3) sorted by relevance
212 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()902 UINT16_TO_BE_STREAM (p, ndef_msg_max + T4T_FILE_LENGTH_SIZE); /* max NDEF file size */ in CE_T4tSetLocalNDEFMsg()919 p_t4t->max_file_size = ndef_msg_max + T4T_FILE_LENGTH_SIZE; in CE_T4tSetLocalNDEFMsg()
774 UINT8_TO_BE_STREAM (p, T4T_FILE_LENGTH_SIZE); in rw_t4t_update_nlen()777 p_c_apdu->len = T4T_CMD_MAX_HDR_SIZE + T4T_FILE_LENGTH_SIZE; in rw_t4t_update_nlen()1496 if (!rw_t4t_read_file (0, T4T_FILE_LENGTH_SIZE, FALSE)) in rw_t4t_sm_detect_ndef()1509 if (p_r_apdu->len == T4T_FILE_LENGTH_SIZE + T4T_RSP_STATUS_WORDS_SIZE) in rw_t4t_sm_detect_ndef()1515 if (nlen <= p_t4t->cc_file.ndef_fc.max_file_size - T4T_FILE_LENGTH_SIZE) in rw_t4t_sm_detect_ndef()1563 …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()1590 p_r_apdu->len, T4T_FILE_LENGTH_SIZE + T4T_RSP_STATUS_WORDS_SIZE); in rw_t4t_sm_detect_ndef()2187 if (!rw_t4t_read_file (T4T_FILE_LENGTH_SIZE, rw_cb.tcb.t4t.ndef_length, FALSE)) in RW_T4tReadNDef()2241 if (rw_cb.tcb.t4t.cc_file.ndef_fc.max_file_size < length + T4T_FILE_LENGTH_SIZE) in RW_T4tUpdateNDef()2252 rw_cb.tcb.t4t.rw_offset = T4T_FILE_LENGTH_SIZE; in RW_T4tUpdateNDef()
385 #define T4T_FILE_LENGTH_SIZE 0x02 macro