Home
last modified time | relevance | path

Searched refs:gr_gid (Results 1 – 6 of 6) sorted by relevance

/bionic/tests/headers/posix/
Dgrp_h.c36 STRUCT_MEMBER(struct group, gid_t, gr_gid); in grp_h()
/bionic/libc/include/
Dgrp.h44 gid_t gr_gid; /* group id */ member
/bionic/tests/
Dgrp_pwd_test.cpp486 EXPECT_EQ(gid, grp->gr_gid); in check_group()
807 ASSERT_TRUE(grp->gr_name != nullptr) << "grp->gr_gid: " << grp->gr_gid; in TEST()
808 ASSERT_TRUE(grp->gr_mem != nullptr) << "grp->gr_gid: " << grp->gr_gid; in TEST()
809 EXPECT_STREQ(grp->gr_name, grp->gr_mem[0]) << "grp->gr_gid: " << grp->gr_gid; in TEST()
810 EXPECT_TRUE(grp->gr_mem[1] == nullptr) << "grp->gr_gid: " << grp->gr_gid; in TEST()
812 EXPECT_EQ(0U, gids.count(grp->gr_gid)) << "grp->gr_gid: " << grp->gr_gid; in TEST()
813 gids.emplace(grp->gr_gid); in TEST()
Dgrp_pwd_file_test.cpp73 EXPECT_EQ(gid, name_group.gr_gid); in FindAndCheckGroupEntry()
83 EXPECT_EQ(gid, id_group.gr_gid); in FindAndCheckGroupEntry()
/bionic/libc/bionic/
Dgrp_pwd.cpp126 gr->gr_gid = iinfo->aid; in android_iinfo_to_group()
492 gr->gr_gid = gid; in oem_id_to_group()
536 gr->gr_gid = gid; in app_id_to_group()
Dgrp_pwd_file.cpp175 group_state->group_.gr_gid = gid; in ToGroupState()