Home
last modified time | relevance | path

Searched refs:p_new_buf (Results 1 – 2 of 2) sorted by relevance

/system/bt/bta/pan/
Dbta_pan_act.cc185 BT_HDR* p_new_buf = (BT_HDR*)osi_malloc(PAN_BUF_SIZE); in bta_pan_data_buf_ind_cback() local
186 memcpy((uint8_t*)(p_new_buf + 1) + sizeof(tBTA_PAN_DATA_PARAMS), in bta_pan_data_buf_ind_cback()
188 p_new_buf->len = p_buf->len; in bta_pan_data_buf_ind_cback()
189 p_new_buf->offset = sizeof(tBTA_PAN_DATA_PARAMS); in bta_pan_data_buf_ind_cback()
192 ((tBTA_PAN_DATA_PARAMS*)p_new_buf)->src = src; in bta_pan_data_buf_ind_cback()
193 ((tBTA_PAN_DATA_PARAMS*)p_new_buf)->dst = dst; in bta_pan_data_buf_ind_cback()
194 ((tBTA_PAN_DATA_PARAMS*)p_new_buf)->protocol = protocol; in bta_pan_data_buf_ind_cback()
195 ((tBTA_PAN_DATA_PARAMS*)p_new_buf)->ext = ext; in bta_pan_data_buf_ind_cback()
196 ((tBTA_PAN_DATA_PARAMS*)p_new_buf)->forward = forward; in bta_pan_data_buf_ind_cback()
198 fixed_queue_enqueue(p_scb->data_queue, p_new_buf); in bta_pan_data_buf_ind_cback()
/system/bt/stack/rfcomm/
Drfc_ts_frames.cc448 BT_HDR* p_new_buf = in rfc_send_test() local
452 p_new_buf->offset = L2CAP_MIN_OFFSET + RFCOMM_MIN_OFFSET + 2; in rfc_send_test()
453 p_new_buf->len = p_buf->len; in rfc_send_test()
456 (uint8_t*)(p_new_buf + 1) + p_new_buf->offset + p_new_buf->len - 1; in rfc_send_test()
461 p_buf = p_new_buf; in rfc_send_test()