Home
last modified time | relevance | path

Searched refs:gr_name (Results 1 – 25 of 49) sorted by relevance

12

/external/toybox/toys/posix/
Did.c111 if (FLAG(g)) showone("", grp->gr_name, grp->gr_gid, 1); in do_id()
118 showone("", grp->gr_name, grp->gr_gid, 0); in do_id()
121 if ((grp=getgrgid(groups[i]))) showone(" ",grp->gr_name,grp->gr_gid,0); in do_id()
131 showid(" gid=", grp->gr_gid, grp->gr_name); in do_id()
140 showid(" egid=", grp->gr_gid, grp->gr_name); in do_id()
144 showid(" groups=", gid, grp->gr_name); in do_id()
147 if ((grp=getgrgid(groups[i]))) showid(",", grp->gr_gid, grp->gr_name); in do_id()
/external/python/cpython2/Lib/test/
Dtest_grp.py14 self.assertEqual(value[0], value.gr_name)
15 self.assertIsInstance(value.gr_name, basestring)
38 name = e.gr_name
47 self.assertEqual(e2.gr_name.lower(), name.lower())
/external/python/cpython3/Lib/test/
Dtest_grp.py15 self.assertEqual(value[0], value.gr_name)
16 self.assertIsInstance(value.gr_name, str)
39 name = e.gr_name
48 self.assertEqual(e2.gr_name.lower(), name.lower())
/external/libnl/src/
Dnf-monitor.c42 const char* gr_name; in main() member
59 printf(" %s", groups[i].gr_name); in main()
68 if (strcmp(argv[idx], groups[i].gr_name)) in main()
Dnl-monitor.c14 const char* gr_name; member
66 printf(" %s", known_groups[i].gr_name); in print_usage()
117 if (!strcmp(argv[idx], known_groups[i].gr_name)) { in main()
/external/musl/src/passwd/
Dgetgr_a.c36 if (name && !strcmp(name, (*res)->gr_name) in __getgr_a()
141 gr->gr_name = *buf; in __getgr_a()
142 gr->gr_passwd = gr->gr_name + groupbuf[GRNAMELEN]; in __getgr_a()
152 if (name && strcmp(name, gr->gr_name) in __getgr_a()
Dputgrent.c10 if ((r = fprintf(f, "%s:%s:%u:", gr->gr_name, gr->gr_passwd, gr->gr_gid))<0) goto done; in putgrent()
Dgetgrent_a.c30 gr->gr_name = s++; in __getgrent_a()
/external/toybox/toys/pending/
Dgroupdel.c58 update_password("/etc/group", grp->gr_name, entry); in groupdel_main()
59 update_password("/etc/gshadow", grp->gr_name, entry); in groupdel_main()
Dipcs.c229 if ((gr = getgrgid(buf.shm_perm.cgid))) printf(" %-10s", gr->gr_name); in shm_array()
233 if ((gr = getgrgid(buf.shm_perm.gid))) printf(" %-10s\n", gr->gr_name); in shm_array()
321 if ((gr = getgrgid(buf.sem_perm.cgid))) printf(" %-10s", gr->gr_name); in sem_array()
325 if ((gr = getgrgid(buf.sem_perm.gid))) printf(" %-10s\n", gr->gr_name); in sem_array()
406 if ((gr = getgrgid(buf.msg_perm.cgid))) printf(" %-10s", gr->gr_name); in msg_array()
410 if ((gr = getgrgid(buf.msg_perm.gid))) printf(" %-10s\n", gr->gr_name); in msg_array()
Dgroupadd.c89 update_password(GROUP_PATH, grp->gr_name, entry); in groupadd_main()
90 update_password(SECURE_GROUP_PATH, grp->gr_name, entry); in groupadd_main()
/external/iptables/extensions/
Dlibxt_owner.c324 if (grp != NULL && grp->gr_name != NULL) { in owner_mt_print_item_v0()
325 printf(" %s", grp->gr_name); in owner_mt_print_item_v0()
373 if (grp != NULL && grp->gr_name != NULL) { in owner_mt6_print_item_v0()
374 printf(" %s", grp->gr_name); in owner_mt6_print_item_v0()
426 if (grp != NULL && grp->gr_name != NULL) { in owner_mt_print_item()
427 printf(" %s", grp->gr_name); in owner_mt_print_item()
/external/python/cpython2/Doc/library/
Dgrp.rst20 | 0 | gr_name | the name of the group |
34 to get complete membership information. Also note that a ``gr_name`` that
/external/python/cpython3/Doc/library/
Dgrp.rst20 | 0 | gr_name | the name of the group |
34 to get complete membership information. Also note that a ``gr_name`` that
/external/e2fsprogs/include/mingw/
Dgrp.h10 char *gr_name; member
/external/e2fsprogs/include/nonunix/
Dgrp.h10 char *gr_name; member
/external/musl/include/
Dgrp.h20 char *gr_name; member
/external/ltp/testcases/kernel/syscalls/bind/
Dbind02.c53 pw->pw_name, gr->gr_name); in setup()
/external/libcap/pam_cap/
Dpam_cap.c76 D(("noting [%s] is a member of [%s]", user, g->gr_name)); in load_groups()
77 (*groups)[g_n++] = strdup(g->gr_name); in load_groups()
Dtest_pam_cap.c78 gr.gr_name = strdup(test_groups[gid]); in getgrgid()
/external/python/cpython2/Lib/plat-os2emx/
Dgrp.py108 self.__dict__['_record'] = (self.gr_name, self.gr_passwd,
/external/python/cpython2/Modules/
Dgrpmodule.c61 SET(setIndex++, PyString_FromString(p->gr_name)); in mkgrent()
/external/libwebsockets/lib/plat/unix/
Dunix-caps.c191 lwsl_cx_notice(context, "effective group '%s'", g->gr_name);
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc3382 EXPECT_NOT_POISONED(grp.gr_name); in TEST()
3383 ASSERT_TRUE(grp.gr_name != NULL); in TEST()
3384 EXPECT_NOT_POISONED(grp.gr_name[0]); in TEST()
3431 EXPECT_NOT_POISONED(p->gr_name); in TEST()
3432 ASSERT_TRUE(p->gr_name != NULL); in TEST()
3433 EXPECT_NOT_POISONED(p->gr_name[0]); in TEST()
3443 EXPECT_NOT_POISONED(grp->gr_name); in TEST()
3444 ASSERT_TRUE(grp->gr_name != NULL); in TEST()
3445 EXPECT_NOT_POISONED(grp->gr_name[0]); in TEST()
3462 EXPECT_NOT_POISONED(grp.gr_name); in TEST()
[all …]
/external/python/cpython3/Modules/
Dgrpmodule.c80 SET(setIndex++, PyUnicode_DecodeFSDefault(p->gr_name)); in mkgrent()

12