Home
last modified time | relevance | path

Searched refs:gr_mem (Results 1 – 21 of 21) sorted by relevance

/external/toybox/toys/pending/
Dgroupdel.c34 if (grp->gr_mem) for (i = 0; grp->gr_mem[i]; i++) { in groupdel_main()
35 if (!found && !strcmp(*toys.optargs, grp->gr_mem[i])) found++; in groupdel_main()
36 else len += strlen(grp->gr_mem[i]) + 1; in groupdel_main()
42 for (i = 0; grp->gr_mem[i]; ) { in groupdel_main()
44 s = stpcpy(s, grp->gr_mem[i]); in groupdel_main()
Dgroupadd.c73 if (!grp->gr_mem) entry = xmprintf("%s", *toys.optargs); in groupadd_main()
77 for (i = 0; grp->gr_mem[i]; i++) in groupadd_main()
78 if (!strcmp(grp->gr_mem[i], *toys.optargs)) return; in groupadd_main()
81 for (i=0; grp->gr_mem[i]; i++) { in groupadd_main()
82 entry = xrealloc(entry, strlen(entry) + strlen(grp->gr_mem[i]) + 2); in groupadd_main()
83 strcat(entry, grp->gr_mem[i]); in groupadd_main()
/external/openssh/openbsd-compat/
Dgetgrouplist.c78 for (i = 0; grp->gr_mem[i]; i++) { in getgrouplist()
79 if (!strcmp(grp->gr_mem[i], uname)) { in getgrouplist()
/external/ltp/testcases/kernel/syscalls/getgroups/
Dgetgroups03.c102 for (i = 0; grp->gr_mem[i]; i++) { in readgroups()
103 if (strcmp(grp->gr_mem[i], TESTUSER) == 0) { in readgroups()
/external/python/cpython2/Lib/test/
Dtest_grp.py20 self.assertEqual(value[3], value.gr_mem)
21 self.assertIsInstance(value.gr_mem, list)
/external/python/cpython3/Lib/test/
Dtest_grp.py20 self.assertEqual(value[3], value.gr_mem)
21 self.assertIsInstance(value.gr_mem, list)
Dtest_os.py46 groups = [g.gr_gid for g in grp.getgrall() if getpass.getuser() in g.gr_mem]
/external/e2fsprogs/include/mingw/
Dgrp.h13 char **gr_mem; member
/external/e2fsprogs/include/nonunix/
Dgrp.h13 char **gr_mem; member
/external/python/cpython2/Lib/plat-os2emx/
Dgrp.py109 self.gr_gid, self.gr_mem)
/external/python/cpython2/Modules/
Dgrpmodule.c49 for (member = p->gr_mem; *member != NULL; member++) { in mkgrent()
/external/python/cpython2/Doc/library/
Dgrp.rst27 | 3 | gr_mem | all the group member's user |
/external/python/cpython3/Modules/
Dgrpmodule.c54 for (member = p->gr_mem; *member != NULL; member++) { in mkgrent()
/external/python/cpython3/Doc/library/
Dgrp.rst27 | 3 | gr_mem | all the group member's user |
/external/selinux/libsemanage/src/
Dgenhomedircon.c1105 char **members = group->gr_mem; in get_group_users()
1113 const char *uname = group->gr_mem[i]; in get_group_users()
1128 if (lfind(pw->pw_name, group->gr_mem, &nmembers, in get_group_users()
/external/autotest/server/
Dsite_utils.py515 if group and username in grp.getgrnam(group).gr_mem:
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h357 char **gr_mem; member
Dsanitizer_platform_limits_posix.cc1225 CHECK_SIZE_AND_OFFSET(group, gr_mem);
Dsanitizer_common_interceptors.inc1475 char **p = grp->gr_mem;
1479 COMMON_INTERCEPTOR_INITIALIZE_RANGE(grp->gr_mem,
1480 (p - grp->gr_mem + 1) * sizeof(*p));
/external/ipsec-tools/src/racoon/
Disakmp_xauth.c1243 while ((member = gr->gr_mem[index++])!=NULL) {
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc3447 for (char **p = grp->gr_mem; *p; ++p) { in TEST()