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.cc1106 uint8_t* p_start = NULL; in AVRC_MsgReq() local
1123 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset + AVRC_VENDOR_HDR_SIZE; in AVRC_MsgReq()
1126 p_start = ((uint8_t*)(p_pkt + 1) + p_pkt->offset); in AVRC_MsgReq()
1139 if ((*p_start == AVRC_PDU_REQUEST_CONTINUATION_RSP) || in AVRC_MsgReq()
1140 (*p_start == AVRC_PDU_ABORT_CONTINUATION_RSP)) { in AVRC_MsgReq()
1147 p_start = ((uint8_t*)(p_pkt + 1) + p_pkt->offset); in AVRC_MsgReq()
1194 if (p_start != NULL) { in AVRC_MsgReq()
1197 p_fcb->frag_pdu = *p_start; in AVRC_MsgReq()
1205 p_start -= AVRC_VENDOR_HDR_SIZE; in AVRC_MsgReq()
1206 memcpy(p_data, p_start, AVRC_MAX_CTRL_DATA_LEN); in AVRC_MsgReq()
/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.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.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/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.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/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.cc403 static void on_srv_l2cap_listen_started(tBTA_JV_L2CAP_START* p_start, in on_srv_l2cap_listen_started() argument
411 if (p_start->status != BTA_JV_SUCCESS) { in on_srv_l2cap_listen_started()
413 << loghex(p_start->status); in on_srv_l2cap_listen_started()
418 sock->handle = p_start->handle; in on_srv_l2cap_listen_started()
Dbtif_sock_rfc.cc495 static void on_srv_rfc_listen_started(tBTA_JV_RFCOMM_START* p_start, in on_srv_rfc_listen_started() argument
501 if (p_start->status == BTA_JV_SUCCESS) { in on_srv_rfc_listen_started()
502 slot->rfc_handle = p_start->handle; in on_srv_rfc_listen_started()
/system/nfc/src/nfa/ee/
Dnfa_ee_act.cc419 uint8_t* p_start = pp; in nfa_ee_add_aid_route_to_ecb() local
446 uint8_t new_size = (uint8_t)(pp - p_start); in nfa_ee_add_aid_route_to_ecb()
455 memcpy(p, p_start, new_size); in nfa_ee_add_aid_route_to_ecb()
481 uint8_t* p_start = pp; in nfa_ee_add_sys_code_route_to_ecb() local
497 uint8_t new_size = (uint8_t)(pp - p_start); in nfa_ee_add_sys_code_route_to_ecb()
506 memcpy(p, p_start, new_size); in nfa_ee_add_sys_code_route_to_ecb()
1165 uint8_t *p, *p_start; in nfa_ee_api_add_aid() local
1224 p_start = p; in nfa_ee_api_add_aid()
1230 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/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.cc667 uint8_t len, *p_start, u8; in nfc_ncif_decode_rf_params() local
676 p_start = p; in nfc_ncif_decode_rf_params()
812 return (p_start + len); in nfc_ncif_decode_rf_params()