Home
last modified time | relevance | path

Searched refs:Write (Results 1 – 24 of 24) sorted by relevance

/art/compiler/debug/
Delf_symtab_writer.h75 strtab->Write(""); // strtab should start with empty string. in WriteDebugSymbols()
78 symtab->Add(strtab->Write("$t"), text, mapping_symbol_address, 0, STB_LOCAL, STT_NOTYPE); in WriteDebugSymbols()
87 name_offset = strtab->Write(info.custom_name); in WriteDebugSymbols()
94 name_offset = strtab->Write(name); in WriteDebugSymbols()
109 typename ElfTypes::Word dex_name = strtab->Write(kDexFileSymbolName); in WriteDebugSymbols()
Delf_debug_writer.cc106 cu_writer.Write(compilation_unit); in WriteDebugInfo()
268 strtab->Write(""); // strtab should start with empty string. in PackElfFileForJIT()
274 sym.st_name = strtab->Write(name); in PackElfFileForJIT()
358 cu_writer.Write(types); in WriteDebugElfFileForClasses()
Delf_debug_info_writer.h108 void Write(const ElfCompilationUnit& compilation_unit) { in Write() function
286 void Write(const ArrayRef<mirror::Class*>& types) REQUIRES_SHARED(Locks::mutator_lock_) { in Write() function
/art/dexlayout/
Ddex_writer.cc183 stream->Write(buffer + start, length); in WriteEncodedValue()
188 stream->Write(buffer, sizeof(uint8_t)); in WriteEncodedValueHeader()
240 stream->Write(&string_data_off, string_id->GetSize()); in WriteStringIds()
252 stream->Write(string_data->Data(), strlen(string_data->Data())); in WriteStringData()
274 stream->Write(descriptor_idx, type_id->GetSize()); in WriteTypeIds()
289 stream->Write(size, sizeof(uint32_t)); in WriteTypeLists()
292 stream->Write(list, sizeof(uint16_t)); in WriteTypeLists()
312 stream->Write(buffer, proto_id->GetSize()); in WriteProtoIds()
330 stream->Write(buffer, field_id->GetSize()); in WriteFieldIds()
347 stream->Write(buffer, method_id->GetSize()); in WriteMethodIds()
[all …]
Dcompact_dex_writer.cc85 stream->Write(data.data(), data.size()); in WriteDebugInfoOffsetTable()
190 stream->Write(reinterpret_cast<const uint8_t*>(preheader), preheader_bytes); in WriteCodeItem()
195 stream->Write(&disk_code_item, OFFSETOF_MEMBER(CompactDexFile::CodeItem, insns_)); in WriteCodeItem()
197 stream->Write(code_item->Insns(), code_item->InsnsSize() * sizeof(uint16_t)); in WriteCodeItem()
208 stream->Write(debug_info->GetDebugInfo(), debug_info->GetDebugInfoSize()); in WriteDebugInfoItem()
326 stream->Write(string_data->Data(), strlen(string_data->Data())); in WriteStringData()
378 bool CompactDexWriter::Write(DexContainer* output, std::string* error_msg) { in Write() function in art::CompactDexWriter
484 data_stream->Write(&link_data[0], link_data.size()); in Write()
Ddex_writer.h91 ALWAYS_INLINE size_t Write(const void* buffer, size_t length) { in Write() function
224 virtual bool Write(DexContainer* output, std::string* error_msg);
Dcompact_dex_writer.h142 bool Write(DexContainer* output, std::string* error_msg) override;
/art/libartbase/base/unix_file/
Drandom_access_file_test.h76 … ASSERT_EQ(content.size(), static_cast<uint64_t>(file->Write(content.data(), content.size(), 0))); in TestRead()
116 … ASSERT_EQ(content.size(), static_cast<uint64_t>(file->Write(content.data(), content.size(), 0))); in TestSetLength()
145 ASSERT_EQ(-EINVAL, file->Write(content.data(), 0, -123)); in TestWrite()
148 ASSERT_EQ(0, file->Write(content.data(), 0, 0)); in TestWrite()
152 … ASSERT_EQ(content.size(), static_cast<uint64_t>(file->Write(content.data(), content.size(), 0))); in TestWrite()
164 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->Write(content.data(), content.size(), in TestWrite()
Drandom_access_file_utils.cc32 if (dst->Write(&buf[0], n, offset) != n) { in CopyFile()
Drandom_access_file.h60 virtual int64_t Write(const char* buf, int64_t byte_count, int64_t offset) = 0;
Dfd_file_test.cc43 TEST_F(FdFileTest, Write) { in TEST_F() argument
105 EXPECT_TRUE(file.Write(ignore_prefix, sizeof(ignore_prefix), offset)); in TEST_F()
107 EXPECT_TRUE(file.Write(read_suffix, sizeof(read_suffix), offset)); in TEST_F()
Dfd_file.h72 int64_t Write(const char* buf, int64_t byte_count, int64_t offset) override WARN_UNUSED;
Dfd_file.cc388 int64_t FdFile::Write(const char* buf, int64_t byte_count, int64_t offset) { in Write() function in unix_file::FdFile
/art/libartbase/base/
Dindenter.h45 Write(s, to_write); in xsputn()
52 Write(s, n); in xsputn()
63 Write(data, 1u); in overflow()
72 void Write(const char* s, std::streamsize n) { in Write() function
/art/runtime/entrypoints/quick/
Dquick_field_entrypoints.cc119 field_idx, referrer, Static ## PrimitiveOrObject ## Write, \
129 field = FindFieldFromCode<Static ## PrimitiveOrObject ## Write, true>( \
132 field = FindFieldFromCode<Static ## PrimitiveOrObject ## Write, true>( \
150 field_idx, referrer, Instance ## PrimitiveOrObject ## Write, \
160 field = FindInstanceField<Instance ## PrimitiveOrObject ## Write, true>( \
167 field = FindInstanceField<Instance ## PrimitiveOrObject ## Write, true>( \
/art/libelffile/elf/
Delf_builder.h249 void Write() { in Write() function
257 Write(); in WriteCachedSection()
313 Elf_Word Write(const std::string& name) { in Write() function
420 void Write() { in Write() function
538 shstrtab_.Write(""); in End()
540 section->header_.sh_name = shstrtab_.Write(section->name_); in End()
777 build_id_.Write(); in WriteBuildIdSection()
Dxz_utils.cc81 callbacks.Write = XzCallbacks::WriteImpl; in XzCompress()
/art/dex2oat/linker/
Dmulti_oat_relative_patcher_test.cc217 TEST_F(MultiOatRelativePatcherTest, Write) { in TEST_F() argument
Doat_writer.cc220 bool Write(OatWriter* oat_writer, OutputStream* out, const size_t file_offset) const;
247 bool Write(OatWriter* oat_writer, OutputStream* out) const;
302 bool Write(OatWriter* oat_writer, OutputStream* out) const;
2893 if (!oat_class_headers_[i].Write(this, out, oat_data_offset_)) { in WriteClasses()
2898 if (!oat_classes_[i].Write(this, out)) { in WriteClasses()
3058 if (!oat_dex_file->Write(this, out)) { in WriteOatDexFiles()
4058 bool OatWriter::OatDexFile::Write(OatWriter* oat_writer, OutputStream* out) const { in Write() function in art::linker::OatWriter::OatDexFile
4179 bool OatWriter::OatClassHeader::Write(OatWriter* oat_writer, in Write() function in art::linker::OatWriter::OatClassHeader
4197 bool OatWriter::OatClass::Write(OatWriter* oat_writer, OutputStream* out) const { in Write() function in art::linker::OatWriter::OatClass
Dimage_test.h345 bool success_image = writer->Write(kInvalidFd, in DoCompile()
Dimage_writer.h144 bool Write(int image_fd,
Dimage_writer.cc701 bool ImageWriter::Write(int image_fd, in Write() function in art::linker::ImageWriter
/art/runtime/interpreter/mterp/
Dmterp.cc833 MTERP_FIELD_ACCESSOR(MterpIPut##Sufix, PrimType, Instance##Kind##Write) \
835 MTERP_FIELD_ACCESSOR(MterpSPut##Sufix, PrimType, Static##Kind##Write)
/art/dex2oat/
Ddex2oat.cc2588 if (!image_writer_->Write(app_image_fd_, in CreateImageFile()