Home
last modified time | relevance | path

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

/system/bt/bta/pan/
Dbta_pan_act.c175 BT_HDR *p_new_buf; in bta_pan_data_buf_ind_cback() local
179 p_new_buf = (BT_HDR *)osi_malloc(PAN_BUF_SIZE); in bta_pan_data_buf_ind_cback()
180 memcpy((UINT8 *)(p_new_buf + 1) + sizeof(tBTA_PAN_DATA_PARAMS), in bta_pan_data_buf_ind_cback()
182 p_new_buf->len = p_buf->len; in bta_pan_data_buf_ind_cback()
183 p_new_buf->offset = sizeof(tBTA_PAN_DATA_PARAMS); in bta_pan_data_buf_ind_cback()
186 p_new_buf = p_buf; in bta_pan_data_buf_ind_cback()
189 bdcpy(((tBTA_PAN_DATA_PARAMS *)p_new_buf)->src, src); in bta_pan_data_buf_ind_cback()
190 bdcpy(((tBTA_PAN_DATA_PARAMS *)p_new_buf)->dst, dst); in bta_pan_data_buf_ind_cback()
191 ((tBTA_PAN_DATA_PARAMS *)p_new_buf)->protocol = protocol; in bta_pan_data_buf_ind_cback()
192 ((tBTA_PAN_DATA_PARAMS *)p_new_buf)->ext = ext; in bta_pan_data_buf_ind_cback()
[all …]
/system/bt/stack/rfcomm/
Drfc_ts_frames.c476 BT_HDR *p_new_buf = (BT_HDR *) osi_malloc(p_buf->len + (L2CAP_MIN_OFFSET + in rfc_send_test() local
479 p_new_buf->offset = L2CAP_MIN_OFFSET + RFCOMM_MIN_OFFSET + 2; in rfc_send_test()
480 p_new_buf->len = p_buf->len; in rfc_send_test()
482 UINT8 *p_dest = (UINT8 *) (p_new_buf + 1) + p_new_buf->offset + p_new_buf->len - 1; in rfc_send_test()
488 p_buf = p_new_buf; in rfc_send_test()
/system/bt/btif/src/
Dbtif_core.c953 char *p_new_buf, char *p_old_buf) in btif_in_storage_request_copy_cb() argument
955 btif_storage_req_t *new_req = (btif_storage_req_t*)p_new_buf; in btif_in_storage_request_copy_cb()
969 new_req->write_req.prop.val = (UINT8 *)(p_new_buf + sizeof(btif_storage_req_t)); in btif_in_storage_request_copy_cb()