Lines Matching refs:result

107   int result;  in check_getpwuid_r()  local
111 result = getpwuid_r(uid, &pwd_storage, buf, sizeof(buf), &pwd); in check_getpwuid_r()
112 ASSERT_EQ(0, result); in check_getpwuid_r()
122 int result; in check_getpwnam_r() local
126 result = getpwnam_r(username, &pwd_storage, buf, sizeof(buf), &pwd); in check_getpwnam_r()
127 ASSERT_EQ(0, result); in check_getpwnam_r()
306 int result = getpwnam_r("root", &pwd_storage, buf + 1, sizeof(buf) - 1, &pwd); in TEST() local
307 ASSERT_EQ(0, result); in TEST()
319 int result = getpwuid_r(0, &pwd_storage, buf + 1, sizeof(buf) - 1, &pwd); in TEST() local
320 ASSERT_EQ(0, result); in TEST()
332 int result = getpwnam_r("root", &pwd_storage[0], buf[0], sizeof(buf[0]), &pwd[0]); in TEST() local
333 ASSERT_EQ(0, result); in TEST()
338 result = getpwnam_r("radio", &pwd_storage[1], buf[1], sizeof(buf[1]), &pwd[2]); in TEST()
339 ASSERT_EQ(0, result); in TEST()
353 int result = getpwuid_r(0, &pwd_storage[0], buf[0], sizeof(buf[0]), &pwd[0]); in TEST() local
354 ASSERT_EQ(0, result); in TEST()
359 result = getpwuid_r(1001, &pwd_storage[1], buf[1], sizeof(buf[1]), &pwd[2]); in TEST()
360 ASSERT_EQ(0, result); in TEST()
434 std::string result; in expect_ids() local
436 result += "Missing ids from results: " + Join(missing_from_ids, " "); in expect_ids()
439 if (!result.empty()) result += ", "; in expect_ids()
440 result += "Extra ids in results: " + Join(extra_in_ids, " "); in expect_ids()
442 return result; in expect_ids()
518 int result = getgrgid_r(gid, &grp_storage, buf, sizeof(buf), &grp); in check_getgrgid_r() local
519 ASSERT_EQ(0, result); in check_getgrgid_r()
531 int result = getgrnam_r(group_name, &grp_storage, buf, sizeof(buf), &grp); in check_getgrnam_r() local
532 ASSERT_EQ(0, result); in check_getgrnam_r()
729 int result = getgrnam_r("root", &grp_storage, buf + 1, sizeof(buf) - 1, &grp); in TEST() local
730 ASSERT_EQ(0, result); in TEST()
742 int result = getgrgid_r(0, &grp_storage, buf + 1, sizeof(buf) - 1, &grp); in TEST() local
743 ASSERT_EQ(0, result); in TEST()
755 int result = getgrnam_r("root", &grp_storage[0], buf[0], sizeof(buf[0]), &grp[0]); in TEST() local
756 ASSERT_EQ(0, result); in TEST()
760 result = getgrnam_r("radio", &grp_storage[1], buf[1], sizeof(buf[1]), &grp[2]); in TEST()
761 ASSERT_EQ(0, result); in TEST()
775 int result = getgrgid_r(0, &grp_storage[0], buf[0], sizeof(buf[0]), &grp[0]); in TEST() local
776 ASSERT_EQ(0, result); in TEST()
780 result = getgrgid_r(1001, &grp_storage[1], buf[1], sizeof(buf[1]), &grp[2]); in TEST()
781 ASSERT_EQ(0, result); in TEST()