Lines Matching refs:p_attr
319 tSDP_ATTRIBUTE* p_attr; in process_service_attr_req() local
403 p_attr = sdp_db_find_attr_in_rec(p_rec, attr_seq.attr_entry[xx].start, in process_service_attr_req()
406 if (p_attr) { in process_service_attr_req()
413 p_ccb->cont_info.next_attr_start_id = p_attr->id; in process_service_attr_req()
417 attr_len = sdpu_get_attrib_entry_len(p_attr); in process_service_attr_req()
427 p_rsp = sdpu_build_partial_attrib_entry(p_rsp, p_attr, rem_len, in process_service_attr_req()
447 p_rsp, p_attr, (uint16_t)rem_len, &p_ccb->cont_info.attr_offset); in process_service_attr_req()
450 p_ccb->cont_info.next_attr_start_id = p_attr->id; in process_service_attr_req()
453 p_rsp = sdpu_build_attrib_entry(p_rsp, p_attr); in process_service_attr_req()
458 attr_seq.attr_entry[xx].start = p_attr->id + 1; in process_service_attr_req()
554 tSDP_ATTRIBUTE* p_attr; in process_service_search_attr_req() local
650 p_attr = sdp_db_find_attr_in_rec(p_rec, attr_seq.attr_entry[xx].start, in process_service_search_attr_req()
653 if (p_attr) { in process_service_search_attr_req()
655 uint16_t avrcp_version = sdpu_is_avrcp_profile_description_list(p_attr); in process_service_search_attr_req()
663 memcpy(&attr_sav, p_attr, sizeof(tSDP_ATTRIBUTE)); in process_service_search_attr_req()
665 p_attr = &attr_sav; in process_service_search_attr_req()
673 p_ccb->cont_info.next_attr_start_id = p_attr->id; in process_service_search_attr_req()
678 attr_len = sdpu_get_attrib_entry_len(p_attr); in process_service_search_attr_req()
689 p_rsp, p_attr, rem_len, &p_ccb->cont_info.attr_offset); in process_service_search_attr_req()
709 p_rsp, p_attr, (uint16_t)rem_len, &p_ccb->cont_info.attr_offset); in process_service_search_attr_req()
712 p_ccb->cont_info.next_attr_start_id = p_attr->id; in process_service_search_attr_req()
716 p_rsp = sdpu_build_attrib_entry(p_rsp, p_attr); in process_service_search_attr_req()
722 attr_seq.attr_entry[xx].start = p_attr->id + 1; in process_service_search_attr_req()