Home
last modified time | relevance | path

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

123

/dragonfly/lib/libutil/
HDgr_util.c52 static struct group *grcopy(const struct group *gr, char *mem, const char *, int ndx);
164 gr_copy(int ffd, int tfd, const struct group *gr, struct group *old_gr) in gr_copy() argument
172 sgr = gr; in gr_copy()
173 if (gr == NULL) { in gr_copy()
178 } else if ((line = gr_make(gr)) == NULL) in gr_copy()
395 gr_make(const struct group *gr) in gr_make() argument
405 line_size = snprintf(NULL, 0, group_line_format, gr->gr_name, in gr_make()
406 gr->gr_passwd, (uintmax_t)gr->gr_gid) + 1; in gr_make()
407 if (gr->gr_mem != NULL) { in gr_make()
408 for (ndx = 0; gr->gr_mem[ndx] != NULL; ndx++) in gr_make()
[all …]
/dragonfly/contrib/file/magic/Magdir/
HDgrace4 # ACE/gr and Grace type files - PLEASE DO NOT REMOVE THIS LINE
6 # ACE/gr binary
7 …0\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/
HDid.c58 struct group *gr; in main() local
127 if (nflag && (gr = getgrgid(id))) in main()
128 printf("%s\n", gr->gr_name); in main()
168 struct group *gr; in pretty() local
195 if ((gr = getgrgid(rid))) in pretty()
196 printf("rgid\t%s\n", gr->gr_name); in pretty()
208 struct group *gr; in current() local
225 if ((gr = getgrgid(id))) in current()
226 printf("(%s)", gr->gr_name); in current()
229 if ((gr = getgrgid(eid))) in current()
[all …]
/dragonfly/lib/libalias/
HDalias_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/
HDia64vms-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()
1616 unsigned char *p = regs->gr[0].b; in handle_packet()
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()
[all …]
/dragonfly/libexec/mknetid/
HDmknetid.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/
HDpwcache.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()
HDgetnetgrent.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/
HDparse_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/
HDgetent.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/
HDdma-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/
HDchkprintcap.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/
HDgroupaccess.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-8.0/gcc/
HDtree-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/contrib/gcc-4.7/gcc/
HDtree-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/sbin/quotacheck/
HDquotacheck.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/
HDfield.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/
HDset137 5 %S: commande intégrée au shell.\n
11 9 %S est intégré(e) au shell\n
/dragonfly/sbin/mount_ntfs/
HDmount_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/
HDmount_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/
HDchown.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/
HDrepquota.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/
HDspecspec.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/
HDmount_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/
HDpw_vpw.c197 struct group * gr = NULL; in vnextgrent() local
276 gr = &grp; in vnextgrent()
281 return gr; in vnextgrent()

123