Home
last modified time | relevance | path

Searched refs:gr (Results 1 – 25 of 66) sorted by relevance

123

/dragonfly/lib/libutil/
H A Dgr_util.c172 sgr = gr; in gr_copy()
173 if (gr == NULL) { in gr_copy()
406 gr->gr_passwd, (uintmax_t)gr->gr_gid) + 1; in gr_make()
417 p += sprintf(p, group_line_format, gr->gr_name, gr->gr_passwd, in gr_make()
535 if (gr == NULL) in grmemlen()
538 len = sizeof(*gr); in grmemlen()
591 gr->gr_mem = NULL; in __gr_scan()
594 gr->gr_mem = reallocf(gr->gr_mem, sizeof(*gr->gr_mem) * in __gr_scan()
602 } while (gr->gr_mem[ndx] != NULL && *gr->gr_mem[ndx] == '\0'); in __gr_scan()
614 struct group gr; in gr_scan() local
[all …]
/dragonfly/contrib/file/magic/Magdir/
H A Dgrace4 # ACE/gr and Grace type files - PLEASE DO NOT REMOVE THIS LINE
6 # ACE/gr binary
7 …0\000\0000\000\000\0000\000\000\0002\000\000\0000\000\000\0000\000\000\0003 old ACE/gr binary file
9 # ACE/gr ascii
10 0 string #\ xvgr\ parameter\ file ACE/gr ascii file
11 0 string #\ xmgr\ parameter\ file ACE/gr ascii file
12 0 string #\ ACE/gr\ parameter\ file ACE/gr ascii file
19 # ACE/gr fit description files
20 0 string #\ ACE/gr\ fit\ description\ ACE/gr fit description file
21 # end of ACE/gr and Grace type files - PLEASE DO NOT REMOVE THIS LINE
/dragonfly/usr.bin/id/
H A Did.c58 struct group *gr; in main() local
168 struct group *gr; in pretty() local
208 struct group *gr; in current() local
225 if ((gr = getgrgid(id))) in current()
229 if ((gr = getgrgid(eid))) in current()
239 if ((gr = getgrgid(id))) in current()
249 struct group *gr; in user() local
257 if ((gr = getgrgid(gid))) in user()
267 if ((gr = getgrgid(gid))) in user()
277 struct group *gr; in group() local
[all …]
/dragonfly/lib/libalias/
H A Dalias_pptp.c316 GreHdr *gr; in AliasHandlePptpGreOut() local
319 gr = (GreHdr *)((char *)pip + (pip->ip_hl << 2)); in AliasHandlePptpGreOut()
322 if ((ntohl(*((u_int32_t *)gr)) & PPTP_INIT_MASK) != PPTP_INIT_VALUE) in AliasHandlePptpGreOut()
325 link = FindPptpOutByPeerCallId(pip->ip_src, pip->ip_dst, gr->gh_call_id); in AliasHandlePptpGreOut()
344 GreHdr *gr; in AliasHandlePptpGreIn() local
347 gr = (GreHdr *)((char *)pip + (pip->ip_hl << 2)); in AliasHandlePptpGreIn()
350 if ((ntohl(*((u_int32_t *)gr)) & PPTP_INIT_MASK) != PPTP_INIT_VALUE) in AliasHandlePptpGreIn()
353 link = FindPptpInByPeerCallId(pip->ip_src, pip->ip_dst, gr->gh_call_id); in AliasHandlePptpGreIn()
358 gr->gh_call_id = GetOriginalPort(link); in AliasHandlePptpGreIn()
/dragonfly/contrib/gdb-7/gdb/stubs/
H A Dia64vms-stub.c259 union ia64_ireg gr[32]; member
1545 sel_regs.gr[1].v = regs.gp; in get_selected_regs()
1546 sel_regs.gr[4].v = regs.r4; in get_selected_regs()
1547 sel_regs.gr[5].v = regs.r5; in get_selected_regs()
1548 sel_regs.gr[6].v = regs.r6; in get_selected_regs()
1549 sel_regs.gr[7].v = regs.r7; in get_selected_regs()
1550 sel_regs.gr[12].v = regs.sp; in get_selected_regs()
2136 excp_regs.gr[0].v = 0; in read_all_registers()
2137 excp_regs.gr[1].v = intstk->intstk$q_gp; in read_all_registers()
2138 excp_regs.gr[2].v = intstk->intstk$q_r2; in read_all_registers()
[all …]
/dragonfly/libexec/mknetid/
H A Dmknetid.c104 struct group *gr; in main() local
167 while((gr = _getgrent()) != NULL) { in main()
168 while(*gr->gr_mem) { in main()
169 mstore(mtable, *gr->gr_mem, gr->gr_gid, 0); in main()
170 gr->gr_mem++; in main()
/dragonfly/lib/libc/gen/
H A Dpwcache.c328 struct group *gr; in group_from_gid() local
361 if ((gr = (*_pwcache_getgrgid)(gid)) == NULL) { in group_from_gid()
378 return (gr->gr_name); in group_from_gid()
380 strlcpy(ptr->name, gr->gr_name, GNMLEN); in group_from_gid()
459 struct group *gr; in gid_from_group() local
499 if ((gr = (*_pwcache_getgrnam)(name)) == NULL) in gid_from_group()
501 *gid = gr->gr_gid; in gid_from_group()
506 if ((gr = (*_pwcache_getgrnam)(name)) == NULL) { in gid_from_group()
511 *gid = ptr->gid = gr->gr_gid; in gid_from_group()
H A Dgetnetgrent.c126 struct netgrp *gr; member
158 if (grouphead.gr == NULL ||
208 nextgrp = grouphead.gr;
253 gp = grouphead.gr;
265 grouphead.gr = NULL;
452 grp->ng_next = grouphead.gr;
453 grouphead.gr = grp;
/dragonfly/libexec/revnetgroup/
H A Dparse_netgroup.c75 struct netgrp *gr; member
99 if (grouphead.gr == NULL || in __setnetgrent()
110 nextgrp = grouphead.gr; in __setnetgrent()
151 gp = grouphead.gr; in __endnetgrent()
163 grouphead.gr = NULL; in __endnetgrent()
211 grp->ng_next = grouphead.gr; in parse_netgrp()
212 grouphead.gr = grp; in parse_netgrp()
/dragonfly/usr.bin/getent/
H A Dgetent.c231 struct group *gr; in group() local
238 #define GROUPPRINT printfmtstrings(gr->gr_mem, ":", ",", "%s:%s:%u", \ in group()
239 gr->gr_name, gr->gr_passwd, gr->gr_gid) in group()
244 while ((gr = getgrent()) != NULL) in group()
249 gr = getgrgid((gid_t)id); in group()
251 gr = getgrnam(argv[i]); in group()
252 if (gr != NULL) in group()
/dragonfly/libexec/dma/
H A Ddma-mbox-create.c90 struct group *gr; in main() local
98 gr = getgrnam(DMA_GROUP); in main()
99 if (!gr) in main()
102 mail_gid = gr->gr_gid; in main()
/dragonfly/usr.sbin/lpr/chkprintcap/
H A Dchkprintcap.c279 struct group *gr; in make_spool_dir() local
287 gr = getgrnam("daemon"); in make_spool_dir()
288 if (gr == NULL) in make_spool_dir()
291 if (chown(sd, pp->daemon_user, gr->gr_gid) < 0) { in make_spool_dir()
294 (long)pp->daemon_user, (long)gr->gr_gid); in make_spool_dir()
/dragonfly/crypto/openssh/
H A Dgroupaccess.c54 struct group *gr; in ga_init() local
74 if ((gr = getgrgid(groups_bygid[i])) != NULL) in ga_init()
75 groups_byname[j++] = xstrdup(gr->gr_name); in ga_init()
/dragonfly/contrib/gcc-4.7/gcc/
H A Dtree-ssa-loop-prefetch.c1349 struct mem_ref_group *gr; in volume_of_references() local
1352 for (gr = refs; gr; gr = gr->next) in volume_of_references()
1353 for (ref = gr->refs; ref; ref = ref->next) in volume_of_references()
1507 struct mem_ref_group *gr; in determine_loop_nest_reuse() local
1561 for (gr = refs; gr; gr = gr->next) in determine_loop_nest_reuse()
1562 for (ref = gr->refs; ref; ref = ref->next) in determine_loop_nest_reuse()
1662 for (gr = refs; gr; gr = gr->next) in determine_loop_nest_reuse()
1663 for (ref = gr->refs; ref; ref = ref->next) in determine_loop_nest_reuse()
/dragonfly/contrib/gcc-8.0/gcc/
H A Dtree-ssa-loop-prefetch.c1420 struct mem_ref_group *gr; in volume_of_references() local
1423 for (gr = refs; gr; gr = gr->next) in volume_of_references()
1424 for (ref = gr->refs; ref; ref = ref->next) in volume_of_references()
1578 struct mem_ref_group *gr; in determine_loop_nest_reuse() local
1632 for (gr = refs; gr; gr = gr->next) in determine_loop_nest_reuse()
1633 for (ref = gr->refs; ref; ref = ref->next) in determine_loop_nest_reuse()
1736 for (gr = refs; gr; gr = gr->next) in determine_loop_nest_reuse()
1737 for (ref = gr->refs; ref; ref = ref->next) in determine_loop_nest_reuse()
/dragonfly/sbin/quotacheck/
H A Dquotacheck.c121 struct group *gr; in main() local
159 while ((gr = getgrent()) != NULL) in main()
160 addid((u_long)gr->gr_gid, GRPQUOTA, gr->gr_name); in main()
407 struct group *gr; in getquotagid() local
409 if ((gr = getgrnam(quotagroup)) != NULL) in getquotagid()
410 return (gr->gr_gid); in getquotagid()
/dragonfly/usr.bin/chpass/
H A Dfield.c122 struct group *gr; in p_gid() local
131 if (!(gr = getgrnam(p))) { in p_gid()
135 pw->pw_gid = gr->gr_gid; in p_gid()
/dragonfly/contrib/tcsh-6/nls/french/
H A Dset137 5 %S: commande intégrée au shell.\n
11 9 %S est intégré(e) au shell\n
/dragonfly/sbin/mount_ntfs/
H A Dmount_ntfs.c170 struct group *gr; in a_gid() local
174 if ((gr = getgrnam(s)) != NULL) in a_gid()
175 gid = gr->gr_gid; in a_gid()
/dragonfly/sbin/mount_hpfs/
H A Dmount_hpfs.c159 struct group *gr; in a_gid() local
163 if ((gr = getgrnam(s)) != NULL) in a_gid()
164 gid = gr->gr_gid; in a_gid()
/dragonfly/usr.sbin/chown/
H A Dchown.c225 struct group *gr; in a_gid() local
230 gid = ((gr = getgrnam(s)) != NULL) ? gr->gr_gid : id(s, "group"); in a_gid()
/dragonfly/usr.sbin/repquota/
H A Drepquota.c96 struct group *gr; in main() local
130 while ((gr = getgrent()) != NULL) in main()
131 addid((u_long)gr->gr_gid, GRPQUOTA, gr->gr_name); in main()
/dragonfly/usr.sbin/mtree/
H A Dspecspec.c51 struct group *gr; in shownode() local
60 gr = getgrgid(n->st_gid); in shownode()
61 if (gr == NULL) in shownode()
64 printf(" gname=%s", gr->gr_name); in shownode()
/dragonfly/sbin/mount_msdos/
H A Dmount_msdos.c220 struct group *gr; in a_gid() local
224 if ((gr = getgrnam(s)) != NULL) in a_gid()
225 gid = gr->gr_gid; in a_gid()
/dragonfly/usr.sbin/pw/
H A Dpw_vpw.c197 struct group * gr = NULL; in vnextgrent() local
276 gr = &grp; in vnextgrent()
281 return gr; in vnextgrent()

123