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

/art/libartbase/base/unix_file/
H A Drandom_access_file_utils.cc32 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) {
100 // Write scratch data to file that we can read back into.
101 EXPECT_TRUE(file.Write(ignore_prefix, sizeof(ignore_prefix), offset));
103 EXPECT_TRUE(file.Write(read_suffix, sizeof(read_suffix), offset));
129 // Write scratch data to file that we can read back into.
H A Dfd_file.h96 int64_t Write(const char* buf, int64_t byte_count, int64_t offset) OVERRIDE WARN_UNUSED;
H A Dfd_file.cc224 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.h75 strtab->Write(""); // strtab should start with empty string.
78 symtab->Add(strtab->Write("$t"), text, mapping_symbol_address, 0, STB_LOCAL, STT_NOTYPE);
87 name_offset = strtab->Write(info.custom_name);
94 name_offset = strtab->Write(name);
109 typename ElfTypes::Word dex_name = strtab->Write(kDexFileSymbolName);
H A Delf_debug_writer.cc44 // Write .strtab and .symtab.
47 // Write .debug_frame.
86 // Write .debug_line section.
96 // Write .debug_info section.
102 cu_writer.Write(compilation_unit);
218 cu_writer.Write(types);
H A Delf_gnu_debugdata_writer.h69 callbacks.Write = XzCallbacks::WriteImpl;
H A Delf_debug_info_writer.h124 void Write(const ElfCompilationUnit& compilation_unit) { function in class:art::debug::ElfCompilationUnitWriter
140 // Write .debug_ranges entries covering code ranges of the whole compilation unit.
178 // Write reference tag for the class we are about to declare.
218 // Write parameters. DecodeDebugLocalInfo returns them as well, but it does not
229 // Write the stack location of the parameter.
244 // Write the type.
249 // Write the stack location of the parameter.
261 // Write local variables.
304 void Write(const ArrayRef<mirror::Class*>& types) REQUIRES_SHARED(Locks::mutator_lock_) {
435 // Write bas
[all...]
/art/runtime/
H A Dindenter.h45 Write(s, to_write);
52 Write(s, n);
63 Write(data, 1u);
72 void Write(const char* s, std::streamsize n) { function in class:art::Indenter
/art/dexlayout/
H A Ddex_writer.cc183 stream->Write(buffer + start, length);
188 stream->Write(buffer, sizeof(uint8_t));
240 stream->Write(&string_data_off, string_id->GetSize());
252 stream->Write(string_data->Data(), strlen(string_data->Data()));
274 stream->Write(descriptor_idx, type_id->GetSize());
289 stream->Write(size, sizeof(uint32_t));
292 stream->Write(list, sizeof(uint16_t));
312 stream->Write(buffer, proto_id->GetSize());
330 stream->Write(buffer, field_id->GetSize());
347 stream->Write(buffe
791 bool DexWriter::Write(DexContainer* output, std::string* error_msg) { function in class:art::DexWriter
[all...]
H A Dcompact_dex_writer.cc86 stream->Write(data.data(), data.size());
190 // Write preheader first.
191 stream->Write(reinterpret_cast<const uint8_t*>(preheader), preheader_bytes);
196 stream->Write(&disk_code_item, OFFSETOF_MEMBER(CompactDexFile::CodeItem, insns_));
197 // Write the instructions.
198 stream->Write(code_item->Insns(), code_item->InsnsSize() * sizeof(uint16_t));
199 // Write the post instruction data.
209 stream->Write(debug_info->GetDebugInfo(), debug_info->GetDebugInfoSize());
329 stream->Write(string_data->Data(), strlen(string_data->Data()));
382 bool CompactDexWriter::Write(DexContaine function in class:art::CompactDexWriter
[all...]
H A Ddex_writer.h91 ALWAYS_INLINE size_t Write(const void* buffer, size_t length) { function in class:art::DexWriter::Stream
224 virtual bool Write(DexContainer* output, std::string* error_msg);
H A Dcompact_dex_writer.h142 bool Write(DexContainer* output, std::string* error_msg) OVERRIDE;
/art/runtime/entrypoints/quick/
H A Dquick_field_entrypoints.cc126 field_idx, referrer, Static ## PrimitiveOrObject ## Write, \
136 field = FindFieldFromCode<Static ## PrimitiveOrObject ## Write, true>( \
139 field = FindFieldFromCode<Static ## PrimitiveOrObject ## Write, true>( \
157 field_idx, referrer, Instance ## PrimitiveOrObject ## Write, \
167 field = FindInstanceField<Instance ## PrimitiveOrObject ## Write, true>( \
174 field = FindInstanceField<Instance ## PrimitiveOrObject ## Write, true>( \
/art/compiler/linker/
H A Delf_builder.h257 void Write() { function in class:art::linker::FINAL::CachedSection
265 Write();
316 Elf_Word Write(const std::string& name) { function in class:art::linker::FINAL::FINAL
465 void Write() { function in class:art::linker::FINAL::FINAL
496 void Write() { function in class:art::linker::FINAL::FINAL
637 // Write section names and finish the section headers.
639 shstrtab_.Write("");
641 section->header_.sh_name = shstrtab_.Write(section->name_);
651 // Write section headers at the end of the ELF file.
825 abiflags_.Write();
[all...]
/art/dex2oat/linker/
H A Dmulti_oat_relative_patcher_test.cc217 TEST_F(MultiOatRelativePatcherTest, Write) {
H A Doat_writer.cc210 bool Write(OatWriter* oat_writer, OutputStream* out, const size_t file_offset) const;
237 bool Write(OatWriter* oat_writer, OutputStream* out) const;
292 bool Write(OatWriter* oat_writer, OutputStream* out) const;
679 // Write DEX files into VDEX, mmap and open them.
685 // Write type lookup tables into the oat file.
690 // Write dex layout sections into the oat file.
1156 // ElfCompilationUnitWriter::Write requires this.
2123 // Write deduplicated map (code info for Optimizing or transformation info for dex2dex).
2180 // Write deduplicated map (code info for Optimizing or transformation info for dex2dex).
2618 // Write paddin
4217 bool OatWriter::OatDexFile::Write(OatWriter* oat_writer, OutputStream* out) const { function in class:OatWriter::OatDexFile
4338 bool OatWriter::OatClassHeader::Write(OatWriter* oat_writer, function in class:OatWriter::OatClassHeader
4356 bool OatWriter::OatClass::Write(OatWriter* oat_writer, OutputStream* out) const { function in class:OatWriter::OatClass
[all...]
H A Dimage_test.h352 bool success_image = writer->Write(kInvalidFd,
H A Dimage_writer.h72 // Write a Space built during compilation for use during execution.
126 bool Write(int image_fd,
H A Dimage_writer.cc173 bool ImageWriter::Write(int image_fd, function in class:art::linker::ImageWriter
293 // Write out the image + fields + methods.
301 // Write out the image bitmap at the page aligned start of the image end, also uncompressed for
324 // Write header last in case the compiler gets killed in the middle of image writing.
1675 // Write the image runtime methods.
2119 // Write the intern table into the image.
2137 // Write the class table(s) into the image. class_table_bytes_ may be 0 if there are multiple
2226 // Write in a hash code of objects which have inflated monitors or a hash code in their monitor
/art/dex2oat/
H A Ddex2oat.cc2012 // Write out the generated code part. Calls the OatWriter and ElfBuilder. Also prepares the
2072 TimingLogger::ScopedTiming t2("dex2oat Write VDEX", timings_);
2100 TimingLogger::ScopedTiming t2("dex2oat Write ELF", timings_);
2692 if (!image_writer_->Write(app_image_fd_,

Completed in 977 milliseconds