Home
last modified time | relevance | path

Searched refs:WriteFully (Results 1 – 21 of 21) sorted by relevance

/art/compiler/
Dbuffered_output_stream.cc26 bool BufferedOutputStream::WriteFully(const void* buffer, size_t byte_count) { in WriteFully() function in art::BufferedOutputStream
29 return out_->WriteFully(buffer, byte_count); in WriteFully()
46 success = out_->WriteFully(&buffer_[0], used_); in Flush()
Dfile_output_stream.cc28 bool FileOutputStream::WriteFully(const void* buffer, size_t byte_count) { in WriteFully() function in art::FileOutputStream
29 return file_->WriteFully(buffer, byte_count); in WriteFully()
Doat_writer.cc589 if (UNLIKELY(!out->WriteFully(kPadding, aligned_code_delta))) { in VisitMethod()
609 if (!out->WriteFully(&method_header, sizeof(method_header))) { in VisitMethod()
616 if (!out->WriteFully(&(*quick_code)[0], code_size)) { in VisitMethod()
669 if (UNLIKELY(!out->WriteFully(&(*map)[0], map_size))) { in VisitMethod()
883 if (!out->WriteFully(oat_header_, header_size)) { in Write()
981 if (!out->WriteFully(&dex_file->GetHeader(), dex_file->GetHeader().file_size_)) { in WriteTables()
1044 if (!out->WriteFully(&(*field)[0], field->size())) { \ in WriteCode()
1118 if (!out->WriteFully(&dex_file_location_size_, sizeof(dex_file_location_size_))) { in Write()
1123 if (!out->WriteFully(dex_file_location_data_, dex_file_location_size_)) { in Write()
1128 if (!out->WriteFully(&dex_file_location_checksum_, sizeof(dex_file_location_checksum_))) { in Write()
[all …]
Doutput_stream_test.cc44 EXPECT_TRUE(output_stream_->WriteFully(buf, 2)); in GenerateTestOutput()
48 EXPECT_TRUE(output_stream_->WriteFully(buf, 4)); in GenerateTestOutput()
Dfile_output_stream.h32 virtual bool WriteFully(const void* buffer, size_t byte_count);
Dbuffered_output_stream.h34 virtual bool WriteFully(const void* buffer, size_t byte_count);
Doutput_stream.h45 virtual bool WriteFully(const void* buffer, size_t byte_count) = 0;
Dvector_output_stream.h34 bool WriteFully(const void* buffer, size_t byte_count) { in WriteFully() function
Dimage_writer.cc160 if (!image_file->WriteFully(image_->Begin(), image_end_)) { in Write()
Delf_writer_quick.cc77 if (!elf_file->WriteFully(data_, size_)) { in DoActualWrite()
/art/runtime/base/unix_file/
Dfd_file.h65 bool WriteFully(const void* buffer, size_t byte_count);
Dfd_file.cc136 bool FdFile::WriteFully(const void* buffer, size_t byte_count) { in WriteFully() function in unix_file::FdFile
/art/runtime/
Ddex_file_verifier_test.cc115 if (!file->WriteFully(dex_bytes.get(), length)) { in OpenDexFileBase64()
177 if (!file->WriteFully(bytes, length)) { in FixChecksumAndOpen()
Dsignal_catcher.cc112 if (!file->WriteFully(s.data(), s.size())) { in Output()
Dtrace.cc550 if (!trace_file_->WriteFully(header.c_str(), header.length()) || in FinishTracing()
551 !trace_file_->WriteFully(buf_.get(), final_offset)) { in FinishTracing()
Ddex_file_test.cc146 if (!file->WriteFully(dex_bytes.get(), length)) { in OpenDexFileBase64()
/art/compiler/llvm/
Dllvm_compilation_unit.cc156 output->WriteFully(bitcode.data(), bitcode.size()); in DumpBitcodeToFile()
183 output->WriteFully(elf_object_.data(), elf_object_.size()); in Materialize()
/art/compiler/sea_ir/debug/
Ddot_gen.h112 fos.WriteFully(graph_as_string.c_str(), graph_as_string.size()); in DumpSea()
/art/runtime/hprof/
Dhprof.cc479 okay = file->WriteFully(header_data_ptr_, header_data_size_) && in Dump()
480 file->WriteFully(body_data_ptr_, body_data_size_); in Dump()
/art/patchoat/
Dpatchoat.cc298 if (out->WriteFully(reinterpret_cast<char*>(oat_file_->Begin()), expect) && in WriteElf()
317 if (out->WriteFully(reinterpret_cast<char*>(image_->Begin()), expect) && in WriteImage()
/art/dex2oat/
Ddex2oat.cc1351 tmp_file->WriteFully(dex_file->Begin(), dex_file->Size()); in dex2oat()
1507 bool write_ok = out->WriteFully(buffer.get(), bytes_read); in dex2oat()