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

/system/bt/stack/include/
H A Da2dp_sbc_up_sample.h57 * p_dst: the data buffer to hold the converted audio data
59 * dst_samples: The size of p_dst (number of bytes)
69 * Returns The number of bytes used in p_dst
73 int a2dp_sbc_up_sample(void* p_src, void* p_dst, uint32_t src_samples,
86 * p_dst: the data buffer to hold the converted audio data
89 * dst_samples: The size of p_dst (in uint of 4 bytes)
91 * Returns The number of bytes used in p_dst
95 int a2dp_sbc_up_sample_16s(void* p_src, void* p_dst, uint32_t src_samples,
108 * p_dst: the data buffer to hold the converted audio data
111 * dst_samples: The size of p_dst (i
[all...]
H A Dbtm_api_types.h1226 #define BTM_SEC_COPY_TRUSTED_DEVICE(p_src, p_dst) \
1230 ((uint32_t*)(p_dst))[trst] = ((uint32_t*)(p_src))[trst]; \
1234 #define BTM_SEC_CLR_TRUSTED_DEVICE(p_dst) \
1238 ((uint32_t*)(p_dst))[trst] = 0; \
/system/nfc/src/nfc/tags/
H A Dce_t3t.cc161 uint8_t *p_dst, *p_rsp_start; local
170 p_dst = p_rsp_start = (uint8_t*)(p_rsp_msg + 1) + p_rsp_msg->offset;
173 UINT8_TO_STREAM(p_dst, opcode);
176 ARRAY_TO_STREAM(p_dst, p_nfcid2, NCI_RF_F_UID_LEN);
179 UINT8_TO_STREAM(p_dst, status1);
180 UINT8_TO_STREAM(p_dst, status2);
182 p_rsp_msg->len = (uint16_t)(p_dst - p_rsp_start);
373 uint8_t *p_dst, *p_temp, *p_status; local
382 p_dst = p_rsp_start = (uint8_t*)(p_rsp_msg + 1) + p_rsp_msg->offset;
385 UINT8_TO_STREAM(p_dst, T3T_MSG_OPC_CHECK_RS
523 uint8_t* p_dst; local
935 uint8_t *p_dst, *p_rsp_start; local
[all...]
H A Dce_t4t.cc156 uint8_t *p_src = NULL, *p_dst; local
182 p_dst = (uint8_t*)(p_r_apdu + 1) + p_r_apdu->offset;
190 UINT16_TO_BE_STREAM(p_dst, p_t4t->nlen);
194 p_dst--;
198 UINT8_TO_BE_STREAM(p_dst, (uint8_t)(p_t4t->nlen));
208 memcpy(p_dst, p_src + offset, length);
209 p_dst += length;
212 UINT16_TO_BE_STREAM(p_dst, T4T_RSP_CMD_CMPLTED);
H A Drw_t3t.cc1730 uint8_t *p_dst, *p_cmd_start; local
1736 p_dst = p_cmd_start = (uint8_t*)(p_cmd_buf + 1) + p_cmd_buf->offset;
1739 UINT8_TO_STREAM(p_dst, T3T_MSG_OPC_UPDATE_CMD);
1742 ARRAY_TO_STREAM(p_dst, p_cb->peer_nfcid2, NCI_NFCID2_LEN);
1745 UINT8_TO_STREAM(p_dst, 1); /* Number of services (only 1 service: NDEF) */
1747 p_dst, T3T_MSG_NDEF_SC_RW); /* Service code (little-endian format) */
1750 UINT8_TO_STREAM(p_dst, 1);
1753 UINT8_TO_STREAM(p_dst, T3T_MSG_MASK_TWO_BYTE_BLOCK_DESC_FORMAT);
1754 UINT8_TO_STREAM(p_dst, block_id);
1757 ARRAY_TO_STREAM(p_dst, p_block_dat
[all...]
/system/bt/stack/a2dp/
H A Da2dp_sbc_up_sample.cc28 typedef int(tA2DP_SBC_ACT)(void* p_src, void* p_dst, uint32_t src_samples,
98 * p_dst: the data buffer to hold the converted audio data
100 * dst_samples: The size of p_dst (number of bytes)
110 * Returns The number of bytes used in p_dst
114 int a2dp_sbc_up_sample(void* p_src, void* p_dst, uint32_t src_samples, argument
122 return (*a2dp_sbc_ups_cb.p_act)(p_src, p_dst, src, dst, p_ret);
139 * p_dst: the data buffer to hold the converted audio data
142 * dst_samples: The size of p_dst (in uint of 4 bytes)
144 * Returns The number of bytes used in p_dst
148 int a2dp_sbc_up_sample_16s(void* p_src, void* p_dst, uint32_ argument
207 a2dp_sbc_up_sample_16m(void* p_src, void* p_dst, uint32_t src_samples, uint32_t dst_samples, uint32_t* p_ret) argument
267 a2dp_sbc_up_sample_8s(void* p_src, void* p_dst, uint32_t src_samples, uint32_t dst_samples, uint32_t* p_ret) argument
331 a2dp_sbc_up_sample_8m(void* p_src, void* p_dst, uint32_t src_samples, uint32_t dst_samples, uint32_t* p_ret) argument
[all...]
H A Da2dp_vendor_ldac.cc176 // |p_dst| points to the location where the header should be written to.
182 static void A2DP_BuildMediaPayloadHeaderLdac(uint8_t* p_dst, bool frag, argument
185 if (p_dst == NULL) return;
187 *p_dst = 0;
188 if (frag) *p_dst |= A2DP_LDAC_HDR_F_MSK;
189 if (start) *p_dst |= A2DP_LDAC_HDR_S_MSK;
190 if (last) *p_dst |= A2DP_LDAC_HDR_L_MSK;
191 *p_dst |= (A2DP_LDAC_HDR_NUM_MSK & num);
H A Da2dp_sbc.cc216 // |p_dst| points to the location where the header should be written to.
222 static void A2DP_BuildMediaPayloadHeaderSbc(uint8_t* p_dst, bool frag, argument
225 if (p_dst == NULL) return;
227 *p_dst = 0;
228 if (frag) *p_dst |= A2DP_SBC_HDR_F_MSK;
229 if (start) *p_dst |= A2DP_SBC_HDR_S_MSK;
230 if (last) *p_dst |= A2DP_SBC_HDR_L_MSK;
231 *p_dst |= (A2DP_SBC_HDR_NUM_MSK & num);
/system/bt/btif/src/
H A Dbtif_hd.cc70 static void intr_data_copy_cb(uint16_t event, char* p_dst, char* p_src) { argument
71 tBTA_HD_INTR_DATA* p_dst_data = (tBTA_HD_INTR_DATA*)p_dst;
79 memcpy(p_dst, p_src, sizeof(tBTA_HD_INTR_DATA));
88 static void set_report_copy_cb(uint16_t event, char* p_dst, char* p_src) { argument
89 tBTA_HD_SET_REPORT* p_dst_data = (tBTA_HD_SET_REPORT*)p_dst;
97 memcpy(p_dst, p_src, sizeof(tBTA_HD_SET_REPORT));
/system/nfc/src/nfc/llcp/
H A Dllcp_dlc.cc856 uint8_t *p, *p_dst, send_seq, rcv_seq, error_flags; local
946 p_dst =
950 UINT16_TO_BE_STREAM(p_dst, info_len);
955 memcpy(p_dst, p, info_len);
986 p_dst = (uint8_t*)(p_msg + 1);
989 UINT16_TO_BE_STREAM(p_dst, info_len);
992 memcpy(p_dst, p, info_len);
H A Dllcp_link.cc961 uint8_t* p_dst; local
1002 p_dst =
1006 UINT16_TO_BE_STREAM(p_dst, ui_pdu_length);
1009 memcpy(p_dst, p_ui_pdu, ui_pdu_length);
1034 p_dst = (uint8_t*)(p_msg + 1);
1037 UINT16_TO_BE_STREAM(p_dst, ui_pdu_length);
1039 memcpy(p_dst, p_ui_pdu, ui_pdu_length);
/system/bt/stack/gatt/
H A Dgatt_utils.cc466 uint8_t gatt_build_uuid_to_stream(uint8_t** p_dst, const Uuid& uuid) { argument
467 uint8_t* p = *p_dst;
484 *p_dst = p;
H A Dgatt_int.h440 extern uint8_t gatt_build_uuid_to_stream(uint8_t** p_dst,

Completed in 206 milliseconds