Lines Matching refs:ngroups
272 int cnt, ngroups;
291 ngroups = ngroups_max;
292 getgrouplist(pw->pw_name, gid, groups, &ngroups);
295 ngroups = getgroups(ngroups_max, groups);
316 for (lastgid = -1, cnt = 0; cnt < ngroups; ++cnt) {
381 int cnt, id, lastid, ngroups;
391 ngroups = ngroups_max;
392 (void) getgrouplist(pw->pw_name, pw->pw_gid, groups, &ngroups);
394 ngroups = getgroups(ngroups_max, groups);
397 for (lastid = -1, cnt = 0; cnt < ngroups; ++cnt) {