Home
last modified time | relevance | path

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

/bionic/tests/
Dgrp_pwd_test.cpp314 static void check_group(const group* grp, const char* group_name, gid_t gid, in check_group() argument
316 ASSERT_TRUE(grp != nullptr); in check_group()
318 EXPECT_STREQ(group_name, grp->gr_name); in check_group()
320 EXPECT_EQ(gid, grp->gr_gid); in check_group()
321 ASSERT_TRUE(grp->gr_mem != nullptr); in check_group()
323 EXPECT_STREQ(group_name, grp->gr_mem[0]); in check_group()
325 EXPECT_TRUE(grp->gr_mem[1] == nullptr); in check_group()
332 group* grp = getgrgid(gid); in check_getgrgid() local
335 check_group(grp, group_name, gid, check_groupname); in check_getgrgid()
340 group* grp = getgrnam(group_name); in check_getgrnam() local
[all …]
/bionic/libc/bionic/
Dgrp_pwd.cpp637 group* grp = android_id_to_group(state, gid); in getgrgid_internal() local
638 if (grp != nullptr) { in getgrgid_internal()
639 return grp; in getgrgid_internal()
642 grp = oem_id_to_group(gid, state); in getgrgid_internal()
643 if (grp != nullptr) { in getgrgid_internal()
644 return grp; in getgrgid_internal()
658 group* grp = android_name_to_group(state, name); in getgrnam_internal() local
659 if (grp != nullptr) { in getgrnam_internal()
660 return grp; in getgrnam_internal()
670 grp = oem_id_to_group(oem_id_from_name(name), state); in getgrnam_internal()
[all …]
/bionic/libc/kernel/uapi/linux/
Dmroute6.h75 struct sockaddr_in6 grp; member
Dmroute.h78 struct in_addr grp; member
/bionic/docs/
Dstatus.md94 * all 6 <grp.h>/<pwd.h> (get|set|end)(gr|pw)ent functions