Lines Matching refs:size

67   int size;  member
169 add_group (long int *start, long int *size, gid_t **groupsp, long int limit, in add_group() argument
175 if (__glibc_unlikely (*start == *size)) in add_group()
181 if (limit > 0 && *size == limit) in add_group()
186 newsize = 2 * *size; in add_group()
188 newsize = MIN (limit, 2 * *size); in add_group()
194 *size = newsize; in add_group()
206 long int *size, gid_t **groupsp, long int limit, in check_and_add_group() argument
218 add_group (start, size, groupsp, limit, grp->gr_gid); in check_and_add_group()
229 gid_t group, long int *start, long int *size, in getgrent_next_nss() argument
241 long int mysize = limit <= 0 ? *size : limit; in getgrent_next_nss()
263 add_group (start, size, groupsp, limit, mygroups[i]); in getgrent_next_nss()
308 && check_and_add_group (user, group, start, size, in getgrent_next_nss()
351 check_and_add_group (user, group, start, size, groupsp, limit, &grpbuf); in getgrent_next_nss()
358 gid_t group, long int *start, long int *size, in internal_getgrent_r() argument
366 start, size, groupsp, limit, errnop); in internal_getgrent_r()
442 check_and_add_group (user, group, start, size, groupsp, in internal_getgrent_r()
470 start, size, groupsp, limit, errnop); in internal_getgrent_r()
474 check_and_add_group (user, group, start, size, groupsp, limit, &grpbuf); in internal_getgrent_r()
482 long int *size, gid_t **groupsp, long int limit, in _nss_compat_initgroups_dyn() argument
498 user, group, start, size, in _nss_compat_initgroups_dyn()
526 if (ent->blacklist.size == 0) in blacklist_store_name()
528 ent->blacklist.size = MAX (BLACKLIST_INITIAL_SIZE, 2 * namelen); in blacklist_store_name()
529 ent->blacklist.data = malloc (ent->blacklist.size); in blacklist_store_name()
541 if (ent->blacklist.current + namelen + 1 >= ent->blacklist.size) in blacklist_store_name()
543 ent->blacklist.size += MAX (BLACKLIST_INCREMENT, 2 * namelen); in blacklist_store_name()
544 tmp = realloc (ent->blacklist.data, ent->blacklist.size); in blacklist_store_name()
548 ent->blacklist.size = 0; in blacklist_store_name()