Lines Matching defs:index
67 static int sortentry(int index);
377 * This function sorts the final list of cfextra entries. If index = -1, the
378 * function is initialized. index = 0 doesn't get us anywhere because this
379 * sorts against index-1. Positive natural index values are compared and
387 sortentry(int index)
395 if (index == 0)
397 else if (index < 0) {
403 * Based on the index, this is the package object we're going to
407 ext = extlist[index];
411 if (strcmp(ept->path, extlist[index-1]->cf_ent.path) > 0) {
413 last = index-1;
418 upper = index; /* upper bound */
449 /* remove the entry at index */
450 (void) ar_delete(xspace, index);
453 return (1); /* Use this index again. */
471 for (j = index; j > i; j--)