/system/core/libprocessgroup/ |
H A D | processgroup.cpp | 45 size_t buf_len; member in struct:ctx 82 ctx->buf_len = 0; 92 memmove(ctx->buf, ctx->buf_ptr, ctx->buf_len); 95 ssize_t ret = read(ctx->fd, ctx->buf_ptr + ctx->buf_len, 96 sizeof(ctx->buf) - ctx->buf_len - 1); 103 ctx->buf_len += ret; 104 ctx->buf[ctx->buf_len] = 0; 107 assert(ctx->buf_len <= sizeof(ctx->buf)); 122 while ((eptr = (char *)memchr(ctx->buf_ptr, '\n', ctx->buf_len)) == NULL) { 143 ctx->buf_len [all...] |
/system/bt/stack/avrc/ |
H A D | avrc_pars_ct.c | 116 tAVRC_STS AVRC_ParsResponse (tAVRC_MSG *p_msg, tAVRC_RESPONSE *p_result, UINT8 *p_buf, UINT16 buf_len) argument 121 UNUSED(buf_len);
|
H A D | avrc_pars_tg.c | 42 UINT8 *p_buf, UINT16 buf_len) 133 for (xx=0; ((xx< p_result->set_app_val.num_val) && (buf_len > size_needed)); xx++) 289 tAVRC_STS AVRC_ParsCommand (tAVRC_MSG *p_msg, tAVRC_COMMAND *p_result, UINT8 *p_buf, UINT16 buf_len) argument 299 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
|
H A D | avrc_api.c | 383 UINT16 buf_len; local 459 buf_len = GKI_get_buf_size (p_rcb->p_rmsg) - sizeof(BT_HDR); 464 if ((p_rcb->p_rmsg->offset + p_pkt->len) > buf_len) 467 p_pkt->len = buf_len - p_rcb->p_rmsg->offset;
|
/system/bt/bta/hf_client/ |
H A D | bta_hf_client_at.h | 84 UINT16 buf_len; member in struct:queued_at_cmd
|
H A D | bta_hf_client_at.c | 113 static void bta_hf_client_queue_at(tBTA_HF_CLIENT_AT_CMD cmd, const char *buf, UINT16 buf_len) argument 122 new_cmd->buf_len = buf_len; 124 memcpy(new_cmd->buf, buf, buf_len); 175 static void bta_hf_client_send_at(tBTA_HF_CLIENT_AT_CMD cmd, char *buf, UINT16 buf_len) argument 184 APPL_TRACE_DEBUG("%s %.*s", __FUNCTION__, buf_len - 1, buf); 197 PORT_WriteData(bta_hf_client_cb.scb.conn_handle, buf, buf_len, &len); 204 bta_hf_client_queue_at(cmd, buf, buf_len); 217 bta_hf_client_send_at(cur->cmd, cur->buf, cur->buf_len);
|
/system/bt/stack/include/ |
H A D | avrc_api.h | 570 UINT8 *p_buf, UINT16 buf_len); 583 UINT8 *p_buf, UINT16 buf_len);
|
H A D | avdt_api.h | 944 extern UINT16 AVDT_SetMediaBuf(UINT8 handle, UINT8 *p_buf, UINT32 buf_len);
|
/system/bt/stack/gatt/ |
H A D | gatt_sr.c | 836 UINT16 s_hdl = 0, e_hdl = 0, buf_len; local 846 buf_len = (UINT16)(sizeof(BT_HDR) + p_tcb->payload_size + L2CAP_MIN_OFFSET); 848 if ((p_msg = (BT_HDR *)GKI_getbuf(buf_len)) == NULL) 856 memset(p_msg, 0, buf_len); 861 buf_len = p_tcb->payload_size - 2; 873 reason = gatt_build_find_info_rsp(p_rcb, p_msg, &buf_len, s_hdl, e_hdl); 981 buf_len, local 1019 buf_len = p_tcb->payload_size - 2; 1045 &buf_len, 1187 UINT16 buf_len local [all...] |
/system/bt/stack/avct/ |
H A D | avct_lcb_act.c | 58 UINT16 buf_len; local 136 buf_len = GKI_get_buf_size(p_lcb->p_rx_msg) - sizeof(BT_HDR); 143 if ((p_lcb->p_rx_msg->offset + p_buf->len) > buf_len)
|
/system/bt/stack/avdt/ |
H A D | avdt_msg.c | 1361 UINT16 buf_len; local 1421 buf_len = GKI_get_buf_size(p_ccb->p_rx_msg) - sizeof(BT_HDR); 1428 if ((p_ccb->p_rx_msg->offset + p_buf->len) > buf_len)
|
H A D | avdt_api.c | 1261 extern UINT16 AVDT_SetMediaBuf(UINT8 handle, UINT8 *p_buf, UINT32 buf_len) argument 1278 p_scb->media_buf_len = buf_len;
|