Lines Matching defs:rem
203 int rem, i;
210 * We walk the list, with "i + rem + 1" the cursor for the possible
211 * candidate for removal. With "rem" we count the removed entries
214 for (i = 0, rem = 0; i < cbs->auth_cnt - rem - 1; ) {
215 if (strcmp(cbs->auths[i], cbs->auths[i + rem + 1]) == 0 ||
217 auth_match(cbs->auths[i], cbs->auths[i + rem + 1])) {
218 free(cbs->auths[i + rem + 1]);
219 rem++;
222 if (rem > 0)
223 cbs->auths[i] = cbs->auths[i + rem];
227 cbs->auth_cnt -= rem;