Home
last modified time | relevance | path

Searched refs:p_dest_data (Results 1 – 5 of 5) sorted by relevance

/system/bt/btif/src/
Dbtif_mce.c78 tBTA_MCE_MAS_DISCOVERY_COMP *p_dest_data = (tBTA_MCE_MAS_DISCOVERY_COMP *) p_dest; in mas_discovery_comp_copy_cb() local
89 maybe_non_aligned_memcpy(p_dest_data, p_src_data, sizeof(*p_src_data)); in mas_discovery_comp_copy_cb()
95 p_dest_data->mas[i].p_srv_name = p_dest_str; in mas_discovery_comp_copy_cb()
Dbtif_sdp.c81 tBTA_SDP_SEARCH_COMP *p_dest_data = (tBTA_SDP_SEARCH_COMP *) p_dest; in sdp_search_comp_copy_cb() local
90 maybe_non_aligned_memcpy(p_dest_data, p_src_data, sizeof(*p_src_data)); in sdp_search_comp_copy_cb()
92 copy_sdp_records(p_src_data->records, p_dest_data->records, p_src_data->record_count); in sdp_search_comp_copy_cb()
Dbtif_gatt_server.c120 tBTA_GATTS *p_dest_data = (tBTA_GATTS*) p_dest; in btapp_gatts_copy_req_data() local
123 if (!p_src_data || !p_dest_data) in btapp_gatts_copy_req_data()
127 maybe_non_aligned_memcpy(p_dest_data, p_src_data, sizeof(*p_src_data)); in btapp_gatts_copy_req_data()
136 p_dest_data->req_data.p_data = osi_malloc(sizeof(tBTA_GATTS_REQ_DATA)); in btapp_gatts_copy_req_data()
137 memcpy(p_dest_data->req_data.p_data, p_src_data->req_data.p_data, in btapp_gatts_copy_req_data()
Dbtif_gatt_client.c307 tBTA_GATTC *p_dest_data = (tBTA_GATTC*) p_dest; in btapp_gattc_req_data() local
310 if (!p_src_data || !p_dest_data) in btapp_gattc_req_data()
314 maybe_non_aligned_memcpy(p_dest_data, p_src_data, sizeof(*p_src_data)); in btapp_gattc_req_data()
324 p_dest_data->read.p_value = osi_malloc(sizeof(tBTA_GATT_UNFMT)); in btapp_gattc_req_data()
326 memcpy(p_dest_data->read.p_value, p_src_data->read.p_value, in btapp_gattc_req_data()
332 p_dest_data->read.p_value->p_value = in btapp_gattc_req_data()
334 memcpy(p_dest_data->read.p_value->p_value, in btapp_gattc_req_data()
341 p_dest_data->read.p_value = NULL; in btapp_gattc_req_data()
Dbtif_dm.c819 tBTA_DM_SEARCH *p_dest_data = (tBTA_DM_SEARCH *) p_dest; in search_devices_copy_cb() local
826 maybe_non_aligned_memcpy(p_dest_data, p_src_data, sizeof(*p_src_data)); in search_devices_copy_cb()
833 p_dest_data->inq_res.p_eir = (UINT8 *)(p_dest + sizeof(tBTA_DM_SEARCH)); in search_devices_copy_cb()
834 … memcpy(p_dest_data->inq_res.p_eir, p_src_data->inq_res.p_eir, HCI_EXT_INQ_RESPONSE_LEN); in search_devices_copy_cb()
843 p_dest_data->disc_res.p_raw_data = (UINT8 *)(p_dest + sizeof(tBTA_DM_SEARCH)); in search_devices_copy_cb()
844 memcpy(p_dest_data->disc_res.p_raw_data, in search_devices_copy_cb()
854 tBTA_DM_SEARCH *p_dest_data = (tBTA_DM_SEARCH *) p_dest; in search_services_copy_cb() local
859 maybe_non_aligned_memcpy(p_dest_data, p_src_data, sizeof(*p_src_data)); in search_services_copy_cb()
868 p_dest_data->disc_res.p_uuid_list = in search_services_copy_cb()
870 memcpy(p_dest_data->disc_res.p_uuid_list, p_src_data->disc_res.p_uuid_list, in search_services_copy_cb()