Lines Matching refs:p_dest
48 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()
93 void btif_gatt_move_track_adv_data(btgatt_track_adv_info_t* p_dest, in btif_gatt_move_track_adv_data() argument
95 memset(p_dest, 0, sizeof(btgatt_track_adv_info_t)); in btif_gatt_move_track_adv_data()
97 memcpy(p_dest, p_src, sizeof(btgatt_track_adv_info_t)); 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()
101 memcpy(p_dest->p_adv_pkt_data, p_src->p_adv_pkt_data, p_src->adv_pkt_len); in btif_gatt_move_track_adv_data()
106 p_dest->p_scan_rsp_data = (uint8_t*)osi_malloc(p_src->scan_rsp_len); in btif_gatt_move_track_adv_data()
107 memcpy(p_dest->p_scan_rsp_data, p_src->p_scan_rsp_data, in btif_gatt_move_track_adv_data()