Lines Matching defs:ndx
53 static struct group *grcopy(const struct group *gr, char *mem, const char *, int ndx);
439 int ndx;
445 for (ndx = 0; gr->gr_mem[ndx] != NULL; ndx++)
446 line_size += strlen(gr->gr_mem[ndx]) + 1;
447 if (ndx > 0)
458 for (ndx = 0; gr->gr_mem[ndx] != NULL; ndx++) {
460 p = stpcpy(p, gr->gr_mem[ndx]);
520 grcopy(const struct group *gr, char *dst, const char *name, int ndx)
527 if (ndx != 0) {
529 dst += (ndx + 1) * sizeof(*newgr->gr_mem);
606 int ndx;
629 ndx = 0;
632 (ndx + 1));
638 gr->gr_mem[ndx] = strsep(&line, ",");
639 } while (gr->gr_mem[ndx] != NULL && *gr->gr_mem[ndx] == '\0');
640 } while (gr->gr_mem[ndx++] != NULL);