Lines Matching refs:GetFd
111 ASSERT_TRUE(info->Save(GetFd(profile))); in SetupProfile()
131 ASSERT_TRUE(info->Save(GetFd(profile))); in SetupBasicProfile()
173 int GetFd(const ScratchFile& file) const { in GetFd() function in art::ProfileAssistantTest
174 return static_cast<int>(file.GetFd()); in GetFd()
180 ASSERT_TRUE(file_info.Load(GetFd(file))); in CheckProfileInfo()
263 argv_str.push_back("--dump-output-to-fd=" + std::to_string(GetFd(output_file))); in RunProfman()
366 std::vector<int> profile_fds({ GetFd(profile)}); in CheckCompilationMethodPercentChange()
367 int reference_profile_fd = GetFd(reference_profile); in CheckCompilationMethodPercentChange()
391 std::vector<int> profile_fds({ GetFd(profile)}); in CheckCompilationClassPercentChange()
392 int reference_profile_fd = GetFd(reference_profile); in CheckCompilationClassPercentChange()
417 GetFd(profile1), in TEST_F()
418 GetFd(profile2)}); in TEST_F()
419 int reference_profile_fd = GetFd(reference_profile); in TEST_F()
451 GetFd(profile1)}); in TEST_F()
452 int reference_profile_fd = GetFd(reference_profile); in TEST_F()
480 GetFd(profile1), in TEST_F()
481 GetFd(profile2)}); in TEST_F()
482 int reference_profile_fd = GetFd(reference_profile); in TEST_F()
524 GetFd(profile1), in TEST_F()
525 GetFd(profile2)}); in TEST_F()
526 int reference_profile_fd = GetFd(reference_profile); in TEST_F()
541 ASSERT_TRUE(file_info1.Load(GetFd(profile1))); in TEST_F()
546 ASSERT_TRUE(file_info2.Load(GetFd(profile2))); in TEST_F()
599 GetFd(profile1), in TEST_F()
600 GetFd(profile2)}); in TEST_F()
601 int reference_profile_fd = GetFd(reference_profile); in TEST_F()
628 GetFd(profile1)}); in TEST_F()
629 int reference_profile_fd = GetFd(reference_profile); in TEST_F()
657 ASSERT_TRUE(info.Load(GetFd(profile))); in TEST_F()
668 ASSERT_TRUE(info.Load(GetFd(profile))); in TEST_F()
721 ASSERT_TRUE(info.Load(GetFd(profile_file))); in TEST_F()
1020 ASSERT_TRUE(info.Load(GetFd(profile_file))); in TEST_F()
1112 std::vector<int> profile_fds({GetFd(profile1)}); in TEST_F()
1113 int reference_profile_fd = GetFd(reference_profile); in TEST_F()
1170 ASSERT_TRUE(info.Load(GetFd(profile_file))); in TEST_F()
1274 GetFd(profile1), in TEST_F()
1275 GetFd(profile2)}); in TEST_F()
1276 int reference_profile_fd = GetFd(reference_profile); in TEST_F()
1306 argv_str.push_back("--profile-file-fd=" + std::to_string(profile1.GetFd())); in TEST_F()
1307 argv_str.push_back("--profile-file-fd=" + std::to_string(profile2.GetFd())); in TEST_F()
1308 argv_str.push_back("--reference-profile-file-fd=" + std::to_string(reference_profile.GetFd())); in TEST_F()
1341 info2_filter.Load(profile1.GetFd(), /*merge_classes=*/ true, filter_fn); in TEST_F()
1342 info2_filter.Load(profile2.GetFd(), /*merge_classes=*/ true, filter_fn); in TEST_F()
1343 expected.Load(reference_profile.GetFd(), /*merge_classes=*/ true, filter_fn); in TEST_F()
1384 argv_str.push_back("--profile-file-fd=" + std::to_string(profile1.GetFd())); in TEST_F()
1385 argv_str.push_back("--reference-profile-file-fd=" + std::to_string(reference_profile.GetFd())); in TEST_F()
1395 ASSERT_TRUE(result.Load(reference_profile.GetFd())); in TEST_F()
1411 std::vector<int> profile_fds({GetFd(profile)}); in TEST_F()
1412 int reference_profile_fd = GetFd(reference_profile); in TEST_F()
1440 ASSERT_TRUE(result.Load(reference_profile.GetFd())); in TEST_F()
1455 std::vector<int> profile_fds({ GetFd(profile)}); in TEST_F()
1456 int reference_profile_fd = GetFd(reference_profile); in TEST_F()
1471 ASSERT_TRUE(result.Load(reference_profile.GetFd())); in TEST_F()
1481 std::vector<int> profile_fds({GetFd(profile)}); in TEST_F()
1482 int reference_profile_fd = GetFd(reference_profile); in TEST_F()
1495 info.Save(profile.GetFd()); in TEST_F()
1506 argv_str.push_back("--profile-file-fd=" + std::to_string(profile.GetFd())); in TEST_F()
1507 argv_str.push_back("--reference-profile-file-fd=" + std::to_string(reference_profile.GetFd())); in TEST_F()
1527 info1.Save(profile1.GetFd()); in TEST_F()
1531 info2.Save(profile2.GetFd()); in TEST_F()
1534 std::vector<int> profile_fds({ GetFd(profile1)}); in TEST_F()
1535 int reference_profile_fd = GetFd(profile2); in TEST_F()
1540 profile_fds[0] = GetFd(profile2); in TEST_F()
1541 reference_profile_fd = GetFd(profile1); in TEST_F()
1561 info2.Save(profile2.GetFd()); in TEST_F()
1564 std::vector<int> profile_fds({ GetFd(profile1)}); in TEST_F()
1565 int reference_profile_fd = GetFd(profile2); in TEST_F()