Home
last modified time | relevance | path

Searched refs:group_file (Results 1 – 2 of 2) sorted by relevance

/bionic/tests/
Dgrp_pwd_file_test.cpp117 GroupFile group_file(file.path, nullptr); in TEST() local
118 FileUnmapper unmapper(group_file); in TEST()
120 FindAndCheckGroupEntry(&group_file, "name", 1); in TEST()
122 EXPECT_FALSE(group_file.FindByName("not_name", nullptr)); in TEST()
123 EXPECT_FALSE(group_file.FindById(3, nullptr)); in TEST()
189 GroupFile group_file(file.path, nullptr); in TEST() local
190 FileUnmapper unmapper(group_file); in TEST()
192 FindAndCheckGroupEntry(&group_file, "first", 1); in TEST()
193 FindAndCheckGroupEntry(&group_file, "middle-ish", 6); in TEST()
194 FindAndCheckGroupEntry(&group_file, "last", 800); in TEST()
[all …]
/bionic/libc/bionic/
Dgrp_pwd.cpp478 for (auto& group_file : group_files) { in oem_id_to_group() local
479 if (group_file.FindById(gid, state)) { in oem_id_to_group()
724 for (auto& group_file : group_files) { in getgrnam_internal() local
725 if (group_file.FindByName(name, state)) { in getgrnam_internal()