Searched refs:Write (Results 1 - 20 of 20) sorted by relevance

/art/runtime/base/unix_file/
H A Drandom_access_file_utils.cc30 if (dst->Write(&buf[0], n, offset) != n) {
H A Drandom_access_file.h60 virtual int64_t Write(const char* buf, int64_t byte_count, int64_t offset) = 0;
H A Drandom_access_file_test.h76 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->Write(content.data(), content.size(), 0)));
116 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->Write(content.data(), content.size(), 0)));
145 ASSERT_EQ(-EINVAL, file->Write(content.data(), 0, -123));
148 ASSERT_EQ(0, file->Write(content.data(), 0, 0));
152 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->Write(content.data(), content.size(), 0)));
164 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->Write(content.data(), content.size(),
H A Dfd_file_test.cc39 TEST_F(FdFileTest, Write) {
98 // Write scratch data to file that we can read back into.
99 EXPECT_TRUE(file.Write(ignore_prefix, sizeof(ignore_prefix), offset));
101 EXPECT_TRUE(file.Write(read_suffix, sizeof(read_suffix), offset));
127 // Write scratch data to file that we can read back into.
H A Dfd_file.h58 int64_t Write(const char* buf, int64_t byte_count, int64_t offset) OVERRIDE WARN_UNUSED;
H A Dfd_file.cc180 int64_t FdFile::Write(const char* buf, int64_t byte_count, int64_t offset) { function in class:unix_file::FdFile
/art/compiler/debug/
H A Delf_symtab_writer.h60 strtab->Write(""); // strtab should start with empty string.
69 name_offset = strtab->Write(info.trampoline_name);
77 name_offset = (name == last_name ? last_name_offset : strtab->Write(name));
94 symtab->Add(strtab->Write("$t"), text, address & ~1, 0, STB_LOCAL, STT_NOTYPE);
104 symtab->Write();
H A Delf_gnu_debugdata_writer.h69 callbacks.Write = XzCallbacks::WriteImpl;
H A Delf_debug_writer.cc42 // Write .strtab and .symtab.
45 // Write .debug_frame.
69 // Write .debug_line section.
79 // Write .debug_info section.
85 cu_writer.Write(compilation_unit);
158 cu_writer.Write(types);
H A Delf_debug_info_writer.h119 void Write(const ElfCompilationUnit& compilation_unit) { function in class:art::debug::ElfCompilationUnitWriter
151 // Write reference tag for the class we are about to declare.
191 // Write parameters. DecodeDebugLocalInfo returns them as well, but it does not
202 // Write the stack location of the parameter.
217 // Write the type.
222 // Write the stack location of the parameter.
234 // Write local variables.
278 void Write(const ArrayRef<mirror::Class*>& types) SHARED_REQUIRES(Locks::mutator_lock_) {
409 // Write base class declarations.
443 // Write tabl
[all...]
/art/runtime/
H A Dindenter.h43 Write(s, to_write);
50 Write(s, n);
61 Write(data, 1u);
70 void Write(const char* s, std::streamsize n) { function in class:art::Indenter
H A Dprofiler.h109 uint32_t Write(std::ostream &os, ProfileDataType type);
H A Dprofiler.cc269 // Write out the profile file if we are generating a profile.
467 return profile_table_.Write(os, options_.GetProfileType());
573 // Write the profile table to the output stream. Also merge with the previous profile.
574 uint32_t ProfileSampleResults::Write(std::ostream& os, ProfileDataType type) { function in class:art::ProfileSampleResults
/art/compiler/
H A Delf_builder.h185 // Write this section as "NOBITS" section. (used for the .bss section)
262 void Write() { function in class:art::FINAL::CachedSection
270 Write();
320 Elf_Word Write(const std::string& name) { function in class:art::FINAL::FINAL
448 void Write() { function in class:art::FINAL::FINAL
565 // Write section names and finish the section headers.
567 shstrtab_.Write("");
569 section->header_.sh_name = shstrtab_.Write(section->name_);
576 // Write section headers at the end of the ELF file.
729 abiflags_.Write();
[all...]
H A Doat_writer.cc158 bool Write(OatWriter* oat_writer, OutputStream* out, const size_t file_offset) const;
225 bool Write(OatWriter* oat_writer, OutputStream* out) const;
1306 // Write deduplicated map (code info for Optimizing or transformation info for dex2dex).
1512 // Write padding.
1647 // Write the header.
1689 if (!oat_class.Write(this, out, oat_data_offset_)) {
1817 // Write dex files.
2088 // Write OatDexFile.
2089 if (!oat_dex_file->Write(this, rodata)) {
2301 bool OatWriter::OatDexFile::Write(OatWrite
[all...]
H A Dimage_test.cc178 bool success_image = writer->Write(kInvalidFd,
H A Dimage_writer.h55 // Write a Space built during compilation for use during execution.
116 bool Write(int image_fd,
H A Dimage_writer.cc164 bool ImageWriter::Write(int image_fd, function in class:art::ImageWriter
283 // Write out the image + fields + methods.
291 // Write out the image bitmap at the page aligned start of the image end, also uncompressed for
315 // Write header last in case the compiler gets killed in the middle of image writing.
1348 // Write the image runtime methods.
1666 // Write the intern table into the image.
1685 // Write the class table(s) into the image. class_table_bytes_ may be 0 if there are multiple
1780 // Write in a hash code of objects which have inflated monitors or a hash code in their monitor
/art/compiler/linker/
H A Dmulti_oat_relative_patcher_test.cc206 TEST_F(MultiOatRelativePatcherTest, Write) {
/art/dex2oat/
H A Ddex2oat.cc1617 // Write out the generated code part. Calls the OatWriter and ElfBuilder. Also prepares the
1669 TimingLogger::ScopedTiming t2("dex2oat Write ELF", timings_);
2260 if (!image_writer_->Write(app_image_fd_,

Completed in 309 milliseconds