Home
last modified time | relevance | path

Searched refs:p_start (Results 1 – 18 of 18) sorted by relevance

/system/bt/stack/avrc/
Davrc_bld_ct.c43 UINT8 *p_data, *p_start; in avrc_bld_next_cmd() local
48 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_next_cmd()
49 p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_next_cmd()
54 p_pkt->len = (p_data - p_start); in avrc_bld_next_cmd()
76 UINT8 *p_data, *p_start; in avrc_bld_set_abs_volume_cmd() local
80 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_set_abs_volume_cmd()
81 p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_set_abs_volume_cmd()
85 p_pkt->len = (p_data - p_start); in avrc_bld_set_abs_volume_cmd()
101 UINT8 *p_data, *p_start; in avrc_bld_register_notifn() local
106 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_register_notifn()
[all …]
Davrc_bld_tg.c43 UINT8 *p_data, *p_start, *p_len, *p_count; in avrc_bld_get_capability_rsp() local
59 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_get_capability_rsp()
60 p_data = p_len = p_start + 2; /* pdu + rsvd */ in avrc_bld_get_capability_rsp()
74 p_data = p_start + p_pkt->len; in avrc_bld_get_capability_rsp()
102 p_pkt->len = (p_data - p_start); in avrc_bld_get_capability_rsp()
121 UINT8 *p_data, *p_start, *p_len, *p_num; in avrc_bld_list_app_settings_attr_rsp() local
127 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_list_app_settings_attr_rsp()
128 p_data = p_len = p_start + 2; /* pdu + rsvd */ in avrc_bld_list_app_settings_attr_rsp()
140 p_data = p_start + p_pkt->len; in avrc_bld_list_app_settings_attr_rsp()
154 p_pkt->len = (p_data - p_start); in avrc_bld_list_app_settings_attr_rsp()
[all …]
Davrc_api.c961 UINT8 *p_start = NULL; in AVRC_MsgReq() local
977 p_start = ((UINT8 *)(p_pkt + 1) + p_pkt->offset); in AVRC_MsgReq()
989 p_start = ((UINT8 *)(p_pkt + 1) + p_pkt->offset); in AVRC_MsgReq()
1017 if (p_start != NULL) { in AVRC_MsgReq()
1020 p_fcb->frag_pdu = *p_start; in AVRC_MsgReq()
1028 p_start -= AVRC_VENDOR_HDR_SIZE; in AVRC_MsgReq()
1029 memcpy (p_data, p_start, AVRC_MAX_CTRL_DATA_LEN); in AVRC_MsgReq()
/system/bt/stack/mcap/
Dmca_cact.c101 UINT8 *p, *p_start; in mca_ccb_snd_req() local
128 p = p_start = (UINT8*)(p_pkt + 1) + L2CAP_MIN_OFFSET; in mca_ccb_snd_req()
136 p_pkt->len = p - p_start; in mca_ccb_snd_req()
165 UINT8 *p, *p_start; in mca_ccb_snd_rsp() local
173 p = p_start = (UINT8*)(p_pkt + 1) + L2CAP_MIN_OFFSET; in mca_ccb_snd_rsp()
199 p_pkt->len = p - p_start; in mca_ccb_snd_rsp()
259 UINT8 *p, *p_start; in mca_ccb_hdl_req() local
409 p = p_start = (UINT8*)(p_buf + 1) + L2CAP_MIN_OFFSET; in mca_ccb_hdl_req()
420 p_buf->len = p - p_start; in mca_ccb_hdl_req()
/system/bt/stack/a2dp/
Da2d_sbc.c216 void A2D_ParsSbcMplHdr(UINT8 *p_src, BOOLEAN *p_frag, BOOLEAN *p_start, BOOLEAN *p_last, UINT8 *p_n… in A2D_ParsSbcMplHdr() argument
218 if(p_src && p_frag && p_start && p_last && p_num) in A2D_ParsSbcMplHdr()
221 *p_start= (*p_src & A2D_SBC_HDR_S_MSK) ? TRUE: FALSE; in A2D_ParsSbcMplHdr()
/system/bt/stack/sdp/
Dsdp_discovery.c122 UINT8 *p, *p_start, *p_param_len; in sdp_snd_service_search_req() local
128 p = p_start = (UINT8 *)(p_cmd + 1) + L2CAP_MIN_OFFSET; in sdp_snd_service_search_req()
166 p_cmd->len = (UINT16)(p - p_start); in sdp_snd_service_search_req()
399 UINT8 *p_start, *p_param_len; in process_service_attr_rsp() local
479 p = p_start = (UINT8 *)(p_msg + 1) + L2CAP_MIN_OFFSET; in process_service_attr_rsp()
515 p_msg->len = (UINT16)(p - p_start); in process_service_attr_rsp()
545 UINT8 *p, *p_start, *p_end, *p_param_len; in process_service_search_attr_rsp() local
613 p = p_start = (UINT8 *)(p_msg + 1) + L2CAP_MIN_OFFSET; in process_service_search_attr_rsp()
654 p_msg->len = p - p_start; in process_service_search_attr_rsp()
/system/bt/stack/avdt/
Davdt_msg.c1494 UINT8 *p_start; in avdt_msg_send_cmd() local
1499 p_start = p = (UINT8 *)(p_buf + 1) + p_buf->offset; in avdt_msg_send_cmd()
1505 p_buf->len = (UINT16) (p - p_start); in avdt_msg_send_cmd()
1555 UINT8 *p_start; in avdt_msg_send_rsp() local
1560 p_start = p = (UINT8 *)(p_buf + 1) + p_buf->offset; in avdt_msg_send_rsp()
1566 p_buf->len = (UINT16) (p - p_start); in avdt_msg_send_rsp()
1596 UINT8 *p_start; in avdt_msg_send_rej() local
1601 p_start = p = (UINT8 *)(p_buf + 1) + p_buf->offset; in avdt_msg_send_rej()
1624 p_buf->len = (UINT16) (p - p_start); in avdt_msg_send_rej()
1653 UINT8 *p_start; in avdt_msg_send_grej() local
[all …]
Davdt_scb_act.c250 UINT8 *p, *p_start; in avdt_scb_hdl_pkt_no_frag() local
260 p = p_start = (UINT8 *)(p_data->p_pkt + 1) + p_data->p_pkt->offset; in avdt_scb_hdl_pkt_no_frag()
283 offset = (UINT16) (p - p_start); in avdt_scb_hdl_pkt_no_frag()
289 pad_len = *(p_start + p_data->p_pkt->len); in avdt_scb_hdl_pkt_no_frag()
343 UINT8 *p_start = p; in avdt_scb_hdl_report() local
404 p_start += len; in avdt_scb_hdl_report()
405 return p_start; in avdt_scb_hdl_report()
/system/bt/stack/include/
Da2d_sbc.h206 BOOLEAN *p_start, BOOLEAN *p_last,
/system/bt/stack/rfcomm/
Drfc_ts_frames.c542 UINT8 *p_start = p_data; in rfc_parse_data() local
591 || !rfc_check_fcs (RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) in rfc_parse_data()
602 || !rfc_check_fcs (RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) in rfc_parse_data()
613 || !rfc_check_fcs (RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) in rfc_parse_data()
624 || !rfc_check_fcs (RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) in rfc_parse_data()
638 else if (!rfc_check_fcs (2, p_start, fcs)) in rfc_parse_data()
/system/extras/perfprofd/quipper/
Dperf_parser.cc461 uint64_t* p_start, in MapMmapEvent() argument
472 uint64_t start = *p_start; in MapMmapEvent()
522 *p_start = mapped_addr; in MapMmapEvent()
Dperf_parser.h183 uint64_t* p_start,
/system/bt/stack/smp/
Dsmp_keys.c128 UINT8 *p_start = NULL; in smp_encrypt_data() local
141 p_start = (UINT8 *)osi_calloc(SMP_ENCRYT_DATA_SIZE * 4); in smp_encrypt_data()
146 p = p_start; in smp_encrypt_data()
148 p_rev_data = p = p_start + SMP_ENCRYT_DATA_SIZE; /* start at byte 16 */ in smp_encrypt_data()
149 REVERSE_ARRAY_TO_STREAM (p, p_start, SMP_ENCRYT_DATA_SIZE); /* byte 16 to byte 31 */ in smp_encrypt_data()
155 smp_debug_print_nbyte_little_endian(p_start, (const UINT8 *)"Plain text", SMP_ENCRYT_DATA_SIZE); in smp_encrypt_data()
171 osi_free(p_start); in smp_encrypt_data()
/system/bt/btif/src/
Dbtif_sock_l2cap.c413 static void on_srv_l2cap_listen_started(tBTA_JV_L2CAP_START *p_start, uint32_t id) in on_srv_l2cap_listen_started() argument
420 if (p_start->status != BTA_JV_SUCCESS) { in on_srv_l2cap_listen_started()
421 APPL_TRACE_ERROR("Error starting l2cap_listen - status: 0x%04x", p_start->status); in on_srv_l2cap_listen_started()
425 sock->handle = p_start->handle; in on_srv_l2cap_listen_started()
Dbtif_sock_rfc.c470 static void on_srv_rfc_listen_started(tBTA_JV_RFCOMM_START *p_start, uint32_t id) { in on_srv_rfc_listen_started() argument
477 if (p_start->status == BTA_JV_SUCCESS) { in on_srv_rfc_listen_started()
478 slot->rfc_handle = p_start->handle; in on_srv_rfc_listen_started()
/system/bt/stack/bnep/
Dbnep_utils.c181 UINT8 *p, *p_start; in bnep_send_conn_req() local
187 p = p_start = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET; in bnep_send_conn_req()
220 p_buf->len = (UINT16)(p - p_start); in bnep_send_conn_req()
/system/bt/stack/gatt/
Dgatt_int.h596 extern BOOLEAN gatt_is_last_attribute(tGATT_SRV_LIST_INFO *p_list, tGATT_SRV_LIST_ELEM *p_start, tB…
Dgatt_utils.c437 BOOLEAN gatt_is_last_attribute(tGATT_SRV_LIST_INFO *p_list, tGATT_SRV_LIST_ELEM *p_start, tBT_UUID … in gatt_is_last_attribute() argument
439 tGATT_SRV_LIST_ELEM *p_srv= p_start->p_next; in gatt_is_last_attribute()