/third_party/python/Lib/test/ |
H A D | test_grp.py | 36 e2 = grp.getgrgid(e.gr_gid) 46 # lowercase while getgrgid() returns proper casing. 51 self.assertRaises(TypeError, grp.getgrgid) 52 self.assertRaises(TypeError, grp.getgrgid, 3.14) 98 self.assertRaises(KeyError, grp.getgrgid, fakegid) 106 self.assertRaises(TypeError, grp.getgrgid, float(gid)) 107 self.assertRaises(TypeError, grp.getgrgid, str(gid))
|
/third_party/musl/libc-test/src/functionalext/supplement/passwd/ |
H A D | getgrgid.c | 33 struct group *grp = getgrgid(gid); in getgrgid_0100() 38 t_error("%s getgrgid failed\n", __func__); in getgrgid_0100() 59 struct group *data = getgrgid(-1); in getgrgid_0200()
|
H A D | getgrouplist.c | 56 gr = getgrgid(server_groups[i]); in getgrouplist_0100()
|
/third_party/toybox/toys/pending/ |
H A D | ipcs.c | 229 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()
|
H A D | groupadd.c | 44 if (getgrgid(TT.gid)) error_exit("group '%ld' is in use", TT.gid); in new_group() 49 while (getgrgid(TT.gid)) TT.gid++; in new_group()
|
H A D | useradd.c | 99 while (getgrgid(TT.gid)) TT.gid++; in useradd_main()
|
H A D | tcpsvd.c | 213 if (!(grp = getgrgid(n))) perror_exit("Invalid group '%s'",group); in get_uidgid()
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | grp.h | 26 struct group *getgrgid(gid_t);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | grp.h | 26 struct group *getgrgid(gid_t);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | grp.h | 25 struct group *getgrgid(gid_t);
|
/third_party/musl/include/ |
H A D | grp.h | 26 struct group *getgrgid(gid_t);
|
/third_party/musl/libc-test/src/api/ |
H A D | grp.c | 16 {struct group*(*p)(gid_t) = getgrgid;} in f()
|
/third_party/musl/src/passwd/ |
H A D | getgrent.c | 25 struct group *getgrgid(gid_t gid) in getgrgid() function
|
/third_party/ltp/testcases/kernel/syscalls/setfsgid/ |
H A D | setfsgid03.c | 59 while (!getgrgid(gid)) in main()
|
/third_party/ltp/lib/ |
H A D | tst_uid.c | 23 if (ret == skip || getgrgid(ret)) in tst_get_free_gid_()
|
H A D | tst_safe_macros.c | 413 rval = getgrgid(gid); in safe_getgrgid() 416 "getgrgid(%li) failed", (long)gid); in safe_getgrgid()
|
/third_party/toybox/toys/posix/ |
H A D | id.c | 139 if (!(grp = getgrgid(groups[i]))) perror_msg(0); in do_id()
|
/third_party/libwebsockets/lib/plat/unix/ |
H A D | unix-caps.c | 175 g = getgrgid(context->gid);
|
/third_party/python/Lib/distutils/tests/ |
H A D | test_archive_util.py | 342 group = grp.getgrgid(0)[0] 372 group = grp.getgrgid(0)[0]
|
H A D | test_sdist.py | 454 cmd.group = grp.getgrgid(0)[0]
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | usergroup.c | 123 /* Thread-safe getgrgid() replacement. 127 API is the same as getgrgid(), errors are indicated by a NULL return; 171 return getgrgid(gid); in pa_getgrgid_malloc()
|
/third_party/python/Modules/ |
H A D | grpmodule.c | 100 grp.getgrgid 158 p = getgrgid(gid); in grp_getgrgid_impl() 168 PyErr_Format(PyExc_KeyError, "getgrgid(): gid not found: %S", gid_obj); in grp_getgrgid_impl() 263 to use YP/NIS and may not be accessible via getgrnam or getgrgid.
|
/third_party/lzma/CPP/7zip/Common/ |
H A D | FileStreams.cpp | 640 const group *gr = getgrgid(gid);
in GetProperty()
|
/third_party/rust/crates/libc/src/unix/newlib/ |
H A D | mod.rs | 719 pub fn getgrgid(gid: ::gid_t) -> *mut ::group; in getgrgid() functions
|
/third_party/toybox/lib/ |
H A D | xwrap.c | 671 struct group *group = getgrgid(gid); in xgetgrgid()
|