Lines Matching refs:num_gids
40 int num_gids = 1; in getgrouplist_getgrset() local
63 if (num_gids + 1 > *grpcnt) { in getgrouplist_getgrset()
64 num_gids++; in getgrouplist_getgrset()
67 groups[num_gids++] = temp_gid; in getgrouplist_getgrset()
71 if (num_gids > *grpcnt) { in getgrouplist_getgrset()
74 *grpcnt = num_gids; in getgrouplist_getgrset()
97 int ret, ngrp_saved, num_gids; in getgrouplist_internals() local
136 num_gids = getgroups(0, NULL); in getgrouplist_internals()
137 if (num_gids == -1) { in getgrouplist_internals()
143 if (num_gids + 1 > *grpcnt) { in getgrouplist_internals()
144 *grpcnt = num_gids + 1; in getgrouplist_internals()