Home
last modified time | relevance | path

Searched refs:p_src (Results 1 – 20 of 20) sorted by relevance

/system/bt/btif/src/
Dbtif_gatt_util.cc48 void btif_to_bta_response(tGATTS_RSP* p_dest, btgatt_response_t* p_src) { in btif_to_bta_response() argument
49 p_dest->attr_value.auth_req = p_src->attr_value.auth_req; in btif_to_bta_response()
50 p_dest->attr_value.handle = p_src->attr_value.handle; in btif_to_bta_response()
51 p_dest->attr_value.len = p_src->attr_value.len; in btif_to_bta_response()
52 p_dest->attr_value.offset = p_src->attr_value.offset; in btif_to_bta_response()
53 memcpy(p_dest->attr_value.value, p_src->attr_value.value, GATT_MAX_ATTR_LEN); in btif_to_bta_response()
94 btgatt_track_adv_info_t* p_src) { in btif_gatt_move_track_adv_data() argument
97 memcpy(p_dest, p_src, sizeof(btgatt_track_adv_info_t)); in btif_gatt_move_track_adv_data()
99 if (p_src->adv_pkt_len > 0) { in btif_gatt_move_track_adv_data()
100 p_dest->p_adv_pkt_data = (uint8_t*)osi_malloc(p_src->adv_pkt_len); in btif_gatt_move_track_adv_data()
[all …]
Dbtif_sdp.cc78 static void sdp_search_comp_copy_cb(uint16_t event, char* p_dest, char* p_src) { in sdp_search_comp_copy_cb() argument
80 tBTA_SDP_SEARCH_COMP* p_src_data = (tBTA_SDP_SEARCH_COMP*)p_src; in sdp_search_comp_copy_cb()
82 if (!p_src) return; in sdp_search_comp_copy_cb()
Dbtif_mce.cc71 char* p_src) { in mas_discovery_comp_copy_cb() argument
74 tBTA_MCE_MAS_DISCOVERY_COMP* p_src_data = (tBTA_MCE_MAS_DISCOVERY_COMP*)p_src; in mas_discovery_comp_copy_cb()
78 if (!p_src) return; in mas_discovery_comp_copy_cb()
Dbtif_hd.cc71 static void intr_data_copy_cb(uint16_t event, char* p_dst, char* p_src) { in intr_data_copy_cb() argument
73 tBTA_HD_INTR_DATA* p_src_data = (tBTA_HD_INTR_DATA*)p_src; in intr_data_copy_cb()
76 if (!p_src) return; 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
91 tBTA_HD_SET_REPORT* p_src_data = (tBTA_HD_SET_REPORT*)p_src; in set_report_copy_cb()
94 if (!p_src) return; in set_report_copy_cb()
98 memcpy(p_dst, p_src, sizeof(tBTA_HD_SET_REPORT)); in set_report_copy_cb()
Dbtif_gatt_server.cc82 char* p_src) { in btapp_gatts_copy_req_data() argument
84 tBTA_GATTS* p_src_data = (tBTA_GATTS*)p_src; in btapp_gatts_copy_req_data()
Dbtif_dm.cc829 static void search_devices_copy_cb(uint16_t event, char* p_dest, char* p_src) { in search_devices_copy_cb() argument
831 tBTA_DM_SEARCH* p_src_data = (tBTA_DM_SEARCH*)p_src; in search_devices_copy_cb()
833 if (!p_src) return; in search_devices_copy_cb()
861 static void search_services_copy_cb(uint16_t event, char* p_dest, char* p_src) { in search_services_copy_cb() argument
863 tBTA_DM_SEARCH* p_src_data = (tBTA_DM_SEARCH*)p_src; in search_services_copy_cb()
865 if (!p_src) return; in search_services_copy_cb()
/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.h1007 #define BTM_SEC_COPY_TRUSTED_DEVICE(p_src, p_dst) \ argument
1011 ((uint32_t*)(p_dst))[trst] = ((uint32_t*)(p_src))[trst]; \
/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
150 int16_t* p_src_tmp = (int16_t*)p_src; in a2dp_sbc_up_sample_16s()
184 *p_ret = ((char*)p_src_tmp - (char*)p_src); 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
209 int16_t* p_src_tmp = (int16_t*)p_src; in a2dp_sbc_up_sample_16m()
244 *p_ret = ((char*)p_src_tmp - (char*)p_src); 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_sbc.cc117 static void A2DP_ParseMplHeaderSbc(uint8_t* p_src, bool* p_frag, bool* p_start,
277 UNUSED_ATTR static void A2DP_ParseMplHeaderSbc(uint8_t* p_src, bool* p_frag, in A2DP_ParseMplHeaderSbc() argument
280 if (p_src && p_frag && p_start && p_last && p_num) { in A2DP_ParseMplHeaderSbc()
281 *p_frag = (*p_src & A2DP_SBC_HDR_F_MSK) ? true : false; in A2DP_ParseMplHeaderSbc()
282 *p_start = (*p_src & A2DP_SBC_HDR_S_MSK) ? true : false; in A2DP_ParseMplHeaderSbc()
283 *p_last = (*p_src & A2DP_SBC_HDR_L_MSK) ? true : false; in A2DP_ParseMplHeaderSbc()
284 *p_num = (*p_src & A2DP_SBC_HDR_NUM_MSK); in A2DP_ParseMplHeaderSbc()
/system/bt/btif/include/
Dbtif_gatt_util.h27 void btif_to_bta_response(tGATTS_RSP* p_dest, btgatt_response_t* p_src);
32 btgatt_track_adv_info_t* p_src);
Dbtif_common.h157 typedef void(tBTIF_COPY_CBACK)(uint16_t event, char* p_dest, char* p_src);
/system/nfc/src/nfc/tags/
Dce_t4t.cc156 uint8_t *p_src = nullptr, *p_dst; in ce_t4t_read_binary() local
165 p_src = p_t4t->cc_file; in ce_t4t_read_binary()
168 p_src = p_t4t->p_scratch_buf; in ce_t4t_read_binary()
170 p_src = p_t4t->p_ndef_msg; in ce_t4t_read_binary()
173 if (p_src) { in ce_t4t_read_binary()
208 memcpy(p_dst, p_src + offset, length); in ce_t4t_read_binary()
Dce_t3t.cc374 uint8_t* p_src = p_cb->cur_cmd.p_block_list_start; in ce_t3t_handle_check_cmd() local
400 STREAM_TO_UINT8(bl0, p_src); in ce_t3t_handle_check_cmd()
403 STREAM_TO_UINT8(block_number, p_src); in ce_t3t_handle_check_cmd()
405 STREAM_TO_UINT16(block_number, p_src); in ce_t3t_handle_check_cmd()
/system/nfc/src/nfc/ndef/
Dndef_utils.cc57 static void shiftup(uint8_t* p_dest, uint8_t* p_src, uint32_t len) { in shiftup() argument
58 uint8_t* ps = p_src; in shiftup()
1323 tNDEF_STATUS NDEF_MsgCopyAndDechunk(uint8_t* p_src, uint32_t src_len, in NDEF_MsgCopyAndDechunk() argument
1334 status = NDEF_MsgValidate(p_src, src_len, true); in NDEF_MsgCopyAndDechunk()
1343 p_rec = p_src; in NDEF_MsgCopyAndDechunk()
/system/nfc/src/nfc/include/
Dndef_utils.h357 extern tNDEF_STATUS NDEF_MsgCopyAndDechunk(uint8_t* p_src, uint32_t src_len,
/system/nfc/src/gki/common/
Dgki.h358 extern void GKI_shiftup(uint8_t* p_dest, uint8_t* p_src, uint32_t len);
/system/bt/btif/test/
Dbtif_profile_queue_test.cc30 typedef void(tBTIF_COPY_CBACK)(uint16_t event, char* p_dest, char* p_src);
/system/nfc/src/gki/ulinux/
Dgki_ulinux.cc1154 void GKI_shiftup(uint8_t* p_dest, uint8_t* p_src, uint32_t len) { in GKI_shiftup() argument
1155 uint8_t* ps = p_src; in GKI_shiftup()
/system/bt/stack/rfcomm/
Drfc_ts_frames.cc446 uint8_t* p_src = (uint8_t*)(p_buf + 1) + p_buf->offset + p_buf->len - 1; in rfc_send_test() local
457 for (uint16_t xx = 0; xx < p_buf->len; xx++) *p_dest-- = *p_src--; in rfc_send_test()