Lines Matching refs:dups
230 int i, pos, dups = 0; in unique() local
243 dups++; in unique()
247 if (dups) in unique()
251 AA_BUG(dups < 0); in unique()
253 return dups; in unique()
268 int i, dups = 0; in aa_vec_unique() local
276 dups = unique(vec, n); in aa_vec_unique()
285 for (pos = i - 1 - dups; pos >= 0; pos--) { in aa_vec_unique()
291 dups++; in aa_vec_unique()
299 for (j = i - dups; j > pos; j--) in aa_vec_unique()
306 AA_BUG(dups < 0); in aa_vec_unique()
310 vec[n - dups] = NULL; in aa_vec_unique()
312 return dups; in aa_vec_unique()