Home
last modified time | relevance | path

Searched refs:grp (Results 1 – 5 of 5) sorted by relevance

/bionic/tests/
Dgrp_pwd_test.cpp480 static void check_group(const group* grp, const char* group_name, gid_t gid, in check_group() argument
482 ASSERT_TRUE(grp != nullptr); in check_group()
484 EXPECT_STREQ(group_name, grp->gr_name); in check_group()
486 EXPECT_EQ(gid, grp->gr_gid); in check_group()
487 ASSERT_TRUE(grp->gr_mem != nullptr); in check_group()
489 EXPECT_STREQ(group_name, grp->gr_mem[0]); in check_group()
491 EXPECT_TRUE(grp->gr_mem[1] == nullptr); in check_group()
498 group* grp = getgrgid(gid); in check_getgrgid() local
501 check_group(grp, group_name, gid, check_groupname); in check_getgrgid()
506 group* grp = getgrnam(group_name); in check_getgrnam() local
[all …]
/bionic/libc/bionic/
Dgrp_pwd.cpp706 group* grp = oem_id_to_group(gid, state); in getgrgid_internal() local
707 if (grp != nullptr) { in getgrgid_internal()
708 return grp; in getgrgid_internal()
731 group* grp = oem_id_to_group(oem_id_from_name(name), state); in getgrnam_internal() local
732 if (grp != nullptr) { in getgrnam_internal()
733 return grp; in getgrnam_internal()
743 static int getgroup_r(bool by_name, const char* name, gid_t gid, struct group* grp, char* buf, in getgroup_r() argument
756 *grp = *retval; in getgroup_r()
757 *result = grp; in getgroup_r()
763 int getgrgid_r(gid_t gid, struct group* grp, char* buf, size_t buflen, struct group** result) { in getgrgid_r() argument
[all …]
/bionic/libc/kernel/uapi/linux/
Dmroute6.h80 struct sockaddr_in6 grp; member
Dmroute.h83 struct in_addr grp; member
/bionic/docs/
Dstatus.md117 * all 6 <grp.h>/<pwd.h> (get|set|end)(gr|pw)ent functions