Home
last modified time | relevance | path

Searched refs:p_end (Results 1 – 6 of 6) sorted by relevance

/system/core/libcutils/
Drecord_stream.c74 unsigned char *p_end) in getEndOfRecord() argument
79 if (p_end < p_begin + HEADER_SIZE) { in getEndOfRecord()
88 if (p_end < p_ret) { in getEndOfRecord()
/system/bt/stack/sdp/
Dsdp_discovery.c562 UINT8 *p, *p_start, *p_end, *p_param_len; in process_service_search_attr_rsp() local
718 p_end = &p_ccb->rsp_list[p_ccb->list_len]; in process_service_search_attr_rsp()
720 if ((p + seq_len) != p_end) in process_service_search_attr_rsp()
726 while (p < p_end) in process_service_search_attr_rsp()
870 UINT8 *p_end; in add_attr() local
913 p_end = p + attr_len; in add_attr()
920 return (p_end); in add_attr()
1006 p_end = p + attr_len; in add_attr()
1013 return (p_end); in add_attr()
1019 while (p < p_end) in add_attr()
Dsdp_db.c63 tSDP_RECORD *p_end = &sdp_cb.server_db.record[sdp_cb.server_db.num_records]; in sdp_db_service_search() local
73 for ( ; p_rec < p_end; p_rec++) in sdp_db_service_search()
121 UINT8 *p_end = p + seq_len; in find_uuid_in_seq() local
129 while (p < p_end) in find_uuid_in_seq()
164 tSDP_RECORD *p_end = &sdp_cb.server_db.record[sdp_cb.server_db.num_records]; in sdp_db_find_record() local
167 for (p_rec = &sdp_cb.server_db.record[0]; p_rec < p_end; p_rec++) in sdp_db_find_record()
/system/bt/stack/avdt/
Davdt_scb_act.c429 UINT8 *p_end; /* end of all packet */ in avdt_scb_hdl_pkt_frag() local
435 p_end = p + p_data->p_pkt->len; in avdt_scb_hdl_pkt_frag()
437 while(p < p_end) in avdt_scb_hdl_pkt_frag()
439 if (p_end - p < 4) /* length check. maximum length of AL header = 4 */ in avdt_scb_hdl_pkt_frag()
441 AVDT_TRACE_WARNING("p_end: 0x%x - p:0x%x < 4", p_end, p); in avdt_scb_hdl_pkt_frag()
459 al_len = (UINT16)(p_end - p); in avdt_scb_hdl_pkt_frag()
472 frag_len = (UINT16)(p_end - p); in avdt_scb_hdl_pkt_frag()
524 if (p + al_len < p_end) in avdt_scb_hdl_pkt_frag()
629 if(p < p_end) in avdt_scb_hdl_pkt_frag()
Davdt_api.c1305 UINT8 *p, *plen, *pm1, *p_end; in AVDT_SendReport() local
1378 p_end = p; in AVDT_SendReport()
1398 p_pkt->len = p_end - p; in AVDT_SendReport()
Davdt_msg.c583 UINT8 *p_end; in avdt_msg_prs_cfg() local
604 p_end = p + len; in avdt_msg_prs_cfg()
605 while ((p < p_end) && (err == 0)) in avdt_msg_prs_cfg()
608 if ((p_end - p) < AVDT_LEN_CFG_MIN) in avdt_msg_prs_cfg()