Lines Matching refs:dups
229 int i, pos, dups = 0; in unique() local
242 dups++; in unique()
246 if (dups) in unique()
250 AA_BUG(dups < 0); in unique()
252 return dups; in unique()
267 int i, dups = 0; in aa_vec_unique() local
275 dups = unique(vec, n); in aa_vec_unique()
284 for (pos = i - 1 - dups; pos >= 0; pos--) { in aa_vec_unique()
290 dups++; in aa_vec_unique()
298 for (j = i - dups; j > pos; j--) in aa_vec_unique()
305 AA_BUG(dups < 0); in aa_vec_unique()
309 vec[n - dups] = NULL; in aa_vec_unique()
311 return dups; in aa_vec_unique()