Searched refs:p_buf2 (Results 1 – 3 of 3) sorted by relevance
/system/bt/stack/l2cap/ |
D | l2c_fcr.cc | 358 BT_HDR* p_buf2 = (BT_HDR*)osi_malloc(buf_size); in l2c_fcr_clone_buf() local 360 p_buf2->offset = new_offset; in l2c_fcr_clone_buf() 361 p_buf2->len = no_of_bytes; in l2c_fcr_clone_buf() 362 memcpy(((uint8_t*)(p_buf2 + 1)) + p_buf2->offset, in l2c_fcr_clone_buf() 365 return (p_buf2); in l2c_fcr_clone_buf() 1230 BT_HDR* p_buf2; in process_i_frame() local 1236 p_buf2 = l2c_fcr_clone_buf(p_buf, p_buf->offset, p_buf->len); in process_i_frame() 1238 if (p_buf2) { in process_i_frame() 1240 p_buf = p_buf2; in process_i_frame() 1640 BT_HDR* p_buf2 = l2c_fcr_clone_buf(p_buf, p_buf->offset, p_buf->len); in retransmit_i_frames() local [all …]
|
D | l2c_utils.cc | 846 BT_HDR *p_buf, *p_buf2; in l2cu_send_peer_disc_req() local 877 while ((p_buf2 = (BT_HDR*)fixed_queue_try_dequeue(p_ccb->xmit_hold_q)) != in l2cu_send_peer_disc_req() 879 l2cu_set_acl_hci_header(p_buf2, p_ccb); in l2cu_send_peer_disc_req() 880 l2c_link_check_send_pkts(p_ccb->p_lcb, p_ccb, p_buf2); in l2cu_send_peer_disc_req()
|
/system/bt/bta/av/ |
D | bta_av_aact.cc | 2164 BT_HDR* p_buf2 = (BT_HDR*)osi_malloc(BT_DEFAULT_BUFFER_SIZE); in bta_av_data_path() local 2165 p_buf2->offset = p_buf->offset; in bta_av_data_path() 2166 p_buf2->len = 0; in bta_av_data_path() 2167 p_buf2->layer_specific = 0; in bta_av_data_path() 2169 (uint8_t*)(p_buf2 + 1) + p_buf2->offset + p_buf2->len; in bta_av_data_path() 2171 p_buf2->len += fragment_len; in bta_av_data_path() 2172 extra_fragments.push_back(p_buf2); in bta_av_data_path() 2186 BT_HDR* p_buf2 = extra_fragments[i]; in bta_av_data_path() local 2187 AVDT_WriteReqOpt(p_scb->avdt_handle, p_buf2, timestamp, m_pt, opt); in bta_av_data_path()
|