Home
last modified time | relevance | path

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

12

/third_party/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()
/third_party/musl/src/passwd/
Dputgrent.c11 if (gr->gr_mem) for (i=0; gr->gr_mem[i]; i++) in putgrent()
12 if ((r = fprintf(f, "%s%s", i?",":"", gr->gr_mem[i]))<0) goto done; in putgrent()
Dgetgr_r.c25 gr->gr_mem = (void *)buf; in getgr_r()
31 gr->gr_mem[i] = mem[i]-line+buf; in getgr_r()
32 gr->gr_mem[i] = 0; in getgr_r()
Dgetgrouplist.c56 for (i=0; gr.gr_mem[i] && strcmp(user, gr.gr_mem[i]); i++); in getgrouplist()
57 if (!gr.gr_mem[i]) continue; in getgrouplist()
Dgetgrent_a.c62 gr->gr_mem = *mem; in __getgrent_a()
Dgetgr_a.c144 gr->gr_mem = *mem; in __getgr_a()
/third_party/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()
/third_party/python/Lib/test/
Dtest_grp.py21 self.assertEqual(value[3], value.gr_mem)
22 self.assertIsInstance(value.gr_mem, list)
/third_party/pulseaudio/src/tests/
Dusergroup-test.c66 for (amem = a->gr_mem, bmem = b->gr_mem; *amem && *bmem; ++amem, ++bmem) { in compare_group()
/third_party/musl/libc-test/src/functionalext/supplement/passwd/
Dgetgrent.c33 if (grp->gr_mem == NULL) { in getgrent_0100()
Dgetgrnam.c46 if (grp->gr_mem == NULL) { in getgrnam_0100()
Dgetgrgid.c46 if (grp->gr_mem == NULL) { in getgrgid_0100()
Dgetgrgid_r.c53 if (!grp->gr_mem) { in getgrgid_r_0100()
Dgetgrnam_r.c53 if (!grp->gr_mem) { in getgrnam_r_0100()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dgrp.h22 char **gr_mem; member
/third_party/musl/libc-test/src/api/
Dgrp.c12 F(char**, gr_mem) in f()
/third_party/musl/include/
Dgrp.h23 char **gr_mem; member
/third_party/musl/porting/uniproton/kernel/include/
Dgrp.h23 char **gr_mem; member
/third_party/musl/porting/liteos_m/kernel/include/
Dgrp.h23 char **gr_mem; member
/third_party/python/Doc/library/
Dgrp.rst27 | 3 | gr_mem | all the group member's user |
/third_party/python/Modules/
Dgrpmodule.c68 for (member = p->gr_mem; *member != NULL; member++) { in mkgrent()
/third_party/rust/crates/libc/src/unix/
Dmod.rs59 pub gr_mem: *mut *mut ::c_char,
/third_party/ntfs-3g/libntfs-3g/
Dsecurity.c4097 if (group && group->gr_mem) { in link_single_group()
4100 grmem = group->gr_mem; in link_single_group()
/third_party/pulseaudio/src/pulsecore/
Dcore-util.c1229 for (i = group->gr_mem; *i; i++) { in pa_uid_in_group()

12