Lines Matching refs:grp_storage
513 group grp_storage; in check_getgrgid_r() local
518 int result = getgrgid_r(gid, &grp_storage, buf, sizeof(buf), &grp); in check_getgrgid_r()
526 group grp_storage; in check_getgrnam_r() local
531 int result = getgrnam_r(group_name, &grp_storage, buf, sizeof(buf), &grp); in check_getgrnam_r()
726 group grp_storage; in TEST() local
729 int result = getgrnam_r("root", &grp_storage, buf + 1, sizeof(buf) - 1, &grp); in TEST()
739 group grp_storage; in TEST() local
742 int result = getgrgid_r(0, &grp_storage, buf + 1, sizeof(buf) - 1, &grp); in TEST()
752 group grp_storage[2]; in TEST() local
755 int result = getgrnam_r("root", &grp_storage[0], buf[0], sizeof(buf[0]), &grp[0]); in TEST()
760 result = getgrnam_r("radio", &grp_storage[1], buf[1], sizeof(buf[1]), &grp[2]); in TEST()
772 group grp_storage[2]; in TEST() local
775 int result = getgrgid_r(0, &grp_storage[0], buf[0], sizeof(buf[0]), &grp[0]); in TEST()
780 result = getgrgid_r(1001, &grp_storage[1], buf[1], sizeof(buf[1]), &grp[2]); in TEST()
794 group grp_storage; in TEST() local
796 ASSERT_EQ(0, getgrnam_r("root", &grp_storage, buf, size, &grp)); in TEST()