Lines Matching refs:p_sattr

248   tSDP_DISC_ATTR *p_attr, *p_sattr, *p_extra_sattr;  in SDP_FindServiceUUIDInRec()  local
255 for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr; in SDP_FindServiceUUIDInRec()
256 p_sattr = p_sattr->p_next_attr) { in SDP_FindServiceUUIDInRec()
257 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UUID_DESC_TYPE) { in SDP_FindServiceUUIDInRec()
258 if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == Uuid::kNumBytes16) { in SDP_FindServiceUUIDInRec()
259 *p_uuid = Uuid::From16Bit(p_sattr->attr_value.v.u16); in SDP_FindServiceUUIDInRec()
260 } else if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == in SDP_FindServiceUUIDInRec()
262 *p_uuid = Uuid::From128BitBE(p_sattr->attr_value.v.array); in SDP_FindServiceUUIDInRec()
263 } else if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == in SDP_FindServiceUUIDInRec()
265 *p_uuid = Uuid::From32Bit(p_sattr->attr_value.v.u32); in SDP_FindServiceUUIDInRec()
276 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == in SDP_FindServiceUUIDInRec()
279 for (p_extra_sattr = p_sattr->attr_value.v.p_sub_attr; in SDP_FindServiceUUIDInRec()
325 tSDP_DISC_ATTR* p_sattr = p_attr->attr_value.v.p_sub_attr; in SDP_FindServiceUUIDInRec_128bit() local
326 while (p_sattr) { in SDP_FindServiceUUIDInRec_128bit()
327 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UUID_DESC_TYPE) { in SDP_FindServiceUUIDInRec_128bit()
329 if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == 16) { in SDP_FindServiceUUIDInRec_128bit()
330 *p_uuid = Uuid::From128BitBE(p_sattr->attr_value.v.array); in SDP_FindServiceUUIDInRec_128bit()
335 p_sattr = p_sattr->p_next_attr; in SDP_FindServiceUUIDInRec_128bit()
367 tSDP_DISC_ATTR *p_attr, *p_sattr, *p_extra_sattr; in SDP_FindServiceInDb() local
383 for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr; in SDP_FindServiceInDb()
384 p_sattr = p_sattr->p_next_attr) { in SDP_FindServiceInDb()
385 if ((SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UUID_DESC_TYPE) && in SDP_FindServiceInDb()
386 (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == 2)) { in SDP_FindServiceInDb()
389 p_sattr->attr_value.v.u16, service_uuid); in SDP_FindServiceInDb()
391 if ((p_sattr->attr_value.v.u16 == UUID_SERVCLASS_HDP_SOURCE) || in SDP_FindServiceInDb()
392 (p_sattr->attr_value.v.u16 == UUID_SERVCLASS_HDP_SINK)) { in SDP_FindServiceInDb()
400 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UUID_DESC_TYPE && in SDP_FindServiceInDb()
402 (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == 2 && in SDP_FindServiceInDb()
403 p_sattr->attr_value.v.u16 == service_uuid))) in SDP_FindServiceInDb()
414 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == in SDP_FindServiceInDb()
417 for (p_extra_sattr = p_sattr->attr_value.v.p_sub_attr; in SDP_FindServiceInDb()
469 tSDP_DISC_ATTR *p_attr, *p_sattr; in SDP_FindServiceInDb_128bit() local
485 for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr; in SDP_FindServiceInDb_128bit()
486 p_sattr = p_sattr->p_next_attr) { in SDP_FindServiceInDb_128bit()
487 if ((SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UUID_DESC_TYPE) && in SDP_FindServiceInDb_128bit()
488 (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == 16)) { in SDP_FindServiceInDb_128bit()
528 tSDP_DISC_ATTR *p_attr, *p_sattr; in SDP_FindServiceUUIDInDb() local
544 for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr; in SDP_FindServiceUUIDInDb()
545 p_sattr = p_sattr->p_next_attr) { in SDP_FindServiceUUIDInDb()
546 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UUID_DESC_TYPE) { in SDP_FindServiceUUIDInDb()
547 if (sdpu_compare_uuid_with_attr(uuid, p_sattr)) return (p_rec); in SDP_FindServiceUUIDInDb()
578 tSDP_DISC_ATTR* p_sattr; in sdp_fill_proto_elem() local
588 for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr; in sdp_fill_proto_elem()
589 p_sattr = p_sattr->p_next_attr) { in sdp_fill_proto_elem()
593 if ((SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UUID_DESC_TYPE) && in sdp_fill_proto_elem()
594 (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == 2) && in sdp_fill_proto_elem()
595 (p_sattr->attr_value.v.u16 == layer_uuid)) { in sdp_fill_proto_elem()
601 for (p_sattr = p_sattr->p_next_attr; p_sattr; in sdp_fill_proto_elem()
602 p_sattr = p_sattr->p_next_attr) { in sdp_fill_proto_elem()
603 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) != UINT_DESC_TYPE) in sdp_fill_proto_elem()
606 if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == 2) in sdp_fill_proto_elem()
607 p_elem->params[p_elem->num_params++] = p_sattr->attr_value.v.u16; in sdp_fill_proto_elem()
609 p_elem->params[p_elem->num_params++] = p_sattr->attr_value.v.u8; in sdp_fill_proto_elem()
665 tSDP_DISC_ATTR *p_attr, *p_sattr; in SDP_FindProfileVersionInRec() local
681 for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr; in SDP_FindProfileVersionInRec()
682 p_sattr = p_sattr->p_next_attr) { in SDP_FindProfileVersionInRec()
683 if ((SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UUID_DESC_TYPE) && in SDP_FindProfileVersionInRec()
684 (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == in SDP_FindProfileVersionInRec()
686 && (p_sattr->attr_value.v.u16 == profile_uuid)) { in SDP_FindProfileVersionInRec()
690 p_sattr = p_sattr->p_next_attr; in SDP_FindProfileVersionInRec()
692 if ((SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == in SDP_FindProfileVersionInRec()
694 (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == 2)) { in SDP_FindProfileVersionInRec()
697 *p_version = p_sattr->attr_value.v.u16; in SDP_FindProfileVersionInRec()