Home
last modified time | relevance | path

Searched refs:getgrnam (Results 1 - 25 of 47) sorted by relevance

12

/third_party/python/Lib/test/
H A Dtest_grp.py43 e2 = grp.getgrnam(name)
53 self.assertRaises(TypeError, grp.getgrnam)
54 self.assertRaises(TypeError, grp.getgrnam, 42)
57 self.assertRaisesRegex(ValueError, 'null', grp.getgrnam, 'a\x00b')
91 self.assertRaises(KeyError, grp.getgrnam, fakename)
/third_party/python/Lib/distutils/
H A Darchive_util.py27 from grp import getgrnam namespace
29 getgrnam = None variable
33 if getgrnam is None or name is None:
36 result = getgrnam(name)
/third_party/musl/libc-test/src/functionalext/supplement/passwd/
H A Dgetgrnam.c33 struct group *grp = getgrnam(group_name); in getgrnam_0100()
59 struct group *result = getgrnam("invalid_name"); in getgrnam_0200()
61 t_error("%s getgrnam should be failed\n", __func__); in getgrnam_0200()
/third_party/toybox/toys/pending/
H A Dgroupadd.c71 if (!(grp = getgrnam(toys.optargs[1]))) in groupadd_main()
96 if (getgrnam(s)) error_exit("'%s' in use", s); in groupadd_main()
H A Duseradd.c97 if (getgrnam(pwd.pw_name)) error_exit("group '%s' in use", pwd.pw_name); in useradd_main()
H A Dmdev.c160 grp = getgrnam(str); in make_device()
H A Dtcpsvd.c211 if (!(grp = getgrnam(group))) { in get_uidgid()
/third_party/libwebsockets/lib/plat/unix/
H A Dunix-caps.c79 g = getgrnam(colon);
125 g = getgrnam(context->groupname);
/third_party/musl/porting/uniproton/kernel/include/
H A Dgrp.h27 struct group *getgrnam(const char *);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dgrp.h27 struct group *getgrnam(const char *);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dgrp.h26 struct group *getgrnam(const char *);
/third_party/musl/include/
H A Dgrp.h27 struct group *getgrnam(const char *);
/third_party/musl/libc-test/src/api/
H A Dgrp.c18 {struct group*(*p)(const char*) = getgrnam;} in f()
/third_party/musl/src/passwd/
H A Dgetgrent.c33 struct group *getgrnam(const char *name) in getgrnam() function
/third_party/ltp/lib/
H A Dtst_safe_macros.c382 rval = getgrnam(name); in safe_getgrnam()
385 "getgrnam(%s) failed", name); in safe_getgrnam()
397 rval = getgrnam(name); in safe_getgrnam_fallback()
400 "getgrnam(%s) failed - try fallback %s", in safe_getgrnam_fallback()
/third_party/pulseaudio/src/pulsecore/
H A Dusergroup.c182 /* Thread-safe getgrnam() function.
186 API is the same as getgrnam(), errors are indicated by a NULL return;
230 return getgrnam(name); in pa_getgrnam_malloc()
/third_party/python/Modules/
H A Dgrpmodule.c180 grp.getgrnam
239 p = getgrnam(name_chars); in grp_getgrnam_impl()
246 PyErr_Format(PyExc_KeyError, "getgrnam(): name not found: %R", name); in grp_getgrnam_impl()
263 to use YP/NIS and may not be accessible via getgrnam or getgrgid.
/third_party/toybox/lib/
H A Dxwrap.c693 struct group *gr = getgrnam(name); in xgetgid()
715 struct group *gr = getgrnam(name); in xgetgrnam()
/third_party/python/Lib/
H A Dshutil.py869 from grp import getgrnam namespace
874 result = getgrnam(name)
/third_party/toybox/toys/posix/
H A Dtar.c517 struct group *gr = getgrnam(TT.hdr.gname); in extract_to_disk()
666 struct group *gr = getgrnam(TT.hdr.gname); in unpack_tar()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dctrl_iface_unix.c552 grp = getgrnam(gid_str); in wpas_ctrl_iface_open_sock()
1221 grp = getgrnam(gid_str); in wpas_global_ctrl_iface_open_sock()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dctrl_iface_unix.c562 grp = getgrnam(gid_str); in wpas_ctrl_iface_open_sock()
1287 grp = getgrnam(gid_str); in wpas_global_ctrl_iface_open_sock()
/third_party/gn/src/base/files/
H A Dfile_util_posix.cc663 struct group* group_record = getgrnam(kAdminGroupNames[i]); in VerifyPathControlledByAdmin()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
H A Dap_main.c556 grp = getgrnam(group); in hostapd_get_ctrl_iface_group()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Dwpa_ctrl.c191 grp_wifi = getgrnam("wifi"); in wpa_ctrl_open2()

Completed in 17 milliseconds

12