Lines Matching defs:p_attr
1691 tSDP_DISC_ATTR *p_attr;
1743 if ((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_SERVICE_NAME)) != NULL)
1745 if (SDP_DISC_ATTR_LEN(p_attr->attr_len_type) < BT_MAX_SERVICE_NAME_LEN)
1746 name_len = (UINT16)SDP_DISC_ATTR_LEN(p_attr->attr_len_type);
1749 memcpy(p_hdp_rec->srv_name, p_attr->attr_value.v.array, name_len);
1753 if ((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_SERVICE_DESCRIPTION)) != NULL)
1755 if (SDP_DISC_ATTR_LEN(p_attr->attr_len_type) < BT_MAX_SERVICE_NAME_LEN)
1756 name_len = (UINT16)SDP_DISC_ATTR_LEN(p_attr->attr_len_type);
1759 memcpy(p_hdp_rec->srv_desp, p_attr->attr_value.v.array, name_len);
1764 if ((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_PROVIDER_NAME)) != NULL)
1766 if (SDP_DISC_ATTR_LEN(p_attr->attr_len_type) < BT_MAX_SERVICE_NAME_LEN)
1767 name_len = (UINT16)SDP_DISC_ATTR_LEN(p_attr->attr_len_type);
1770 memcpy(p_hdp_rec->provider_name, p_attr->attr_value.v.array, name_len);
1773 if ((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_HDP_MCAP_SUP_PROC))!=NULL)
1775 p_hdp_rec->mcap_sup_proc = p_attr->attr_value.v.u8;
1783 if ((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_HDP_SUP_FEAT_LIST ))!=NULL)
1785 if (bta_hl_fill_sup_feature_list (p_attr, &sup_feature))