Home
last modified time | relevance | path

Searched refs:p_dst (Results 1 – 13 of 13) sorted by relevance

/system/nfc/src/nfc/tags/
Dce_t3t.cc161 uint8_t *p_dst, *p_rsp_start; in ce_t3t_send_rsp() local
170 p_dst = p_rsp_start = (uint8_t*)(p_rsp_msg + 1) + p_rsp_msg->offset; in ce_t3t_send_rsp()
173 UINT8_TO_STREAM(p_dst, opcode); in ce_t3t_send_rsp()
176 ARRAY_TO_STREAM(p_dst, p_nfcid2, NCI_RF_F_UID_LEN); in ce_t3t_send_rsp()
179 UINT8_TO_STREAM(p_dst, status1); in ce_t3t_send_rsp()
180 UINT8_TO_STREAM(p_dst, status2); in ce_t3t_send_rsp()
182 p_rsp_msg->len = (uint16_t)(p_dst - p_rsp_start); in ce_t3t_send_rsp()
373 uint8_t *p_dst, *p_temp, *p_status; in ce_t3t_handle_check_cmd() local
382 p_dst = p_rsp_start = (uint8_t*)(p_rsp_msg + 1) + p_rsp_msg->offset; in ce_t3t_handle_check_cmd()
385 UINT8_TO_STREAM(p_dst, T3T_MSG_OPC_CHECK_RSP); in ce_t3t_handle_check_cmd()
[all …]
Dce_t4t.cc156 uint8_t *p_src = nullptr, *p_dst; in ce_t4t_read_binary() local
182 p_dst = (uint8_t*)(p_r_apdu + 1) + p_r_apdu->offset; in ce_t4t_read_binary()
190 UINT16_TO_BE_STREAM(p_dst, p_t4t->nlen); in ce_t4t_read_binary()
194 p_dst--; in ce_t4t_read_binary()
198 UINT8_TO_BE_STREAM(p_dst, (uint8_t)(p_t4t->nlen)); in ce_t4t_read_binary()
208 memcpy(p_dst, p_src + offset, length); in ce_t4t_read_binary()
209 p_dst += length; in ce_t4t_read_binary()
212 UINT16_TO_BE_STREAM(p_dst, T4T_RSP_CMD_CMPLTED); in ce_t4t_read_binary()
Drw_t3t.cc1755 uint8_t *p_dst, *p_cmd_start; in rw_t3t_update_block() local
1761 p_dst = p_cmd_start = (uint8_t*)(p_cmd_buf + 1) + p_cmd_buf->offset; in rw_t3t_update_block()
1764 UINT8_TO_STREAM(p_dst, T3T_MSG_OPC_UPDATE_CMD); in rw_t3t_update_block()
1767 ARRAY_TO_STREAM(p_dst, p_cb->peer_nfcid2, NCI_NFCID2_LEN); in rw_t3t_update_block()
1770 UINT8_TO_STREAM(p_dst, 1); /* Number of services (only 1 service: NDEF) */ in rw_t3t_update_block()
1772 p_dst, T3T_MSG_NDEF_SC_RW); /* Service code (little-endian format) */ in rw_t3t_update_block()
1775 UINT8_TO_STREAM(p_dst, 1); in rw_t3t_update_block()
1778 UINT8_TO_STREAM(p_dst, T3T_MSG_MASK_TWO_BYTE_BLOCK_DESC_FORMAT); in rw_t3t_update_block()
1779 UINT8_TO_STREAM(p_dst, block_id); in rw_t3t_update_block()
1782 ARRAY_TO_STREAM(p_dst, p_block_data, T3T_MSG_BLOCKSIZE); in rw_t3t_update_block()
[all …]
/system/bt/stack/include/
Da2dp_sbc_up_sample.h73 int a2dp_sbc_up_sample(void* p_src, void* p_dst, uint32_t src_samples,
95 int a2dp_sbc_up_sample_16s(void* p_src, void* p_dst, uint32_t src_samples,
117 int a2dp_sbc_up_sample_16m(void* p_src, void* p_dst, uint32_t src_samples,
139 int a2dp_sbc_up_sample_8s(void* p_src, void* p_dst, uint32_t src_samples,
160 int a2dp_sbc_up_sample_8m(void* p_src, void* p_dst, uint32_t src_samples,
Dbtm_api_types.h1228 #define BTM_SEC_COPY_TRUSTED_DEVICE(p_src, p_dst) \ argument
1232 ((uint32_t*)(p_dst))[trst] = ((uint32_t*)(p_src))[trst]; \
1236 #define BTM_SEC_CLR_TRUSTED_DEVICE(p_dst) \ argument
1240 ((uint32_t*)(p_dst))[trst] = 0; \
/system/bt/stack/a2dp/
Da2dp_sbc_up_sample.cc28 typedef int(tA2DP_SBC_ACT)(void* p_src, void* p_dst, uint32_t src_samples,
114 int a2dp_sbc_up_sample(void* p_src, void* p_dst, uint32_t src_samples, in a2dp_sbc_up_sample() argument
122 return (*a2dp_sbc_ups_cb.p_act)(p_src, p_dst, src, dst, p_ret); in a2dp_sbc_up_sample()
148 int a2dp_sbc_up_sample_16s(void* p_src, void* p_dst, uint32_t src_samples, in a2dp_sbc_up_sample_16s() argument
151 int16_t* p_dst_tmp = (int16_t*)p_dst; in a2dp_sbc_up_sample_16s()
185 return ((char*)p_dst_tmp - (char*)p_dst); in a2dp_sbc_up_sample_16s()
207 int a2dp_sbc_up_sample_16m(void* p_src, void* p_dst, uint32_t src_samples, in a2dp_sbc_up_sample_16m() argument
210 int16_t* p_dst_tmp = (int16_t*)p_dst; in a2dp_sbc_up_sample_16m()
245 return ((char*)p_dst_tmp - (char*)p_dst); in a2dp_sbc_up_sample_16m()
267 int a2dp_sbc_up_sample_8s(void* p_src, void* p_dst, uint32_t src_samples, in a2dp_sbc_up_sample_8s() argument
[all …]
Da2dp_vendor_ldac.cc211 static void A2DP_BuildMediaPayloadHeaderLdac(uint8_t* p_dst, bool frag, in A2DP_BuildMediaPayloadHeaderLdac() argument
214 if (p_dst == NULL) return; in A2DP_BuildMediaPayloadHeaderLdac()
216 *p_dst = 0; in A2DP_BuildMediaPayloadHeaderLdac()
217 if (frag) *p_dst |= A2DP_LDAC_HDR_F_MSK; in A2DP_BuildMediaPayloadHeaderLdac()
218 if (start) *p_dst |= A2DP_LDAC_HDR_S_MSK; in A2DP_BuildMediaPayloadHeaderLdac()
219 if (last) *p_dst |= A2DP_LDAC_HDR_L_MSK; in A2DP_BuildMediaPayloadHeaderLdac()
220 *p_dst |= (A2DP_LDAC_HDR_NUM_MSK & num); in A2DP_BuildMediaPayloadHeaderLdac()
Da2dp_sbc.cc237 static void A2DP_BuildMediaPayloadHeaderSbc(uint8_t* p_dst, bool frag, in A2DP_BuildMediaPayloadHeaderSbc() argument
240 if (p_dst == NULL) return; in A2DP_BuildMediaPayloadHeaderSbc()
242 *p_dst = 0; in A2DP_BuildMediaPayloadHeaderSbc()
243 if (frag) *p_dst |= A2DP_SBC_HDR_F_MSK; in A2DP_BuildMediaPayloadHeaderSbc()
244 if (start) *p_dst |= A2DP_SBC_HDR_S_MSK; in A2DP_BuildMediaPayloadHeaderSbc()
245 if (last) *p_dst |= A2DP_SBC_HDR_L_MSK; in A2DP_BuildMediaPayloadHeaderSbc()
246 *p_dst |= (A2DP_SBC_HDR_NUM_MSK & num); in A2DP_BuildMediaPayloadHeaderSbc()
/system/bt/btif/src/
Dbtif_hd.cc71 static void intr_data_copy_cb(uint16_t event, char* p_dst, char* p_src) { in intr_data_copy_cb() argument
72 tBTA_HD_INTR_DATA* p_dst_data = (tBTA_HD_INTR_DATA*)p_dst; in intr_data_copy_cb()
80 memcpy(p_dst, p_src, sizeof(tBTA_HD_INTR_DATA)); in intr_data_copy_cb()
89 static void set_report_copy_cb(uint16_t event, char* p_dst, char* p_src) { in set_report_copy_cb() argument
90 tBTA_HD_SET_REPORT* p_dst_data = (tBTA_HD_SET_REPORT*)p_dst; in set_report_copy_cb()
98 memcpy(p_dst, p_src, sizeof(tBTA_HD_SET_REPORT)); in set_report_copy_cb()
/system/nfc/src/nfc/llcp/
Dllcp_dlc.cc856 uint8_t *p, *p_dst, send_seq, rcv_seq, error_flags; in llcp_dlc_proc_i_pdu() local
955 p_dst = in llcp_dlc_proc_i_pdu()
959 UINT16_TO_BE_STREAM(p_dst, info_len); in llcp_dlc_proc_i_pdu()
964 memcpy(p_dst, p, info_len); in llcp_dlc_proc_i_pdu()
995 p_dst = (uint8_t*)(p_msg + 1); in llcp_dlc_proc_i_pdu()
998 UINT16_TO_BE_STREAM(p_dst, info_len); in llcp_dlc_proc_i_pdu()
1001 memcpy(p_dst, p, info_len); in llcp_dlc_proc_i_pdu()
Dllcp_link.cc960 uint8_t* p_dst; in llcp_link_proc_ui_pdu() local
1001 p_dst = in llcp_link_proc_ui_pdu()
1005 UINT16_TO_BE_STREAM(p_dst, ui_pdu_length); in llcp_link_proc_ui_pdu()
1008 memcpy(p_dst, p_ui_pdu, ui_pdu_length); in llcp_link_proc_ui_pdu()
1033 p_dst = (uint8_t*)(p_msg + 1); in llcp_link_proc_ui_pdu()
1036 UINT16_TO_BE_STREAM(p_dst, ui_pdu_length); in llcp_link_proc_ui_pdu()
1038 memcpy(p_dst, p_ui_pdu, ui_pdu_length); in llcp_link_proc_ui_pdu()
/system/bt/stack/gatt/
Dgatt_utils.cc455 uint8_t gatt_build_uuid_to_stream(uint8_t** p_dst, const Uuid& uuid) { in gatt_build_uuid_to_stream() argument
456 uint8_t* p = *p_dst; in gatt_build_uuid_to_stream()
473 *p_dst = p; in gatt_build_uuid_to_stream()
Dgatt_int.h434 extern uint8_t gatt_build_uuid_to_stream(uint8_t** p_dst,