Home
last modified time | relevance | path

Searched refs:GetFd (Results 1 – 10 of 10) sorted by relevance

/art/runtime/jit/
Dprofile_compilation_info_test.cc92 uint32_t GetFd(const ScratchFile& file) { in GetFd() function in art::ProfileCompilationInfoTest
93 return static_cast<uint32_t>(file.GetFd()); in GetFd()
302 ASSERT_TRUE(info1.Load(GetFd(profile))); in TEST_F()
319 ASSERT_TRUE(info2.Load(GetFd(profile))); in TEST_F()
343 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TEST_F()
349 ASSERT_TRUE(loaded_info.Load(GetFd(profile))); in TEST_F()
359 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TEST_F()
365 ASSERT_TRUE(loaded_info2.Load(GetFd(profile))); in TEST_F()
405 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TEST_F()
411 ASSERT_TRUE(loaded_info.Load(GetFd(profile))); in TEST_F()
[all …]
/art/profman/
Dprofile_assistant_test.cc75 ASSERT_TRUE(info->Save(GetFd(profile))); in SetupProfile()
103 ASSERT_TRUE(info->Save(GetFd(profile))); in SetupBasicProfile()
153 int GetFd(const ScratchFile& file) const { in GetFd() function in art::ProfileAssistantTest
154 return static_cast<int>(file.GetFd()); in GetFd()
160 ASSERT_TRUE(file_info.Load(GetFd(file))); in CheckProfileInfo()
241 argv_str.push_back("--dump-output-to-fd=" + std::to_string(GetFd(output_file))); in RunProfman()
342 std::vector<int> profile_fds({ GetFd(profile)}); in CheckCompilationMethodPercentChange()
343 int reference_profile_fd = GetFd(reference_profile); in CheckCompilationMethodPercentChange()
368 std::vector<int> profile_fds({ GetFd(profile)}); in CheckCompilationClassPercentChange()
369 int reference_profile_fd = GetFd(reference_profile); in CheckCompilationClassPercentChange()
[all …]
/art/runtime/
Dzip_archive_test.cc43 ASSERT_NE(-1, tmp.GetFd()); in TEST_F()
44 std::unique_ptr<File> file(new File(tmp.GetFd(), tmp.GetFilename(), false)); in TEST_F()
Dvdex_file_test.cc34 std::unique_ptr<VdexFile> vdex = VdexFile::Open(tmp.GetFd(), in TEST_F()
Dcommon_runtime_test.h74 int GetFd() const;
Dmem_map_test.cc207 scratch_file.GetFd(), in TEST_F()
Dcommon_runtime_test.cc182 int ScratchFile::GetFd() const { in GetFd() function in art::ScratchFile
/art/compiler/utils/
Dswap_space_test.cc36 int fd = scratch.GetFd(); in SwapTest()
/art/dex2oat/
Ddex2oat_test.cc263 copy.push_back(android::base::StringPrintf("--swap-fd=%d", sf->GetFd()));
764 std::string output_vdex = StringPrintf("--output-vdex-fd=%d", vdex_file2.GetFd()); in RunTestVDex()
1266 ASSERT_TRUE(info.Save(profile_file.GetFd())); in TEST_F()
/art/compiler/
Doat_test.cc768 File zip_fd(dup(zip_file.GetFd()), /* check_usage */ false); in TestZipFileInput()