Home
last modified time | relevance | path

Searched refs:p_start (Results 1 – 15 of 15) 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.cc1133 uint8_t* p_start = NULL; in AVRC_MsgReq() local
1150 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset + AVRC_VENDOR_HDR_SIZE; in AVRC_MsgReq()
1153 p_start = ((uint8_t*)(p_pkt + 1) + p_pkt->offset); in AVRC_MsgReq()
1166 if ((*p_start == AVRC_PDU_REQUEST_CONTINUATION_RSP) || in AVRC_MsgReq()
1167 (*p_start == AVRC_PDU_ABORT_CONTINUATION_RSP)) { in AVRC_MsgReq()
1174 p_start = ((uint8_t*)(p_pkt + 1) + p_pkt->offset); in AVRC_MsgReq()
1221 if (p_start != NULL) { in AVRC_MsgReq()
1224 p_fcb->frag_pdu = *p_start; in AVRC_MsgReq()
1232 p_start -= AVRC_VENDOR_HDR_SIZE; in AVRC_MsgReq()
1233 memcpy(p_data, p_start, AVRC_MAX_CTRL_DATA_LEN); in AVRC_MsgReq()
/system/bt/stack/sdp/
Dsdp_discovery.cc122 uint8_t *p, *p_start, *p_param_len; in sdp_snd_service_search_req() local
128 p = p_start = (uint8_t*)(p_cmd + 1) + L2CAP_MIN_OFFSET; in sdp_snd_service_search_req()
162 p_cmd->len = (uint16_t)(p - p_start); in sdp_snd_service_search_req()
395 uint8_t *p_start, *p_param_len; in process_service_attr_rsp() local
458 p = p_start = (uint8_t*)(p_msg + 1) + L2CAP_MIN_OFFSET; in process_service_attr_rsp()
497 p_msg->len = (uint16_t)(p - p_start); in process_service_attr_rsp()
523 uint8_t *p, *p_start, *p_end, *p_param_len; in process_service_search_attr_rsp() local
577 p = p_start = (uint8_t*)(p_msg + 1) + L2CAP_MIN_OFFSET; in process_service_search_attr_rsp()
618 p_msg->len = p - p_start; in process_service_search_attr_rsp()
/system/bt/stack/avdt/
Davdt_msg.cc1339 uint8_t* p_start; in avdt_msg_send_cmd() local
1344 p_start = p = (uint8_t*)(p_buf + 1) + p_buf->offset; in avdt_msg_send_cmd()
1350 p_buf->len = (uint16_t)(p - p_start); in avdt_msg_send_cmd()
1395 uint8_t* p_start; in avdt_msg_send_rsp() local
1400 p_start = p = (uint8_t*)(p_buf + 1) + p_buf->offset; in avdt_msg_send_rsp()
1406 p_buf->len = (uint16_t)(p - p_start); in avdt_msg_send_rsp()
1435 uint8_t* p_start; in avdt_msg_send_rej() local
1440 p_start = p = (uint8_t*)(p_buf + 1) + p_buf->offset; in avdt_msg_send_rej()
1457 p_buf->len = (uint16_t)(p - p_start); in avdt_msg_send_rej()
1486 uint8_t* p_start; in avdt_msg_send_grej() local
[all …]
Davdt_scb_act.cc227 uint8_t *p, *p_start; in avdt_scb_hdl_pkt_no_frag() local
238 p = p_start = (uint8_t*)(p_data->p_pkt + 1) + p_data->p_pkt->offset; in avdt_scb_hdl_pkt_no_frag()
267 pad_len = *(p_start + p_data->p_pkt->len); in avdt_scb_hdl_pkt_no_frag()
310 uint8_t* p_start = p; in avdt_scb_hdl_report() local
419 p_start += len; in avdt_scb_hdl_report()
420 return p_start; in avdt_scb_hdl_report()
/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/memory/libmeminfo/
Dsysmeminfo.cpp226 char* p_start = strstr(line, "pages="); in ReadVmallocInfo() local
227 if (p_start == nullptr) { in ReadVmallocInfo()
233 if (sscanf(p_start, "pages=%" SCNu64 "", &nr_pages) == 1) { in ReadVmallocInfo()
/system/bt/stack/rfcomm/
Drfc_ts_frames.cc512 uint8_t* p_start = p_data; in rfc_parse_data() local
574 !rfc_check_fcs(RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { in rfc_parse_data()
583 !rfc_check_fcs(RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { in rfc_parse_data()
592 !rfc_check_fcs(RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { in rfc_parse_data()
601 !rfc_check_fcs(RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) { in rfc_parse_data()
611 } else if (!rfc_check_fcs(2, p_start, fcs)) { in rfc_parse_data()
/system/nfc/src/nfa/ee/
Dnfa_ee_act.cc425 uint8_t* p_start = pp; in nfa_ee_add_aid_route_to_ecb() local
452 uint8_t new_size = (uint8_t)(pp - p_start); in nfa_ee_add_aid_route_to_ecb()
461 memcpy(p, p_start, new_size); in nfa_ee_add_aid_route_to_ecb()
487 uint8_t* p_start = pp; in nfa_ee_add_sys_code_route_to_ecb() local
503 uint8_t new_size = (uint8_t)(pp - p_start); in nfa_ee_add_sys_code_route_to_ecb()
512 memcpy(p, p_start, new_size); in nfa_ee_add_sys_code_route_to_ecb()
1171 uint8_t *p, *p_start; in nfa_ee_api_add_aid() local
1230 p_start = p; in nfa_ee_api_add_aid()
1236 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.cc117 static void A2DP_ParseMplHeaderSbc(uint8_t* p_src, bool* p_frag, bool* p_start,
278 bool* p_start, bool* p_last, in A2DP_ParseMplHeaderSbc() argument
280 if (p_src && p_frag && p_start && p_last && p_num) { in A2DP_ParseMplHeaderSbc()
282 *p_start = (*p_src & A2DP_SBC_HDR_S_MSK) ? true : false; in A2DP_ParseMplHeaderSbc()
/system/bt/btif/src/
Dbtif_sock_l2cap.cc368 static void on_srv_l2cap_listen_started(tBTA_JV_L2CAP_START* p_start, in on_srv_l2cap_listen_started() argument
379 if (p_start->status != BTA_JV_SUCCESS) { in on_srv_l2cap_listen_started()
385 sock->handle = p_start->handle; in on_srv_l2cap_listen_started()
Dbtif_sock_rfc.cc478 static void on_srv_rfc_listen_started(tBTA_JV_RFCOMM_START* p_start, in on_srv_rfc_listen_started() argument
484 if (p_start->status == BTA_JV_SUCCESS) { in on_srv_rfc_listen_started()
485 slot->rfc_handle = p_start->handle; in on_srv_rfc_listen_started()
/system/bt/stack/bnep/
Dbnep_utils.cc168 uint8_t *p, *p_start; in bnep_send_conn_req() local
174 p = p_start = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in bnep_send_conn_req()
204 p_buf->len = (uint16_t)(p - p_start); in bnep_send_conn_req()
/system/nfc/src/nfc/nfc/
Dnfc_ncif.cc672 uint8_t len, *p_start, u8; in nfc_ncif_decode_rf_params() local
682 p_start = p; in nfc_ncif_decode_rf_params()
906 return (p_start + len); in nfc_ncif_decode_rf_params()