Home
last modified time | relevance | path

Searched refs:p_dst_data (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-latest/components/bt/esp_ble_mesh/btc/
Dbtc_ble_mesh_ble.c21 esp_ble_mesh_ble_cb_param_t *p_dst_data = (esp_ble_mesh_ble_cb_param_t *)p_dst; in btc_ble_mesh_ble_copy_req_data() local
24 if (!msg || !p_src_data || !p_dst_data) { in btc_ble_mesh_ble_copy_req_data()
32 p_dst_data->scan_ble_adv_pkt.length = p_src_data->scan_ble_adv_pkt.length; in btc_ble_mesh_ble_copy_req_data()
33 p_dst_data->scan_ble_adv_pkt.data = bt_mesh_calloc(p_src_data->scan_ble_adv_pkt.length); in btc_ble_mesh_ble_copy_req_data()
34 if (p_dst_data->scan_ble_adv_pkt.data) { in btc_ble_mesh_ble_copy_req_data()
35 memcpy(p_dst_data->scan_ble_adv_pkt.data, p_src_data->scan_ble_adv_pkt.data, in btc_ble_mesh_ble_copy_req_data()
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/hid/
Dbtc_hd.c96 tBTA_HD *p_dst_data = (tBTA_HD *)p_dst; in bte_hd_arg_deep_copy() local
103 p_dst_data->set_report.p_data = osi_malloc(p_src_data->set_report.len); in bte_hd_arg_deep_copy()
104 if (p_dst_data->set_report.p_data == NULL) { in bte_hd_arg_deep_copy()
108 memcpy(p_dst_data->set_report.p_data, src_data, p_src_data->set_report.len); in bte_hd_arg_deep_copy()
115 p_dst_data->intr_data.p_data = osi_malloc(p_src_data->intr_data.len); in bte_hd_arg_deep_copy()
116 if (p_dst_data->intr_data.p_data == NULL) { in bte_hd_arg_deep_copy()
120 memcpy(p_dst_data->intr_data.p_data, src_data, p_src_data->intr_data.len); in bte_hd_arg_deep_copy()
Dbtc_hh.c351 tBTA_HH *p_dst_data = (tBTA_HH *)p_dst; in bte_hh_arg_deep_copy() local
358p_dst_data->hs_data.rsp_data.p_rpt_data = osi_malloc(sizeof(BT_HDR) + src_hdr->offset + src_hdr->l… in bte_hh_arg_deep_copy()
359 if (p_dst_data->hs_data.rsp_data.p_rpt_data == NULL) { in bte_hh_arg_deep_copy()
361 p_dst_data->hs_data.status = ESP_HIDH_ERR_NO_RES; in bte_hh_arg_deep_copy()
364 …memcpy(p_dst_data->hs_data.rsp_data.p_rpt_data, src_hdr, sizeof(BT_HDR) + src_hdr->offset + src_hd… in bte_hh_arg_deep_copy()