• Home
  • Raw
  • Download

Lines Matching refs:p_sattr

295   tSDP_DISC_ATTR *p_attr, *p_sattr, *p_extra_sattr;  in SDP_FindServiceUUIDInRec()  local
302 for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr; in SDP_FindServiceUUIDInRec()
303 p_sattr = p_sattr->p_next_attr) { in SDP_FindServiceUUIDInRec()
304 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UUID_DESC_TYPE) { in SDP_FindServiceUUIDInRec()
305 if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == Uuid::kNumBytes16) { in SDP_FindServiceUUIDInRec()
306 *p_uuid = Uuid::From16Bit(p_sattr->attr_value.v.u16); in SDP_FindServiceUUIDInRec()
307 } else if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == in SDP_FindServiceUUIDInRec()
309 *p_uuid = Uuid::From128BitBE(p_sattr->attr_value.v.array); in SDP_FindServiceUUIDInRec()
310 } else if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == in SDP_FindServiceUUIDInRec()
312 *p_uuid = Uuid::From32Bit(p_sattr->attr_value.v.u32); in SDP_FindServiceUUIDInRec()
323 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == in SDP_FindServiceUUIDInRec()
326 for (p_extra_sattr = p_sattr->attr_value.v.p_sub_attr; in SDP_FindServiceUUIDInRec()
372 tSDP_DISC_ATTR* p_sattr = p_attr->attr_value.v.p_sub_attr; in SDP_FindServiceUUIDInRec_128bit() local
373 while (p_sattr) { in SDP_FindServiceUUIDInRec_128bit()
374 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UUID_DESC_TYPE) { in SDP_FindServiceUUIDInRec_128bit()
376 if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == 16) { in SDP_FindServiceUUIDInRec_128bit()
377 *p_uuid = Uuid::From128BitBE(p_sattr->attr_value.v.array); in SDP_FindServiceUUIDInRec_128bit()
382 p_sattr = p_sattr->p_next_attr; in SDP_FindServiceUUIDInRec_128bit()
414 tSDP_DISC_ATTR *p_attr, *p_sattr, *p_extra_sattr; in SDP_FindServiceInDb() local
430 for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr; in SDP_FindServiceInDb()
431 p_sattr = p_sattr->p_next_attr) { in SDP_FindServiceInDb()
432 if ((SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UUID_DESC_TYPE) && in SDP_FindServiceInDb()
433 (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == 2)) { in SDP_FindServiceInDb()
436 p_sattr->attr_value.v.u16, service_uuid); in SDP_FindServiceInDb()
438 if ((p_sattr->attr_value.v.u16 == UUID_SERVCLASS_HDP_SOURCE) || in SDP_FindServiceInDb()
439 (p_sattr->attr_value.v.u16 == UUID_SERVCLASS_HDP_SINK)) { in SDP_FindServiceInDb()
447 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UUID_DESC_TYPE && in SDP_FindServiceInDb()
449 (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == 2 && in SDP_FindServiceInDb()
450 p_sattr->attr_value.v.u16 == service_uuid))) in SDP_FindServiceInDb()
461 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == in SDP_FindServiceInDb()
464 for (p_extra_sattr = p_sattr->attr_value.v.p_sub_attr; in SDP_FindServiceInDb()
516 tSDP_DISC_ATTR *p_attr, *p_sattr; in SDP_FindServiceInDb_128bit() local
532 for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr; in SDP_FindServiceInDb_128bit()
533 p_sattr = p_sattr->p_next_attr) { in SDP_FindServiceInDb_128bit()
534 if ((SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UUID_DESC_TYPE) && in SDP_FindServiceInDb_128bit()
535 (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == 16)) { in SDP_FindServiceInDb_128bit()
575 tSDP_DISC_ATTR *p_attr, *p_sattr; in SDP_FindServiceUUIDInDb() local
591 for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr; in SDP_FindServiceUUIDInDb()
592 p_sattr = p_sattr->p_next_attr) { in SDP_FindServiceUUIDInDb()
593 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UUID_DESC_TYPE) { in SDP_FindServiceUUIDInDb()
594 if (sdpu_compare_uuid_with_attr(uuid, p_sattr)) return (p_rec); in SDP_FindServiceUUIDInDb()
625 tSDP_DISC_ATTR* p_sattr; in sdp_fill_proto_elem() local
635 for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr; in sdp_fill_proto_elem()
636 p_sattr = p_sattr->p_next_attr) { in sdp_fill_proto_elem()
640 if ((SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UUID_DESC_TYPE) && in sdp_fill_proto_elem()
641 (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == 2) && in sdp_fill_proto_elem()
642 (p_sattr->attr_value.v.u16 == layer_uuid)) { in sdp_fill_proto_elem()
648 for (p_sattr = p_sattr->p_next_attr; p_sattr; in sdp_fill_proto_elem()
649 p_sattr = p_sattr->p_next_attr) { in sdp_fill_proto_elem()
650 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) != UINT_DESC_TYPE) in sdp_fill_proto_elem()
653 if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == 2) in sdp_fill_proto_elem()
654 p_elem->params[p_elem->num_params++] = p_sattr->attr_value.v.u16; in sdp_fill_proto_elem()
656 p_elem->params[p_elem->num_params++] = p_sattr->attr_value.v.u8; in sdp_fill_proto_elem()
709 tSDP_DISC_ATTR *p_attr, *p_sattr; in SDP_FindAddProtoListsElemInRec() local
717 for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr; in SDP_FindAddProtoListsElemInRec()
718 p_sattr = p_sattr->p_next_attr) { in SDP_FindAddProtoListsElemInRec()
720 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == in SDP_FindAddProtoListsElemInRec()
722 ret = sdp_fill_proto_elem(p_sattr, layer_uuid, p_elem); in SDP_FindAddProtoListsElemInRec()
750 tSDP_DISC_ATTR *p_attr, *p_sattr; in SDP_FindProfileVersionInRec() local
766 for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr; in SDP_FindProfileVersionInRec()
767 p_sattr = p_sattr->p_next_attr) { in SDP_FindProfileVersionInRec()
768 if ((SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UUID_DESC_TYPE) && in SDP_FindProfileVersionInRec()
769 (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == in SDP_FindProfileVersionInRec()
771 && (p_sattr->attr_value.v.u16 == profile_uuid)) { in SDP_FindProfileVersionInRec()
775 p_sattr = p_sattr->p_next_attr; in SDP_FindProfileVersionInRec()
777 if ((SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == in SDP_FindProfileVersionInRec()
779 (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == 2)) { in SDP_FindProfileVersionInRec()
782 *p_version = p_sattr->attr_value.v.u16; in SDP_FindProfileVersionInRec()