Home
last modified time | relevance | path

Searched refs:p_scratch_buf (Results 1 – 6 of 6) sorted by relevance

/external/libnfc-nci/src/nfc/tags/
Dce_t3t.c332 …STREAM_TO_ARRAY ((&p_cb->ndef_info.p_scratch_buf[(block_number-1) * T3T_MSG_BLOCKSIZE]), p_block_d… in ce_t3t_handle_update_cmd()
378 update_info.p_data = p_cb->ndef_info.p_scratch_buf; in ce_t3t_handle_update_cmd()
463 … if ((p_cb->ndef_info.rwflag == T3T_MSG_NDEF_RWFLAG_RW) && (p_cb->ndef_info.p_scratch_buf)) in ce_t3t_handle_check_cmd()
509 … if ((p_cb->ndef_info.rwflag == T3T_MSG_NDEF_RWFLAG_RW) && (p_cb->ndef_info.p_scratch_buf)) in ce_t3t_handle_check_cmd()
511 …ARRAY_TO_STREAM (p_dst, (&p_cb->ndef_info.p_scratch_buf[(block_number-1) * T3T_MSG_BLOCKSIZE]), T3… in ce_t3t_handle_check_cmd()
913 UINT8 *p_scratch_buf) in CE_T3tSetLocalNDEFMsg() argument
920 if ((!read_only) && (!p_scratch_buf)) in CE_T3tSetLocalNDEFMsg()
941 p_cb->ndef_info.p_scratch_buf = p_scratch_buf; in CE_T3tSetLocalNDEFMsg()
944 if (p_scratch_buf) in CE_T3tSetLocalNDEFMsg()
948 memcpy (p_scratch_buf, p_buf, p_cb->ndef_info.ln); in CE_T3tSetLocalNDEFMsg()
Dce_t4t.c176 if (p_t4t->p_scratch_buf) in ce_t4t_read_binary()
177 p_src = p_t4t->p_scratch_buf; in ce_t4t_read_binary()
292 memcpy (p_t4t->p_scratch_buf + offset - T4T_FILE_LENGTH_SIZE, p_data, length); in ce_t4t_update_binary()
305 ce_data.update_info.p_data = p_t4t->p_scratch_buf; in ce_t4t_update_binary()
865 UINT8 *p_scratch_buf) in CE_T4tSetLocalNDEFMsg() argument
881 if ((!read_only) && (!p_scratch_buf)) in CE_T4tSetLocalNDEFMsg()
923 p_t4t->p_scratch_buf = p_scratch_buf; in CE_T4tSetLocalNDEFMsg()
925 if (p_scratch_buf) in CE_T4tSetLocalNDEFMsg()
927 memcpy (p_scratch_buf, p_ndef_msg, ndef_msg_len); in CE_T4tSetLocalNDEFMsg()
/external/libnfc-nci/src/nfc/include/
Dce_api.h103 UINT8 *p_scratch_buf);
164 UINT8 *p_scratch_buf);
/external/libnfc-nci/src/nfc/int/
Dce_int.h58 UINT8 *p_scratch_buf; /* Scratch buffer for WRITE/readback */ member
96 UINT8 *p_scratch_buf; /* temp storage of NDEF message for update */ member
/external/libnfc-nci/src/nfa/ce/
Dnfa_ce_act.c619 if (p_cb->p_scratch_buf) in nfa_ce_free_scratch_buf()
621 nfa_mem_co_free (p_cb->p_scratch_buf); in nfa_ce_free_scratch_buf()
622 p_cb->p_scratch_buf = NULL; in nfa_ce_free_scratch_buf()
649 if ((nfa_ce_cb.p_scratch_buf == NULL) || in nfa_ce_realloc_scratch_buffer()
655 … if ((nfa_ce_cb.p_scratch_buf = (UINT8 *) nfa_mem_co_alloc (nfa_ce_cb.ndef_max_size)) != NULL) in nfa_ce_realloc_scratch_buffer()
708 p_cb->p_scratch_buf); in nfa_ce_set_content()
718 p_cb->p_scratch_buf); in nfa_ce_set_content()
/external/libnfc-nci/src/nfa/int/
Dnfa_ce_int.h171 … UINT8 *p_scratch_buf; /* Scratch buffer for write requests */ member