Home
last modified time | relevance | path

Searched refs:GetFile (Results 1 – 18 of 18) sorted by relevance

/art/runtime/jit/
Dprofile_compilation_info_test.cc304 ASSERT_TRUE(profile.GetFile()->ResetOffset()); in TEST_F()
328 ASSERT_EQ(0, profile.GetFile()->Flush()); in TEST_F()
332 ASSERT_TRUE(profile.GetFile()->ResetOffset()); in TEST_F()
342 ASSERT_TRUE(profile.GetFile()->ResetOffset()); in TEST_F()
344 ASSERT_EQ(0, profile.GetFile()->Flush()); in TEST_F()
348 ASSERT_TRUE(profile.GetFile()->ResetOffset()); in TEST_F()
390 ASSERT_EQ(0, profile.GetFile()->Flush()); in TEST_F()
394 ASSERT_TRUE(profile.GetFile()->ResetOffset()); in TEST_F()
404 ASSERT_EQ(0, profile.GetFile()->Flush()); in TEST_F()
408 ASSERT_TRUE(profile.GetFile()->ResetOffset()); in TEST_F()
[all …]
Dprofile_compilation_info.cc156 int fd = flock.GetFile()->Fd(); in Load()
167 if (flock.GetFile()->ClearContent()) { in Load()
192 int fd = flock.GetFile()->Fd(); in Save()
195 if (!flock.GetFile()->ClearContent()) { in Save()
/art/compiler/
Doat_test.cc408 bool success = WriteElf(tmp_vdex.GetFile(), in TEST_F()
409 tmp_oat.GetFile(), in TEST_F()
546 bool success = WriteElf(tmp_vdex.GetFile(), tmp_oat.GetFile(), dex_files, key_value_store, false); in TEST_F()
559 static_cast<size_t>(tmp_oat.GetFile()->GetLength())); in TEST_F()
583 bool success = dex_file1.GetFile()->WriteFully(&dex_file1_data->GetHeader(), in TestDexFileInput()
586 success = dex_file1.GetFile()->Flush() == 0; in TestDexFileInput()
598 success = dex_file2.GetFile()->WriteFully(&dex_file2_data->GetHeader(), in TestDexFileInput()
601 success = dex_file2.GetFile()->Flush() == 0; in TestDexFileInput()
610 success = WriteElf(vdex_file.GetFile(), in TestDexFileInput()
611 oat_file.GetFile(), in TestDexFileInput()
[all …]
Dimage_test.cc240 oat_file.GetFile())); in Compile()
264 kIsVdexEnabled ? vdex_files[i].GetFile() : oat_files[i].GetFile(), in Compile()
292 MakeUnique<FileOutputStream>(vdex_files[i].GetFile()))); in Compile()
/art/profman/
Dprofile_assistant_test.cc71 ASSERT_EQ(0, profile.GetFile()->Flush()); in SetupProfile()
72 ASSERT_TRUE(profile.GetFile()->ResetOffset()); in SetupProfile()
126 ASSERT_TRUE(file.GetFile()->ResetOffset()); in CheckProfileInfo()
180 File* file = class_names_file.GetFile(); in CreateProfile()
208 File* file = class_names_file.GetFile(); in DumpClassesAndMethods()
224 profile_file.GetFile()->ResetOffset(); in CreateAndDump()
319 ASSERT_TRUE(reference_profile.GetFile()->ResetOffset()); in TEST_F()
350 ASSERT_TRUE(reference_profile.GetFile()->ResetOffset()); in TEST_F()
391 ASSERT_TRUE(reference_profile.GetFile()->ResetOffset()); in TEST_F()
427 ASSERT_TRUE(profile1.GetFile()->ResetOffset()); in TEST_F()
[all …]
Dprofile_assistant.cc36 if (!info.Load(reference_profile_file.GetFile()->Fd())) { in ProcessProfilesInternal()
48 if (!cur_info.Load(profile_files[i].GetFile()->Fd())) { in ProcessProfilesInternal()
65 if (!reference_profile_file.GetFile()->ClearContent()) { in ProcessProfilesInternal()
69 if (!info.Save(reference_profile_file.GetFile()->Fd())) { in ProcessProfilesInternal()
/art/runtime/base/
Dscoped_flock.h69 File* GetFile() const;
Dscoped_flock.cc117 File* ScopedFlock::GetFile() const { in GetFile() function in art::ScopedFlock
/art/compiler/linker/
Doutput_stream_test.cc68 FileOutputStream output_stream(tmp.GetFile()); in TEST_F()
82 BufferedOutputStream buffered_output_stream(MakeUnique<FileOutputStream>(tmp.GetFile())); in TEST_F()
/art/dexlayout/
Ddexlayout_test.cc392 WriteBase64ToFile(dex_filename, dex_file->GetFile()); in DexLayoutExec()
393 EXPECT_EQ(dex_file->GetFile()->Flush(), 0); in DexLayoutExec()
395 WriteBase64ToFile(profile_filename, profile_file->GetFile()); in DexLayoutExec()
396 EXPECT_EQ(profile_file->GetFile()->Flush(), 0); in DexLayoutExec()
/art/runtime/
Doat_file_assistant.cc144 unlink(flock_.GetFile()->GetPath().c_str()); in ~OatFileAssistant()
261 const OatFile* file = oat_.GetFile(); in GetStatusDump()
282 const OatFile* file = odex_.GetFile(); in GetStatusDump()
826 const OatFile* odex_file = odex_.GetFile(); in GetRequiredDexChecksums()
962 const OatFile* file = GetFile(); in Status()
1031 const OatFile* OatFileAssistant::OatFileInfo::GetFile() { in GetFile() function in art::OatFileAssistant::OatFileInfo
1056 const OatFile* file = GetFile(); in CompilerFilterIsOkay()
1070 const OatFile* file = GetFile(); in IsExecutable()
Doat_file_assistant.h312 const OatFile* GetFile();
Dcommon_runtime_test.h69 File* GetFile() const { in GetFile() function
Dcommon_runtime_test.cc171 if (GetFile() != other.GetFile()) { in operator =()
Dmem_map_test.cc201 ASSERT_TRUE(scratch_file.GetFile()->WriteFully(&data[0], kMapSize)); in TEST_F()
/art/compiler/debug/dwarf/
Ddwarf_test.h64 FileOutputStream output_stream(file.GetFile()); in Objdump()
/art/dex2oat/
Ddex2oat_test.cc740 EXPECT_GT(vdex_file2.GetFile()->GetLength(), 0u); in RunTestVDex()
Ddex2oat.cc2146 success = profile_compilation_info_->Load(flock.GetFile()->Fd()); in LoadProfile()