Searched refs:grp (Results 1 – 5 of 5) sorted by relevance
/bionic/tests/ |
D | grp_pwd_test.cpp | 510 static void check_group(const group* grp, const char* group_name, gid_t gid, in check_group() argument 512 ASSERT_TRUE(grp != nullptr); in check_group() 514 EXPECT_STREQ(group_name, grp->gr_name); in check_group() 516 EXPECT_EQ(gid, grp->gr_gid); in check_group() 517 ASSERT_TRUE(grp->gr_mem != nullptr); in check_group() 519 EXPECT_STREQ(group_name, grp->gr_mem[0]); in check_group() 521 EXPECT_TRUE(grp->gr_mem[1] == nullptr); in check_group() 528 group* grp = getgrgid(gid); in check_getgrgid() local 531 check_group(grp, group_name, gid, check_groupname); in check_getgrgid() 536 group* grp = getgrnam(group_name); in check_getgrnam() local [all …]
|
/bionic/libc/bionic/ |
D | grp_pwd.cpp | 714 group* grp = oem_id_to_group(gid, state); in getgrgid_internal() local 715 if (grp != nullptr) { in getgrgid_internal() 716 return grp; in getgrgid_internal() 739 group* grp = oem_id_to_group(oem_id_from_name(name), state); in getgrnam_internal() local 740 if (grp != nullptr) { in getgrnam_internal() 741 return grp; in getgrnam_internal() 751 static int getgroup_r(bool by_name, const char* name, gid_t gid, struct group* grp, char* buf, in getgroup_r() argument 764 *grp = *retval; in getgroup_r() 765 *result = grp; in getgroup_r() 771 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/ |
D | mroute6.h | 68 struct sockaddr_in6 grp; member
|
D | mroute.h | 71 struct in_addr grp; member
|
/bionic/docs/ |
D | status.md | 174 * all 6 <grp.h>/<pwd.h> (get|set|end)(gr|pw)ent functions
|