| /dflybsd-src/contrib/gdb-7/gdb/ |
| H A D | reggroups.c | 82 struct reggroups *groups = GDBARCH_OBSTACK_ZALLOC (gdbarch, in reggroups_init() local 85 groups->last = &groups->first; in reggroups_init() 86 return groups; in reggroups_init() 93 add_group (struct reggroups *groups, struct reggroup *group, in add_group() argument 99 (*groups->last) = el; in add_group() 100 groups->last = &el->next; in add_group() 106 struct reggroups *groups = gdbarch_data (gdbarch, reggroups_data); in reggroup_add() local 108 if (groups == NULL) in reggroup_add() 112 groups = reggroups_init (gdbarch); in reggroup_add() 113 deprecated_set_gdbarch_data (gdbarch, reggroups_data, groups); in reggroup_add() [all …]
|
| /dflybsd-src/contrib/cvs-1.12/diff/ |
| H A D | ifdef.c | 98 struct group groups[2]; local 100 groups[0].file = &files[0]; 101 groups[0].from = beg0; 102 groups[0].upto = end0; 103 groups[1].file = &files[1]; 104 groups[1].from = beg1; 105 groups[1].upto = end1; 106 format_group (1, format, '\0', groups); 116 format_group (doit, format, endchar, groups) in format_group() argument 120 struct group const *groups; [all …]
|
| /dflybsd-src/contrib/gcc-8.0/gcc/ |
| H A D | tree-ssa-loop-prefetch.c | 314 find_or_create_group (struct mem_ref_group **groups, tree base, tree step) in find_or_create_group() argument 321 for (; *groups; groups = &(*groups)->next) in find_or_create_group() 323 if (operand_equal_p ((*groups)->step, step, 0) in find_or_create_group() 324 && operand_equal_p ((*groups)->base, base, 0)) in find_or_create_group() 325 return *groups; in find_or_create_group() 329 if (cst_and_fits_in_hwi ((*groups)->step) && cst_and_fits_in_hwi (step) in find_or_create_group() 330 && int_cst_value ((*groups)->step) < int_cst_value (step)) in find_or_create_group() 339 group->next = *groups; in find_or_create_group() 340 *groups = group; in find_or_create_group() 403 release_mem_refs (struct mem_ref_group *groups) in release_mem_refs() argument [all …]
|
| /dflybsd-src/contrib/gcc-4.7/gcc/ |
| H A D | tree-ssa-loop-prefetch.c | 313 find_or_create_group (struct mem_ref_group **groups, tree base, tree step) in find_or_create_group() argument 317 for (; *groups; groups = &(*groups)->next) in find_or_create_group() 319 if (operand_equal_p ((*groups)->step, step, 0) in find_or_create_group() 320 && operand_equal_p ((*groups)->base, base, 0)) in find_or_create_group() 321 return *groups; in find_or_create_group() 325 if (cst_and_fits_in_hwi ((*groups)->step) && cst_and_fits_in_hwi (step) in find_or_create_group() 326 && int_cst_value ((*groups)->step) < int_cst_value (step)) in find_or_create_group() 334 group->next = *groups; in find_or_create_group() 335 *groups = group; in find_or_create_group() 388 release_mem_refs (struct mem_ref_group *groups) in release_mem_refs() argument [all …]
|
| /dflybsd-src/usr.sbin/nscd/ |
| H A D | cacheplcs.c | 363 TAILQ_INSERT_HEAD(&(lfu_policy->groups[CACHELIB_MAX_FREQUENCY - 1]), in cache_lfu_policy_add_item() 404 TAILQ_REMOVE(&(lfu_policy->groups[lfu_item->frequency]), lfu_item, in cache_lfu_policy_update_item() 407 TAILQ_INSERT_HEAD(&(lfu_policy->groups[index]), lfu_item, entries); in cache_lfu_policy_update_item() 423 TAILQ_REMOVE(&(lfu_policy->groups[lfu_item->frequency]), lfu_item, in cache_lfu_policy_remove_item() 439 if (!TAILQ_EMPTY(&(lfu_policy->groups[i]))) { in cache_lfu_policy_get_first_item() 440 lfu_item = TAILQ_FIRST(&(lfu_policy->groups[i])); in cache_lfu_policy_get_first_item() 459 if (!TAILQ_EMPTY(&(lfu_policy->groups[i]))) { in cache_lfu_policy_get_last_item() 460 lfu_item = TAILQ_LAST(&(lfu_policy->groups[i]), in cache_lfu_policy_get_last_item() 484 if (!TAILQ_EMPTY(&(lfu_policy->groups[i]))) { in cache_lfu_policy_get_next_item() 485 lfu_item = TAILQ_FIRST(&(lfu_policy->groups[i])); in cache_lfu_policy_get_next_item() [all …]
|
| /dflybsd-src/contrib/xz/src/liblzma/common/ |
| H A D | index.c | 122 index_tree groups; member 357 index_tree_init(&s->groups); in index_stream_init() 373 index_tree_end(&s->groups, allocator, &lzma_free); in index_stream_end() 466 const lzma_vli groups in lzma_index_memusage() local 471 const uint64_t groups_mem = groups * group_base; in lzma_index_memusage() 482 || groups > limit / group_base in lzma_index_memusage() 563 const index_group *g = (const index_group *)(s->groups.rightmost); in lzma_index_file_size() 650 index_group *g = (index_group *)(s->groups.rightmost); in lzma_index_append() 697 index_tree_append(&s->groups, &g->node); in lzma_index_append() 797 index_group *g = (index_group *)(s->groups.rightmost); in lzma_index_cat() [all …]
|
| /dflybsd-src/usr.bin/id/ |
| H A D | id.c | 211 gid_t groups[NGROUPS]; in current() local 232 if ((ngroups = getgroups(NGROUPS, groups))) { in current() 235 id = groups[cnt++]; in current() 252 gid_t gid, lastgid, groups[NGROUPS + 1]; in user() local 260 getgrouplist(pw->pw_name, gid, groups, &ngroups); in user() 263 if (lastgid == (gid = groups[cnt])) in user() 279 gid_t groups[NGROUPS + 1]; in group() local 284 getgrouplist(pw->pw_name, pw->pw_gid, groups, &ngroups); in group() 286 groups[0] = getgid(); in group() 287 ngroups = getgroups(NGROUPS, groups + 1) + 1; in group() [all …]
|
| H A D | Makefile | 6 LINKS= ${BINDIR}/id ${BINDIR}/groups 8 MAN= id.1 groups.1 whoami.1
|
| /dflybsd-src/libexec/mknetid/ |
| H A D | hash.c | 119 return(cur->groups); in lookup() 150 tmp->next = cur->groups; in mstore() 151 cur->groups = tmp; in mstore() 161 new->groups = tmp; in mstore() 163 new->groups = (struct grouplist *)&dummy; in mstore()
|
| /dflybsd-src/lib/libc/gen/ |
| H A D | initgroups.c | 46 gid_t groups[NGROUPS + 1]; in initgroups() local 49 getgrouplist(uname, agroup, groups, &ngroups); in initgroups() 50 return (setgroups(ngroups, groups)); in initgroups()
|
| H A D | getgrouplist.c | 46 getgrouplist(const char *uname, gid_t agroup, gid_t *groups, int *grpcnt) in getgrouplist() argument 48 return __getgroupmembership(uname, agroup, groups, *grpcnt, grpcnt); in getgrouplist()
|
| /dflybsd-src/usr.sbin/pw/ |
| H A D | pw_conf.c | 228 extendarray(&config.groups, &config.numgroups, 200); in read_userconfig() 229 memset(config.groups, 0, config.numgroups * sizeof(char *)); in read_userconfig() 327 if (extendarray(&config.groups, &config.numgroups, i + 2) != -1) in read_userconfig() 328 config.groups[i++] = newstr(q); in read_userconfig() 332 config.groups[i++] = NULL; in read_userconfig() 451 extendarray(&config.groups, &config.numgroups, 200); in write_userconfig() 452 for (j = k = 0; j < config.numgroups && config.groups[j] != NULL; j++) { in write_userconfig() 454 int l = snprintf(lbuf, sizeof lbuf, "%s\"%s\"", k ? "," : "", config.groups[j]); in write_userconfig()
|
| H A D | edgroup.c | 56 editgroups(char *name, char **groups) in editgroups() argument 158 if (groups == NULL || isingroup(grp.gr_name, groups) == -1) { /* Delete */ in editgroups() 170 if (groups == NULL && mems[0] == NULL && strcmp(name, grp.gr_name) == 0) { in editgroups()
|
| /dflybsd-src/usr.sbin/chown/ |
| H A D | chown.c | 266 gid_t *groups; in chownerr() local 279 if ((groups = malloc(sizeof(gid_t) * ngroups_max)) == NULL) in chownerr() 281 ngroups = getgroups(ngroups_max, groups); in chownerr() 282 while (--ngroups >= 0 && gid != groups[ngroups]); in chownerr() 283 free(groups); in chownerr()
|
| /dflybsd-src/crypto/libressl/ssl/ |
| H A D | t1_lib.c | 540 const int *groups, size_t ngroups) in tls1_set_groups() argument 549 if (!tls1_ec_nid2group_id(groups[i], &group_ids[i])) { in tls1_set_groups() 564 const char *groups) in tls1_set_group_list() argument 571 if ((gs = strdup(groups)) == NULL) in tls1_set_group_list() 613 const uint16_t *groups; in tls1_check_group() local 616 tls1_get_group_list(s, 0, &groups, &groupslen); in tls1_check_group() 619 if (!ssl_security_supported_group(s, groups[i])) in tls1_check_group() 621 if (groups[i] == group_id) in tls1_check_group() 673 const uint16_t *groups; in tls1_check_ec_key() local 693 tls1_get_group_list(s, 1, &groups, &groupslen); in tls1_check_ec_key() [all …]
|
| /dflybsd-src/include/rpcsvc/ |
| H A D | mount.x | 121 typedef struct groupnode *groups; typedef 124 groups gr_next; 133 groups ex_groups;
|
| /dflybsd-src/lib/libc/rpc/ |
| H A D | svc_auth_des.c | 449 short groups[NGROUPS]; /* cached groups */ member 460 int *grouplen, gid_t *groups) in authdes_getucred() argument 485 &i_grouplen, groups)) in authdes_getucred() 496 cred->groups[i] = groups[i]; /* int to short */ in authdes_getucred() 513 groups[i] = cred->groups[i]; /* short to int */ in authdes_getucred()
|
| H A D | netnamer.c | 151 _getgroups(char *uname, gid_t *groups) in _getgroups() argument 173 if (groups[j] == grp->gr_gid) { in _getgroups() 178 groups[ngroups++] = grp->gr_gid; in _getgroups()
|
| /dflybsd-src/libexec/revnetgroup/ |
| H A D | hash.c | 189 tmp->next = cur->groups; in mstore() 190 cur->groups = tmp; in mstore() 200 new->groups = tmp; in mstore()
|
| /dflybsd-src/contrib/wpa_supplicant/src/p2p/ |
| H A D | p2p_group.c | 49 struct p2p_group *group, **groups; in p2p_group_init() local 55 groups = os_realloc_array(p2p->groups, p2p->num_groups + 1, in p2p_group_init() 57 if (groups == NULL) { in p2p_group_init() 61 groups[p2p->num_groups++] = group; in p2p_group_init() 62 p2p->groups = groups; in p2p_group_init() 109 if (p2p->groups[g] == group) { in p2p_group_deinit() 111 p2p->groups[g] = p2p->groups[g + 1]; in p2p_group_deinit() 1088 if (!group_callback(p2p->groups[i], user_data)) in p2p_loop_on_all_groups()
|
| /dflybsd-src/usr.sbin/jail/ |
| H A D | jail.c | 46 if (getgrouplist(username, pwd->pw_gid, groups, &ngroups) != 0) \ 58 gid_t groups[NGROUPS]; in main() local 147 if (setgroups(ngroups, groups) != 0) in main()
|
| /dflybsd-src/crypto/openssh/ |
| H A D | groupaccess.c | 85 ga_match(char * const *groups, int n) in ga_match() argument 91 if (match_pattern(groups_byname[i], groups[j])) in ga_match()
|
| /dflybsd-src/contrib/binutils-2.34/gas/config/ |
| H A D | obj-elf.c | 2411 static struct group_list groups; variable 2470 groups.num_group = 0; in elf_adjust_symtab() 2471 groups.head = NULL; in elf_adjust_symtab() 2472 groups.indexes = hash_new (); in elf_adjust_symtab() 2473 bfd_map_over_sections (stdoutput, build_group_lists, &groups); in elf_adjust_symtab() 2479 for (i = 0; i < groups.num_group; i++) in elf_adjust_symtab() 2481 const char *group_name = elf_group_name (groups.head[i]); in elf_adjust_symtab() 2488 for (s = groups.head[i]; s != NULL; s = elf_next_in_group (s)) in elf_adjust_symtab() 2492 if (s != groups.head[i]) in elf_adjust_symtab() 2512 elf_next_in_group (s) = groups.head[i]; in elf_adjust_symtab() [all …]
|
| /dflybsd-src/usr.sbin/lpr/lpc/ |
| H A D | lpc.c | 344 static gid_t groups[NGROUPS]; in ingroup() local 353 ngroups = getgroups(NGROUPS, groups); in ingroup() 359 if (gid == groups[i]) in ingroup()
|
| /dflybsd-src/contrib/tcsh-6/ |
| H A D | sh.exp.c | 144 GETGROUPS_T *groups; in sh_access() local 161 groups = xmalloc(n * sizeof(*groups)); in sh_access() 162 n = getgroups((int) n, groups); in sh_access() 164 if (groups[n] == statb.st_gid) { in sh_access() 168 xfree(groups); in sh_access()
|