Lines Matching refs:p_end
54 static uint8_t* add_attr(uint8_t* p, uint8_t* p_end, tSDP_DISCOVERY_DB* p_db,
218 uint8_t* p_end = p + p_msg->len; in sdp_disc_server_rsp() local
233 process_service_search_rsp(p_ccb, p, p_end); in sdp_disc_server_rsp()
240 process_service_attr_rsp(p_ccb, p, p_end); in sdp_disc_server_rsp()
247 process_service_search_attr_rsp(p_ccb, p, p_end); in sdp_disc_server_rsp()
347 uint8_t* p_end; in sdp_copy_raw_data() local
354 p_end = &p_ccb->rsp_list[0] + list_len; in sdp_copy_raw_data()
360 p = sdpu_get_len_from_type(p, p_end, type, &list_len); in sdp_copy_raw_data()
361 if (p == NULL || (p + list_len) > p_end) { in sdp_copy_raw_data()
526 uint8_t *p, *p_start, *p_end, *p_param_len; in process_service_search_attr_rsp() local
665 p_end = &p_ccb->rsp_list[p_ccb->list_len]; in process_service_search_attr_rsp()
667 if ((p + seq_len) != p_end) { in process_service_search_attr_rsp()
672 while (p < p_end) { in process_service_search_attr_rsp()
798 static uint8_t* add_attr(uint8_t* p, uint8_t* p_end, tSDP_DISCOVERY_DB* p_db, in add_attr() argument
813 p = sdpu_get_len_from_type(p, p_end, type, &attr_len); in add_attr()
814 if (p == NULL || (p + attr_len) > p_end) { in add_attr()
828 if (p_attr_end > p_end) { in add_attr()
866 p = add_attr(p, p_end, p_db, p_rec, ATTR_ID_PROTOCOL_DESC_LIST, in add_attr()
950 p = add_attr(p, p_end, p_db, p_rec, 0, p_attr, in add_attr()