Searched defs:p_buf (Results 1 - 25 of 135) sorted by relevance

123456

/external/bluetooth/bluedroid/bta/ag/
H A Dbta_ag_ci.c45 tBTA_AG_CI_RX_WRITE *p_buf; local
57 if ((p_buf = (tBTA_AG_CI_RX_WRITE *) GKI_getbuf((UINT16)(sizeof(tBTA_AG_CI_RX_WRITE) + len + 1))) != NULL)
59 p_buf->hdr.event = BTA_AG_CI_RX_WRITE_EVT;
60 p_buf->hdr.layer_specific = handle;
62 p_data_area = (char *)(p_buf+1); /* Point to data area after header */
66 bta_sys_sendmsg(p_buf);
90 tBTA_AG_DATA *p_buf; local
92 if ((p_buf = (tBTA_AG_DATA *)GKI_getbuf(sizeof(tBTA_AG_DATA))) != NULL)
94 p_buf->hdr.event = BTA_AG_CI_SLC_READY_EVT;
95 p_buf
[all...]
H A Dbta_ag_at.c188 void bta_ag_at_parse(tBTA_AG_AT_CB *p_cb, char *p_buf, UINT16 len) argument
204 if ((p_cb->cmd_pos == 0) && (p_buf[i] == 0))
210 p_cb->p_cmd_buf[p_cb->cmd_pos] = p_buf[i++];
H A Dbta_ag_api.c60 tBTA_AG_API_ENABLE *p_buf; local
76 if ((p_buf = (tBTA_AG_API_ENABLE *) GKI_getbuf(sizeof(tBTA_AG_API_ENABLE))) != NULL)
78 p_buf->hdr.event = BTA_AG_API_ENABLE_EVT;
79 p_buf->parse_mode = parse_mode;
80 p_buf->p_cback = p_cback;
81 bta_sys_sendmsg(p_buf);
100 BT_HDR *p_buf; local
102 if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL)
104 p_buf->event = BTA_AG_API_DISABLE_EVT;
105 bta_sys_sendmsg(p_buf);
122 tBTA_AG_API_REGISTER *p_buf; local
160 BT_HDR *p_buf; local
185 tBTA_AG_API_OPEN *p_buf; local
211 BT_HDR *p_buf; local
234 BT_HDR *p_buf; local
257 BT_HDR *p_buf; local
282 tBTA_AG_API_RESULT *p_buf; local
311 tBTA_AG_API_SETCODEC *p_buf; local
[all...]
/external/bluetooth/bluedroid/bta/mce/
H A Dbta_mce_api.c63 tBTA_MCE_API_ENABLE *p_buf; local
73 if (p_cback && (p_buf = (tBTA_MCE_API_ENABLE *) GKI_getbuf(sizeof(tBTA_MCE_API_ENABLE))) != NULL)
75 p_buf->hdr.event = BTA_MCE_API_ENABLE_EVT;
76 p_buf->p_cback = p_cback;
77 bta_sys_sendmsg(p_buf);
/external/bluetooth/bluedroid/bta/av/
H A Dbta_av_ci.c47 BT_HDR *p_buf; local
49 if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL)
51 p_buf->layer_specific = chnl;
52 p_buf->event = BTA_AV_CI_SRC_DATA_READY_EVT;
53 bta_sys_sendmsg(p_buf);
73 tBTA_AV_CI_SETCONFIG *p_buf; local
75 if ((p_buf = (tBTA_AV_CI_SETCONFIG *) GKI_getbuf(sizeof(tBTA_AV_CI_SETCONFIG))) != NULL)
77 p_buf->hdr.layer_specific = hndl;
78 p_buf->hdr.event = (err_code == AVDT_SUCCESS) ?
80 p_buf
[all...]
/external/bluetooth/bluedroid/bta/dm/
H A Dbta_dm_ci.c108 BT_HDR *p_buf; local
110 if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL)
112 p_buf->event = event;
113 p_buf->layer_specific = sco_handle;
115 bta_sys_sendmsg(p_buf);
/external/bluetooth/bluedroid/bta/hf_client/
H A Dbta_hf_client_rfc.c46 BT_HDR *p_buf; local
57 if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL)
59 p_buf->event = BTA_HF_CLIENT_RFC_DATA_EVT;
60 bta_sys_sendmsg(p_buf);
76 tBTA_HF_CLIENT_RFC *p_buf; local
112 if ((p_buf = (tBTA_HF_CLIENT_RFC *) GKI_getbuf(sizeof(tBTA_HF_CLIENT_RFC))) != NULL)
114 p_buf->hdr.event = event;
115 p_buf->port_handle = port_handle;
116 bta_sys_sendmsg(p_buf);
243 tBTA_HF_CLIENT_RFC *p_buf; local
[all...]
H A Dbta_hf_client_api.c61 tBTA_HF_CLIENT_API_ENABLE *p_buf; local
73 if ((p_buf = (tBTA_HF_CLIENT_API_ENABLE *) GKI_getbuf(sizeof(tBTA_HF_CLIENT_API_ENABLE))) != NULL)
75 p_buf->hdr.event = BTA_HF_CLIENT_API_ENABLE_EVT;
76 p_buf->p_cback = p_cback;
77 bta_sys_sendmsg(p_buf);
95 BT_HDR *p_buf; local
97 if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL)
99 p_buf->event = BTA_HF_CLIENT_API_DISABLE_EVT;
100 bta_sys_sendmsg(p_buf);
117 tBTA_HF_CLIENT_API_REGISTER *p_buf; local
149 BT_HDR *p_buf; local
174 tBTA_HF_CLIENT_API_OPEN *p_buf; local
199 BT_HDR *p_buf; local
222 BT_HDR *p_buf; local
245 BT_HDR *p_buf; local
267 tBTA_HF_CLIENT_DATA_VAL *p_buf; local
[all...]
/external/bluetooth/bluedroid/bta/pan/
H A Dbta_pan_api.c60 tBTA_PAN_API_ENABLE *p_buf; local
65 if ((p_buf = (tBTA_PAN_API_ENABLE *) GKI_getbuf(sizeof(tBTA_PAN_API_ENABLE))) != NULL)
67 p_buf->hdr.event = BTA_PAN_API_ENABLE_EVT;
68 p_buf->p_cback = p_cback;
70 bta_sys_sendmsg(p_buf);
88 BT_HDR *p_buf; local
91 if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL)
93 p_buf->event = BTA_PAN_API_DISABLE_EVT;
94 bta_sys_sendmsg(p_buf);
112 tBTA_PAN_API_SET_ROLE *p_buf; local
179 tBTA_PAN_API_OPEN *p_buf; local
204 BT_HDR *p_buf; local
[all...]
H A Dbta_pan_ci.c55 BT_HDR *p_buf; local
57 if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL)
59 p_buf->layer_specific = handle;
60 p_buf->event = BTA_PAN_CI_TX_READY_EVT;
61 bta_sys_sendmsg(p_buf);
80 BT_HDR *p_buf; local
82 if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL)
84 p_buf->layer_specific = handle;
85 p_buf->event = BTA_PAN_CI_RX_READY_EVT;
86 bta_sys_sendmsg(p_buf);
107 tBTA_PAN_CI_TX_FLOW *p_buf; local
133 BT_HDR * p_buf; local
173 bta_pan_ci_rx_writebuf(UINT16 handle, BD_ADDR dst, BD_ADDR src, UINT16 protocol, BT_HDR *p_buf, BOOLEAN ext) argument
205 BT_HDR * p_buf; local
277 bta_pan_ci_rx_writebuf(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT16 protocol, BT_HDR *p_buf, BOOLEAN ext) argument
[all...]
/external/bluetooth/bluedroid/stack/avrc/
H A Davrc_opt.c192 BT_HDR *p_buf = avrc_vendor_msg(p_msg); local
193 if (p_buf)
194 return AVCT_MsgReq( handle, label, AVCT_CMD, p_buf);
227 BT_HDR *p_buf = avrc_vendor_msg(p_msg); local
228 if (p_buf)
229 return AVCT_MsgReq( handle, label, AVCT_RSP, p_buf);
H A Davrc_pars_ct.c117 tAVRC_STS AVRC_ParsResponse (tAVRC_MSG *p_msg, tAVRC_RESPONSE *p_result, UINT8 *p_buf, UINT16 buf_len) argument
121 UNUSED(p_buf);
H A Davrc_pars_tg.c42 UINT8 *p_buf, UINT16 buf_len)
122 if (p_buf && (len == ((p_result->set_app_val.num_val<<1) + 1)))
124 p_result->set_app_val.p_vals = (tAVRC_APP_SETTING *)p_buf;
282 tAVRC_STS AVRC_ParsCommand (tAVRC_MSG *p_msg, tAVRC_COMMAND *p_result, UINT8 *p_buf, UINT16 buf_len) argument
292 status = avrc_pars_vendor_cmd(&p_msg->vendor, p_result, p_buf, buf_len);
41 avrc_pars_vendor_cmd(tAVRC_MSG_VENDOR *p_msg, tAVRC_COMMAND *p_result, UINT8 *p_buf, UINT16 buf_len) argument
/external/bluetooth/bluedroid/stack/smp/
H A Dsmp_l2c.c38 static void smp_data_ind (BD_ADDR bd_addr, BT_HDR *p_buf);
132 static void smp_data_ind (BD_ADDR bd_addr, BT_HDR *p_buf) argument
135 UINT8 *p = (UINT8 *)(p_buf + 1) + p_buf->offset;
147 GKI_freebuf (p_buf);
161 GKI_freebuf (p_buf);
177 p_cb->rcvd_cmd_len = (UINT8) p_buf->len;
181 GKI_freebuf (p_buf);
/external/chromium_org/mojo/public/cpp/bindings/tests/
H A Dbuffer_unittest.cc15 bool IsZero(void* p_buf, size_t size) { argument
16 char* buf = reinterpret_cast<char*>(p_buf);
/external/chromium_org/third_party/openmax_dl/dl/sp/src/mips/
H A Dmips_FFTFwd_RToCCS_F32_real.c22 OMX_FC32* p_buf = (OMX_FC32*)pFFTSpec->pBuf; local
54 OMX_FC32* p_tmp = p_buf + offset;
82 OMX_FC32* p_tmp = p_buf;
114 OMX_FC32* p_tmp = p_buf + offset;
149 tmp1 = p_buf[8].Re + p_buf[12].Re;
150 tmp2 = p_buf[8].Re - p_buf[12].Re;
151 tmp3 = p_buf[8].Im + p_buf[1
[all...]
H A Dmips_FFTFwd_RToCCS_F32_complex.c29 OMX_FC32* p_buf = (OMX_FC32*)pFFTSpec->pBuf; local
50 OMX_FC32* p_tmp = p_buf + offset;
83 OMX_FC32* p_tmp = p_buf + offset;
143 OMX_FC32* p_tmp = p_buf + offset;
204 tmp1 = p_buf[i].Re;
205 tmp2 = p_buf[i].Im;
206 tmp3 = p_buf[fft_size / 2 - i].Re;
207 tmp4 = p_buf[fft_size / 2 - i].Im;
214 tmp1 = p_buf[i + fft_size / 4].Re;
215 tmp2 = p_buf[
[all...]
/external/libnfc-nci/src/nfc/nfc/
H A Dnfc_utils.c167 void *p_buf; local
172 while ((p_buf = GKI_dequeue (&p_cb->rx_q)) != NULL)
173 GKI_freebuf (p_buf);
175 while ((p_buf = GKI_dequeue (&p_cb->tx_q)) != NULL)
176 GKI_freebuf (p_buf);
/external/libnfc-nci/src/static-lib-adapt/
H A DProtoDispBluetoothHci.c136 void ProtoDispBluetoothHciCmd (BT_HDR *p_buf) argument
140 UINT8 * p = (UINT8 *)(p_buf + 1) + p_buf->offset;
/external/bluetooth/bluedroid/hci/src/
H A Dutils.c95 void utils_enqueue (BUFFER_Q *p_q, void *p_buf) argument
99 p_hdr = (HC_BUFFER_HDR_T *) ((uint8_t *) p_buf - BT_HC_BUFFER_HDR_SIZE);
111 p_q->p_first = p_buf;
113 p_q->p_last = p_buf;
132 void* p_buf = utils_dequeue_unlocked(p_q); local
134 return p_buf;
183 void *utils_getnext (void *p_buf) argument
187 p_hdr = (HC_BUFFER_HDR_T *) ((uint8_t *) p_buf - BT_HC_BUFFER_HDR_SIZE);
204 void *utils_remove_from_queue (BUFFER_Q *p_q, void *p_buf) argument
207 p_buf
220 utils_remove_from_queue_unlocked(BUFFER_Q *p_q, void *p_buf) argument
[all...]
/external/bluetooth/bluedroid/stack/avct/
H A Davct_l2c.c46 void avct_l2c_data_ind_cback(UINT16 lcid, BT_HDR *p_buf);
420 void avct_l2c_data_ind_cback(UINT16 lcid, BT_HDR *p_buf) argument
428 avct_lcb_event(p_lcb, AVCT_LCB_LL_MSG_EVT, (tAVCT_LCB_EVT *) &p_buf);
433 GKI_freebuf(p_buf);
/external/bluetooth/bluedroid/stack/avdt/
H A Davdt_l2c.c46 void avdt_l2c_data_ind_cback(UINT16 lcid, BT_HDR *p_buf);
515 void avdt_l2c_data_ind_cback(UINT16 lcid, BT_HDR *p_buf) argument
522 avdt_ad_tc_data_ind(p_tbl, p_buf);
525 GKI_freebuf(p_buf);
/external/bluetooth/bluedroid/stack/l2cap/
H A Dl2c_csm.c1294 void l2c_enqueue_peer_data (tL2C_CCB *p_ccb, BT_HDR *p_buf) argument
1300 p_buf->event = 0;
1305 p_buf->event = p_ccb->local_cid;
1308 p_buf->offset -= L2CAP_PKT_OVERHEAD;
1309 p_buf->len += L2CAP_PKT_OVERHEAD;
1312 p = (UINT8 *)(p_buf + 1) + p_buf->offset;
1315 UINT16_TO_STREAM (p, p_buf->len - L2CAP_PKT_OVERHEAD);
1319 GKI_enqueue (&p_ccb->xmit_hold_q, p_buf);
/external/bluetooth/bluedroid/stack/rfcomm/
H A Drfc_l2cap_if.c46 static void RFCOMM_BufDataInd (UINT16 lcid, BT_HDR *p_buf);
303 void RFCOMM_BufDataInd (UINT16 lcid, BT_HDR *p_buf) argument
313 GKI_freebuf (p_buf);
317 event = rfc_parse_data (p_mcb, &rfc_cb.rfc.rx_frame, p_buf);
322 GKI_freebuf (p_buf);
331 rfc_process_mx_message (p_mcb, p_buf);
337 GKI_freebuf (p_buf);
351 GKI_freebuf (p_buf);
358 GKI_freebuf (p_buf);
367 if (p_buf
[all...]
H A Drfc_mx_fsm.c488 BT_HDR *p_buf; local
510 while ((p_buf = (BT_HDR *)GKI_dequeue(&p_mcb->cmd_q)) != NULL)
511 GKI_freebuf(p_buf);

Completed in 423 milliseconds

123456