Home
last modified time | relevance | path

Searched refs:Flush (Results 1 – 25 of 28) sorted by relevance

12

/art/libelffile/stream/
Dfile_output_stream.cc36 bool FileOutputStream::Flush() { in Flush() function in art::FileOutputStream
37 return file_->Flush() == 0; in Flush()
Dbuffered_output_stream.cc50 bool BufferedOutputStream::Flush() { in Flush() function in art::BufferedOutputStream
51 return FlushBuffer() && out_->Flush(); in Flush()
Derror_delaying_output_stream.h83 bool Flush() override { in Flush() function
85 output_good_ = output_->Flush(); in Flush()
Dfile_output_stream.h36 bool Flush() override;
Dbuffered_output_stream.h38 bool Flush() override;
Doutput_stream.h54 virtual bool Flush() = 0;
Dvector_output_stream.h50 bool Flush() override { in Flush() function
/art/libartbase/base/unix_file/
Dfd_file_test.cc61 EXPECT_EQ(0, file.Flush()); in TEST_F()
109 ASSERT_EQ(file.Flush(), 0); in TEST_F()
135 ASSERT_EQ(file.Flush(), 0); in TEST_F()
155 ASSERT_EQ(0, src.Flush()); in TEST_F()
164 ASSERT_EQ(0, dest.Flush()); in TEST_F()
189 ASSERT_EQ(file2.Flush(), 0); in TEST_F()
218 EXPECT_EQ(file.Flush(), 0); in TEST_F()
287 ASSERT_EQ(0, file.Flush()); in TEST_F()
Drandom_access_file.h63 virtual int Flush() = 0;
Dfd_file.cc344 int FdFile::Flush() { in Flush() function in unix_file::FdFile
557 result = Flush(); in Erase()
566 int flush_result = Flush(); in FlushCloseOrErase()
583 int flush_result = Flush(); in FlushClose()
Dfd_file.h74 int Flush() override WARN_UNUSED;
/art/compiler/linker/
Doutput_stream_test.cc53 EXPECT_TRUE(output_stream_->Flush()); in GenerateTestOutput()
121 bool Flush() override { in TEST_F() function
133 bool flush_result = buffered.Flush(); in TEST_F()
/art/dex2oat/
Ddex2oat_image_test.cc102 EXPECT_EQ(out_file->Flush(), 0); in GenerateClasses()
109 EXPECT_EQ(out_file->Flush(), 0); in GenerateMethods()
270 EXPECT_EQ(profile_file.GetFile()->Flush(), 0); in TEST_F()
Ddex2oat_test.cc1805 ASSERT_EQ(apk_file.GetFile()->Flush(), 0); in TEST_F()
1942 ASSERT_EQ(dm_file.GetFile()->Flush(), 0); in TEST_F()
2033 ASSERT_EQ(vdex_unquickened->Flush(), 0) << "Could not flush and close vdex file"; in TEST_F()
2048 ASSERT_EQ(temp.GetFile()->Flush(), 0) << "Could not flush extracted dex"; in TEST_F()
2074 ASSERT_EQ(invalid_dex.GetFile()->Flush(), 0); in TEST_F()
2107 ASSERT_EQ(invalid_dex_zip.GetFile()->Flush(), 0); in TEST_F()
2113 ASSERT_EQ(invalid_dex.GetFile()->Flush(), 0); in TEST_F()
Ddex2oat.cc1376 if (!vdex_out->Flush()) { in OpenFile()
2180 if (file->get()->Flush() != 0) { in FlushOutputFile()
2465 UNUSED(tmp_file->Flush()); in SaveDexInput()
/art/runtime/
Dgc_root.h242 Flush(); in ~BufferedRootVisitor()
270 Flush(); in VisitRoot()
275 void Flush() REQUIRES_SHARED(Locks::mutator_lock_) { in Flush() function
Dcommon_runtime_test.h88 if (output_dex->Flush() != 0) { in MutateDexFile()
/art/compiler/jit/
Djit_logger.cc76 UNUSED(perf_file_->Flush()); in ClosePerfMapLog()
302 UNUSED(jit_dump_file_->Flush()); in CloseJitDumpLog()
/art/dex2oat/linker/
Doat_writer_test.cc326 zip_file_->Flush() == 0; in Finish()
566 success = dex_file1.GetFile()->Flush() == 0; in TestDexFileInput()
581 success = dex_file2.GetFile()->Flush() == 0; in TestDexFileInput()
688 success = dex_file1.GetFile()->Flush() == 0; in TestZipFileInput()
706 success = dex_file2.GetFile()->Flush() == 0; in TestZipFileInput()
Doat_writer.cc131 bool Flush() override { in Flush() function in art::linker::OatWriter::ChecksumUpdatingOutputStream
132 return out_->Flush(); in Flush()
2600 if (!vdex_out->Flush()) { in WriteQuickeningInfo()
2655 if (!vdex_out->Flush()) { in WriteVerifierDeps()
2837 if (!out->Flush()) { in WriteHeader()
2848 if (!out->Flush()) { in WriteHeader()
3226 if (!out->Flush()) { in WriteDexFiles()
3298 if (!out->Flush()) { in WriteDexFiles()
3383 if (!out->Flush()) { in SeekToDexFile()
3515 if (file->Flush() != 0) { in WriteDexFile()
[all …]
/art/libelffile/elf/
Delf_builder.h182 bool Flush() override { in Flush() function
183 return owner_->stream_.Flush(); in Flush()
565 stream_.Flush(); in End()
585 stream_.Flush(); in End()
784 stream_.Flush(); in WriteBuildId()
/art/libartbase/base/
Dcommon_art_test.h154 if (output_dex->Flush() != 0) { in MutateDexFile()
/art/compiler/optimizing/
Dgraph_visualizer.cc200 void Flush() { in Flush() function in art::HGraphVisualizerPrinter
821 Flush(); in Run()
903 printer.Flush(); in PrintHeader()
/art/profman/
Dprofile_assistant_test.cc112 ASSERT_EQ(0, profile.GetFile()->Flush()); in SetupProfile()
139 ASSERT_EQ(0, profile.GetFile()->Flush()); in SetupBasicProfile()
252 EXPECT_EQ(0, file->Flush()); in CreateProfile()
281 EXPECT_EQ(0, file->Flush()); in RunProfman()
813 ASSERT_EQ(0, out_profile.GetFile()->Flush()); in TEST_F()
/art/dexlayout/
Ddexlayout_test.cc521 EXPECT_EQ(dex_file->GetFile()->Flush(), 0); in DexLayoutExec()

12