Home
last modified time | relevance | path

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

/bionic/tests/
Dgrp_pwd_file_test.cpp71 EXPECT_STREQ(name, name_group.gr_name); in FindAndCheckGroupEntry()
74 EXPECT_EQ(name_group.gr_name, name_group.gr_mem[0]); in FindAndCheckGroupEntry()
81 EXPECT_STREQ(name, id_group.gr_name); in FindAndCheckGroupEntry()
84 EXPECT_EQ(id_group.gr_name, id_group.gr_mem[0]); in FindAndCheckGroupEntry()
Dgrp_pwd_test.cpp484 EXPECT_STREQ(group_name, grp->gr_name); in check_group()
551 EXPECT_EQ(nullptr, group) << "name = '" << group->gr_name << "'"; in expect_no_group_id()
557 EXPECT_EQ(nullptr, group) << "name = '" << group->gr_name << "'"; in expect_no_group_id()
565 EXPECT_EQ(nullptr, group) << "name = '" << group->gr_name << "'"; in expect_no_group_name()
571 EXPECT_EQ(nullptr, group) << "name = '" << group->gr_name << "'"; in expect_no_group_name()
807 ASSERT_TRUE(grp->gr_name != 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()
/bionic/tests/headers/posix/
Dgrp_h.c35 STRUCT_MEMBER(struct group, char*, gr_name); in grp_h()
/bionic/libc/include/
Dgrp.h42 char* gr_name; /* group name */ member
/bionic/libc/bionic/
Dgrp_pwd_file.cpp179 group_state->group_.gr_name = group_state->group_name_buffer_; in ToGroupState()
184 group_state->group_.gr_mem[0] = group_state->group_.gr_name; in ToGroupState()
Dgrp_pwd.cpp85 state->group_.gr_name = state->group_name_buffer_; in init_group_state()
87 state->group_.gr_mem[0] = state->group_.gr_name; in init_group_state()