Lines Matching defs:ngrps
123 static size_t ngrps;
134 if (ngrps == grpsz) {
140 grps[ngrps].gr_name = xstrdup(grp->gr_name);
141 grps[ngrps].gr_passwd = xstrdup(grp->gr_passwd);
142 grps[ngrps].gr_gid = grp->gr_gid;
143 grps[ngrps].gr_mem = xstrdup("");
146 grps[ngrps].gr_mem = xmalloc(len);
148 len += sprintf(grps[ngrps].gr_mem + len,
150 grps[ngrps].gr_mem[len] = '\0';
151 ngrps++;
161 for (i = 0; i < ngrps; ++i)
173 for (i = 0; i < ngrps; ++i)
250 for (j = 0, grp = grps; j < ngrps; ++j, ++grp) {
305 for (i = 0, grp = grps; i < ngrps; ++i, ++grp) {