Home
last modified time | relevance | path

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

/system/bt/stack/l2cap/
Dl2c_fcr.cc356 BT_HDR* p_buf2 = (BT_HDR*)osi_malloc(buf_size); in l2c_fcr_clone_buf() local
358 p_buf2->offset = new_offset; in l2c_fcr_clone_buf()
359 p_buf2->len = no_of_bytes; in l2c_fcr_clone_buf()
360 memcpy(((uint8_t*)(p_buf2 + 1)) + p_buf2->offset, in l2c_fcr_clone_buf()
363 return (p_buf2); in l2c_fcr_clone_buf()
1207 BT_HDR* p_buf2; in process_i_frame() local
1213 p_buf2 = l2c_fcr_clone_buf(p_buf, p_buf->offset, p_buf->len); in process_i_frame()
1215 if (p_buf2) { in process_i_frame()
1217 p_buf = p_buf2; in process_i_frame()
1613 BT_HDR* p_buf2 = l2c_fcr_clone_buf(p_buf, p_buf->offset, p_buf->len); in retransmit_i_frames() local
[all …]
Dl2c_utils.cc848 BT_HDR *p_buf, *p_buf2; in l2cu_send_peer_disc_req() local
879 while ((p_buf2 = (BT_HDR*)fixed_queue_try_dequeue(p_ccb->xmit_hold_q)) != in l2cu_send_peer_disc_req()
881 l2cu_set_acl_hci_header(p_buf2, p_ccb); in l2cu_send_peer_disc_req()
882 l2c_link_check_send_pkts(p_ccb->p_lcb, p_ccb, p_buf2); in l2cu_send_peer_disc_req()
/system/bt/bta/av/
Dbta_av_aact.cc2185 BT_HDR* p_buf2 = (BT_HDR*)osi_malloc(BT_DEFAULT_BUFFER_SIZE); in bta_av_data_path() local
2186 p_buf2->offset = p_buf->offset; in bta_av_data_path()
2187 p_buf2->len = 0; in bta_av_data_path()
2188 p_buf2->layer_specific = 0; in bta_av_data_path()
2190 (uint8_t*)(p_buf2 + 1) + p_buf2->offset + p_buf2->len; in bta_av_data_path()
2192 p_buf2->len += fragment_len; in bta_av_data_path()
2193 extra_fragments.push_back(p_buf2); in bta_av_data_path()
2207 BT_HDR* p_buf2 = extra_fragments[i]; in bta_av_data_path() local
2208 AVDT_WriteReqOpt(p_scb->avdt_handle, p_buf2, timestamp, m_pt, opt); in bta_av_data_path()