Lines Matching refs:num_attributes
69 for (xx = 0; xx < p_rec->num_attributes; xx++, p_attr++) { in sdp_db_service_search()
83 if (xx == p_rec->num_attributes) break; in sdp_db_service_search()
174 for (xx = 0, p_at = &p_rec->attribute[0]; xx < p_rec->num_attributes; in sdp_db_find_attr_in_rec()
312 for (zz = 0; zz < p_rec->num_attributes; zz++) in SDP_DeleteRecord()
400 for (xx = 0; xx < p_rec->num_attributes; xx++, p_attr++) { in SDP_AddAttribute()
409 if (p_rec->num_attributes == SDP_MAX_REC_ATTR) return (false); in SDP_AddAttribute()
412 if (xx == p_rec->num_attributes) in SDP_AddAttribute()
413 p_attr = &p_rec->attribute[p_rec->num_attributes]; in SDP_AddAttribute()
416 for (yy = p_rec->num_attributes; yy > xx; yy--) in SDP_AddAttribute()
453 p_rec->num_attributes++; in SDP_AddAttribute()
776 …for (uint16_t attribute_index = 0; attribute_index < p_rec->num_attributes; attribute_index++, p_a… in SDP_DeleteAttribute()
782 for (uint16_t zz = 0; zz < p_rec->num_attributes; zz++) { in SDP_DeleteAttribute()
789 p_rec->num_attributes--; in SDP_DeleteAttribute()
791 for (uint16_t zz = attribute_index; zz < p_rec->num_attributes; zz++, p_attr++) { in SDP_DeleteAttribute()