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()
915 UINT8 *p_scratch_buf) in CE_T3tSetLocalNDEFMsg() argument
922 if ((!read_only) && (!p_scratch_buf)) in CE_T3tSetLocalNDEFMsg()
943 p_cb->ndef_info.p_scratch_buf = p_scratch_buf; in CE_T3tSetLocalNDEFMsg()
946 if (p_scratch_buf) in CE_T3tSetLocalNDEFMsg()
950 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()
864 UINT8 *p_scratch_buf) in CE_T4tSetLocalNDEFMsg() argument
880 if ((!read_only) && (!p_scratch_buf)) in CE_T4tSetLocalNDEFMsg()
922 p_t4t->p_scratch_buf = p_scratch_buf; in CE_T4tSetLocalNDEFMsg()
924 if (p_scratch_buf) in CE_T4tSetLocalNDEFMsg()
926 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.h105 UINT8 *p_scratch_buf);
166 UINT8 *p_scratch_buf);
/external/libnfc-nci/src/nfa/ce/
Dnfa_ce_act.c620 if (p_cb->p_scratch_buf) in nfa_ce_free_scratch_buf()
622 nfa_mem_co_free (p_cb->p_scratch_buf); in nfa_ce_free_scratch_buf()
623 p_cb->p_scratch_buf = NULL; in nfa_ce_free_scratch_buf()
650 if ((nfa_ce_cb.p_scratch_buf == NULL) || in nfa_ce_realloc_scratch_buffer()
656 … 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()
709 p_cb->p_scratch_buf); in nfa_ce_set_content()
719 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