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.c333 …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()
379 update_info.p_data = p_cb->ndef_info.p_scratch_buf; in ce_t3t_handle_update_cmd()
464 … if ((p_cb->ndef_info.rwflag == T3T_MSG_NDEF_RWFLAG_RW) && (p_cb->ndef_info.p_scratch_buf)) in ce_t3t_handle_check_cmd()
510 … if ((p_cb->ndef_info.rwflag == T3T_MSG_NDEF_RWFLAG_RW) && (p_cb->ndef_info.p_scratch_buf)) in ce_t3t_handle_check_cmd()
512 …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()
914 UINT8 *p_scratch_buf) in CE_T3tSetLocalNDEFMsg() argument
921 if ((!read_only) && (!p_scratch_buf)) in CE_T3tSetLocalNDEFMsg()
942 p_cb->ndef_info.p_scratch_buf = p_scratch_buf; in CE_T3tSetLocalNDEFMsg()
945 if (p_scratch_buf) in CE_T3tSetLocalNDEFMsg()
949 memcpy (p_scratch_buf, p_buf, p_cb->ndef_info.ln); in CE_T3tSetLocalNDEFMsg()
Dce_t4t.c177 if (p_t4t->p_scratch_buf) in ce_t4t_read_binary()
178 p_src = p_t4t->p_scratch_buf; in ce_t4t_read_binary()
293 memcpy (p_t4t->p_scratch_buf + offset - T4T_FILE_LENGTH_SIZE, p_data, length); in ce_t4t_update_binary()
304 ce_data.update_info.p_data = p_t4t->p_scratch_buf; in ce_t4t_update_binary()
866 UINT8 *p_scratch_buf) in CE_T4tSetLocalNDEFMsg() argument
882 if ((!read_only) && (!p_scratch_buf)) in CE_T4tSetLocalNDEFMsg()
924 p_t4t->p_scratch_buf = p_scratch_buf; in CE_T4tSetLocalNDEFMsg()
926 if (p_scratch_buf) in CE_T4tSetLocalNDEFMsg()
928 memcpy (p_scratch_buf, p_ndef_msg, ndef_msg_len); in CE_T4tSetLocalNDEFMsg()
/external/libnfc-nci/src/nfc/int/
Dce_int.h59 UINT8 *p_scratch_buf; /* Scratch buffer for WRITE/readback */ member
97 UINT8 *p_scratch_buf; /* temp storage of NDEF message for update */ member
/external/libnfc-nci/src/nfc/include/
Dce_api.h104 UINT8 *p_scratch_buf);
165 UINT8 *p_scratch_buf);
/external/libnfc-nci/src/nfa/ce/
Dnfa_ce_act.c617 if (p_cb->p_scratch_buf) in nfa_ce_free_scratch_buf()
619 nfa_mem_co_free (p_cb->p_scratch_buf); in nfa_ce_free_scratch_buf()
620 p_cb->p_scratch_buf = NULL; in nfa_ce_free_scratch_buf()
647 if ((nfa_ce_cb.p_scratch_buf == NULL) || in nfa_ce_realloc_scratch_buffer()
653 … 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()
706 p_cb->p_scratch_buf); in nfa_ce_set_content()
716 p_cb->p_scratch_buf); in nfa_ce_set_content()
/external/libnfc-nci/src/nfa/int/
Dnfa_ce_int.h172 … UINT8 *p_scratch_buf; /* Scratch buffer for write requests */ member