Lines Matching refs:p_attr

801   tSDP_DISC_ATTR* p_attr;  in add_attr()  local
840 p_attr = (tSDP_DISC_ATTR*)p_db->p_free_mem; in add_attr()
841 p_attr->attr_id = attr_id; in add_attr()
842 p_attr->attr_len_type = (uint16_t)attr_len | (attr_type << 12); in add_attr()
843 p_attr->p_next_attr = NULL; in add_attr()
867 p_attr, (uint8_t)(nest_level + 1)); in add_attr()
877 p_attr->attr_value.v.u8 = *p++; in add_attr()
880 BE_STREAM_TO_UINT16(p_attr->attr_value.v.u16, p); in add_attr()
883 BE_STREAM_TO_UINT32(p_attr->attr_value.v.u32, p); in add_attr()
886 BE_STREAM_TO_ARRAY(p, p_attr->attr_value.v.array, (int32_t)attr_len); in add_attr()
894 BE_STREAM_TO_UINT16(p_attr->attr_value.v.u16, p); in add_attr()
897 BE_STREAM_TO_UINT32(p_attr->attr_value.v.u32, p); in add_attr()
898 if (p_attr->attr_value.v.u32 < 0x10000) { in add_attr()
900 p_attr->attr_len_type = (uint16_t)attr_len | (attr_type << 12); in add_attr()
901 p_attr->attr_value.v.u16 = (uint16_t)p_attr->attr_value.v.u32; in add_attr()
908 p_attr->attr_len_type = in add_attr()
909 (p_attr->attr_len_type & ~SDP_DISC_ATTR_LEN_MASK) | 2; in add_attr()
911 BE_STREAM_TO_UINT16(p_attr->attr_value.v.u16, p); in add_attr()
914 p_attr->attr_len_type = in add_attr()
915 (p_attr->attr_len_type & ~SDP_DISC_ATTR_LEN_MASK) | 4; in add_attr()
916 BE_STREAM_TO_UINT32(p_attr->attr_value.v.u32, p); in add_attr()
920 BE_STREAM_TO_ARRAY(p, p_attr->attr_value.v.array, in add_attr()
950 p = add_attr(p, p_end, p_db, p_rec, 0, p_attr, in add_attr()
959 BE_STREAM_TO_ARRAY(p, p_attr->attr_value.v.array, (int32_t)attr_len); in add_attr()
965 p_attr->attr_value.v.u8 = *p++; in add_attr()
983 p_rec->p_first_attr = p_attr; in add_attr()
989 p_attr1->p_next_attr = p_attr; in add_attr()
993 p_parent_attr->attr_value.v.p_sub_attr = p_attr; in add_attr()
1003 p_attr1->p_next_attr = p_attr; in add_attr()