Home
last modified time | relevance | path

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

/system/bt/stack/avrc/
Davrc_bld_ct.cc40 uint8_t *p_data, *p_start; in avrc_bld_next_cmd() local
45 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in avrc_bld_next_cmd()
46 p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_next_cmd()
51 p_pkt->len = (p_data - p_start); in avrc_bld_next_cmd()
73 uint8_t *p_data, *p_start; in avrc_bld_set_abs_volume_cmd() local
77 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in avrc_bld_set_abs_volume_cmd()
78 p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_set_abs_volume_cmd()
82 p_pkt->len = (p_data - p_start); in avrc_bld_set_abs_volume_cmd()
98 uint8_t *p_data, *p_start; in avrc_bld_register_notifn() local
103 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in avrc_bld_register_notifn()
[all …]
Davrc_bld_tg.cc53 uint8_t *p_data, *p_start, *p_len, *p_count; in avrc_bld_get_capability_rsp() local
68 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in avrc_bld_get_capability_rsp()
69 p_data = p_len = p_start + 2; /* pdu + rsvd */ in avrc_bld_get_capability_rsp()
80 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_t *p_data, *p_start, *p_len, *p_num; in avrc_bld_list_app_settings_attr_rsp() local
127 p_start = (uint8_t*)(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()
137 p_data = p_start + p_pkt->len; in avrc_bld_list_app_settings_attr_rsp()
149 p_pkt->len = (p_data - p_start); in avrc_bld_list_app_settings_attr_rsp()
[all …]
Davrc_api.cc1105 uint8_t* p_start = NULL; in AVRC_MsgReq() local
1121 p_start = ((uint8_t*)(p_pkt + 1) + p_pkt->offset); in AVRC_MsgReq()
1134 if ((*p_start == AVRC_PDU_REQUEST_CONTINUATION_RSP) || in AVRC_MsgReq()
1135 (*p_start == AVRC_PDU_ABORT_CONTINUATION_RSP)) { in AVRC_MsgReq()
1141 p_start = ((uint8_t*)(p_pkt + 1) + p_pkt->offset); in AVRC_MsgReq()
1188 if (p_start != NULL) { in AVRC_MsgReq()
1191 p_fcb->frag_pdu = *p_start; in AVRC_MsgReq()
1199 p_start -= AVRC_VENDOR_HDR_SIZE; in AVRC_MsgReq()
1200 memcpy(p_data, p_start, AVRC_MAX_CTRL_DATA_LEN); in AVRC_MsgReq()
/system/bt/stack/mcap/
Dmca_cact.cc95 uint8_t *p, *p_start; in mca_ccb_snd_req() local
122 p = p_start = (uint8_t*)(p_pkt + 1) + L2CAP_MIN_OFFSET; in mca_ccb_snd_req()
130 p_pkt->len = p - p_start; in mca_ccb_snd_req()
155 uint8_t *p, *p_start; in mca_ccb_snd_rsp() local
162 p = p_start = (uint8_t*)(p_pkt + 1) + L2CAP_MIN_OFFSET; in mca_ccb_snd_rsp()
189 p_pkt->len = p - p_start; in mca_ccb_snd_rsp()
242 uint8_t *p, *p_start; in mca_ccb_hdl_req() local
377 p = p_start = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in mca_ccb_hdl_req()
408 p_buf->len = p - p_start; in mca_ccb_hdl_req()
/system/bt/stack/sdp/
Dsdp_discovery.cc120 uint8_t *p, *p_start, *p_param_len; in sdp_snd_service_search_req() local
126 p = p_start = (uint8_t*)(p_cmd + 1) + L2CAP_MIN_OFFSET; in sdp_snd_service_search_req()
165 p_cmd->len = (uint16_t)(p - p_start); in sdp_snd_service_search_req()
398 uint8_t *p_start, *p_param_len; in process_service_attr_rsp() local
461 p = p_start = (uint8_t*)(p_msg + 1) + L2CAP_MIN_OFFSET; in process_service_attr_rsp()
500 p_msg->len = (uint16_t)(p - p_start); in process_service_attr_rsp()
526 uint8_t *p, *p_start, *p_end, *p_param_len; in process_service_search_attr_rsp() local
580 p = p_start = (uint8_t*)(p_msg + 1) + L2CAP_MIN_OFFSET; in process_service_search_attr_rsp()
626 p_msg->len = p - p_start; in process_service_search_attr_rsp()
/system/bt/stack/avdt/
Davdt_msg.cc1327 uint8_t* p_start; in avdt_msg_send_cmd() local
1332 p_start = p = (uint8_t*)(p_buf + 1) + p_buf->offset; in avdt_msg_send_cmd()
1338 p_buf->len = (uint16_t)(p - p_start); in avdt_msg_send_cmd()
1383 uint8_t* p_start; in avdt_msg_send_rsp() local
1388 p_start = p = (uint8_t*)(p_buf + 1) + p_buf->offset; in avdt_msg_send_rsp()
1394 p_buf->len = (uint16_t)(p - p_start); in avdt_msg_send_rsp()
1423 uint8_t* p_start; in avdt_msg_send_rej() local
1428 p_start = p = (uint8_t*)(p_buf + 1) + p_buf->offset; in avdt_msg_send_rej()
1445 p_buf->len = (uint16_t)(p - p_start); in avdt_msg_send_rej()
1474 uint8_t* p_start; in avdt_msg_send_grej() local
[all …]
Davdt_scb_act.cc225 uint8_t *p, *p_start; in avdt_scb_hdl_pkt_no_frag() local
236 p = p_start = (uint8_t*)(p_data->p_pkt + 1) + p_data->p_pkt->offset; in avdt_scb_hdl_pkt_no_frag()
265 pad_len = *(p_start + p_data->p_pkt->len); in avdt_scb_hdl_pkt_no_frag()
308 uint8_t* p_start = p; in avdt_scb_hdl_report() local
417 p_start += len; in avdt_scb_hdl_report()
418 return p_start; in avdt_scb_hdl_report()
/system/core/libmeminfo/
Dsysmeminfo.cpp257 char* p_start = strstr(line, "pages="); in ReadVmallocInfo() local
258 if (p_start == nullptr) { in ReadVmallocInfo()
264 if (sscanf(p_start, "pages=%" SCNu64 "", &nr_pages) == 1) { in ReadVmallocInfo()
/system/nfc/src/nfc/nci/
Dnci_hmsgs.cc360 uint8_t *pp, *p_size, *p_start; in nci_snd_discover_cmd() local
377 p_start = pp; in nci_snd_discover_cmd()
383 *p_size = (uint8_t)(pp - p_start); in nci_snd_discover_cmd()
471 uint8_t *pp, *p_size, *p_start; in nci_snd_discover_map_cmd() local
489 p_start = pp; in nci_snd_discover_map_cmd()
496 *p_size = (uint8_t)(pp - p_start); in nci_snd_discover_map_cmd()
/system/bt/stack/rfcomm/
Drfc_ts_frames.cc511 uint8_t* p_start = p_data; in rfc_parse_data() local
573 !rfc_check_fcs(RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { in rfc_parse_data()
582 !rfc_check_fcs(RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { in rfc_parse_data()
591 !rfc_check_fcs(RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { in rfc_parse_data()
600 !rfc_check_fcs(RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { in rfc_parse_data()
610 } else if (!rfc_check_fcs(2, p_start, fcs)) { in rfc_parse_data()
/system/bt/btif/src/
Dbtif_sock_l2cap.cc396 static void on_srv_l2cap_listen_started(tBTA_JV_L2CAP_START* p_start, in on_srv_l2cap_listen_started() argument
404 if (p_start->status != BTA_JV_SUCCESS) { in on_srv_l2cap_listen_started()
406 << loghex(p_start->status); in on_srv_l2cap_listen_started()
411 sock->handle = p_start->handle; in on_srv_l2cap_listen_started()
Dbtif_sock_rfc.cc497 static void on_srv_rfc_listen_started(tBTA_JV_RFCOMM_START* p_start, in on_srv_rfc_listen_started() argument
503 if (p_start->status == BTA_JV_SUCCESS) { in on_srv_rfc_listen_started()
504 slot->rfc_handle = p_start->handle; in on_srv_rfc_listen_started()
/system/nfc/src/nfa/ee/
Dnfa_ee_act.cc418 uint8_t* p_start = pp; in nfa_ee_add_aid_route_to_ecb() local
445 uint8_t new_size = (uint8_t)(pp - p_start); in nfa_ee_add_aid_route_to_ecb()
454 memcpy(p, p_start, new_size); in nfa_ee_add_aid_route_to_ecb()
480 uint8_t* p_start = pp; in nfa_ee_add_sys_code_route_to_ecb() local
496 uint8_t new_size = (uint8_t)(pp - p_start); in nfa_ee_add_sys_code_route_to_ecb()
505 memcpy(p, p_start, new_size); in nfa_ee_add_sys_code_route_to_ecb()
1164 uint8_t *p, *p_start; in nfa_ee_api_add_aid() local
1223 p_start = p; in nfa_ee_api_add_aid()
1229 p_cb->aid_len[p_cb->aid_entries++] = (uint8_t)(p - p_start); in nfa_ee_api_add_aid()
/system/bt/stack/a2dp/
Da2dp_sbc.cc113 static void A2DP_ParseMplHeaderSbc(uint8_t* p_src, bool* p_frag, bool* p_start,
274 bool* p_start, bool* p_last, in A2DP_ParseMplHeaderSbc() argument
276 if (p_src && p_frag && p_start && p_last && p_num) { in A2DP_ParseMplHeaderSbc()
278 *p_start = (*p_src & A2DP_SBC_HDR_S_MSK) ? true : false; in A2DP_ParseMplHeaderSbc()
/system/bt/stack/bnep/
Dbnep_utils.cc169 uint8_t *p, *p_start; in bnep_send_conn_req() local
175 p = p_start = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in bnep_send_conn_req()
205 p_buf->len = (uint16_t)(p - p_start); in bnep_send_conn_req()
/system/nfc/src/nfc/nfc/
Dnfc_ncif.cc668 uint8_t len, *p_start, u8; in nfc_ncif_decode_rf_params() local
677 p_start = p; in nfc_ncif_decode_rf_params()
813 return (p_start + len); in nfc_ncif_decode_rf_params()