/art/libartbase/base/unix_file/ |
H A D | random_access_file_utils.cc | 32 if (dst->Write(&buf[0], n, offset) != n) {
|
H A D | random_access_file.h | 60 virtual int64_t Write(const char* buf, int64_t byte_count, int64_t offset) = 0;
|
H A D | random_access_file_test.h | 76 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 D | fd_file_test.cc | 39 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 D | fd_file.h | 96 int64_t Write(const char* buf, int64_t byte_count, int64_t offset) OVERRIDE WARN_UNUSED;
|
H A D | fd_file.cc | 224 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 D | elf_symtab_writer.h | 75 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 D | elf_debug_writer.cc | 44 // 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 D | elf_gnu_debugdata_writer.h | 69 callbacks.Write = XzCallbacks::WriteImpl;
|
H A D | elf_debug_info_writer.h | 124 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 D | indenter.h | 45 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 D | dex_writer.cc | 183 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 D | compact_dex_writer.cc | 86 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 D | dex_writer.h | 91 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 D | compact_dex_writer.h | 142 bool Write(DexContainer* output, std::string* error_msg) OVERRIDE;
|
/art/runtime/entrypoints/quick/ |
H A D | quick_field_entrypoints.cc | 126 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 D | elf_builder.h | 257 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 D | multi_oat_relative_patcher_test.cc | 217 TEST_F(MultiOatRelativePatcherTest, Write) {
|
H A D | oat_writer.cc | 210 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 D | image_test.h | 352 bool success_image = writer->Write(kInvalidFd,
|
H A D | image_writer.h | 72 // Write a Space built during compilation for use during execution. 126 bool Write(int image_fd,
|
H A D | image_writer.cc | 173 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 D | dex2oat.cc | 2012 // 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_,
|