/art/dexlayout/ |
D | dex_writer.cc | 183 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 …]
|
D | compact_dex_writer.cc | 84 stream->Write(data.data(), data.size()); in WriteDebugInfoOffsetTable() 192 stream->Write(reinterpret_cast<const uint8_t*>(preheader), preheader_bytes); in WriteCodeItem() 197 stream->Write(&disk_code_item, OFFSETOF_MEMBER(CompactDexFile::CodeItem, insns_)); in WriteCodeItem() 199 stream->Write(code_item->Insns(), code_item->InsnsSize() * sizeof(uint16_t)); in WriteCodeItem() 210 stream->Write(debug_info->GetDebugInfo(), debug_info->GetDebugInfoSize()); in WriteDebugInfoItem() 324 stream->Write(string_data->Data(), strlen(string_data->Data())); in WriteStringData() 376 bool CompactDexWriter::Write(DexContainer* output, std::string* error_msg) { in Write() function in art::CompactDexWriter 481 data_stream->Write(&link_data[0], link_data.size()); in Write()
|
D | dex_writer.h | 91 ALWAYS_INLINE size_t Write(const void* buffer, size_t length) { in Write() function 224 virtual bool Write(DexContainer* output, std::string* error_msg);
|
D | compact_dex_writer.h | 138 bool Write(DexContainer* output, std::string* error_msg) override;
|
/art/libartbase/base/unix_file/ |
D | random_access_file_test.h | 76 … 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()
|
D | random_access_file_utils.cc | 32 if (dst->Write(&buf[0], n, offset) != n) { in CopyFile()
|
D | random_access_file.h | 60 virtual int64_t Write(const char* buf, int64_t byte_count, int64_t offset) = 0;
|
D | fd_file_test.cc | 43 TEST_F(FdFileTest, Write) { in TEST_F() argument 119 EXPECT_TRUE(file.Write(ignore_prefix, sizeof(ignore_prefix), offset)); in TEST_F() 121 EXPECT_TRUE(file.Write(read_suffix, sizeof(read_suffix), offset)); in TEST_F()
|
D | fd_file.h | 74 int64_t Write(const char* buf, int64_t byte_count, int64_t offset) override WARN_UNUSED;
|
D | fd_file.cc | 388 int64_t FdFile::Write(const char* buf, int64_t byte_count, int64_t offset) { in Write() function in unix_file::FdFile
|
/art/compiler/debug/ |
D | elf_symtab_writer.h | 127 symtab->Add(strtab->Write(kSortedSymbolName), nullptr, 0, 0, STB_GLOBAL, STT_NOTYPE); in WriteDebugSymbols() 131 symtab->Add(strtab->Write("$t"), text, mapping_symbol_address, 0, STB_GLOBAL, STT_NOTYPE); in WriteDebugSymbols() 140 name_offset = strtab->Write(info.custom_name); in WriteDebugSymbols() 150 name_offset = strtab->Write(name); in WriteDebugSymbols() 165 typename ElfTypes::Word dex_name = strtab->Write(kDexFileSymbolName); in WriteDebugSymbols()
|
D | elf_debug_writer.cc | 107 cu_writer.Write(compilation_unit); in WriteDebugInfo() 273 strtab->Write(""); // strtab should start with empty string. in PackElfFileForJIT() 279 sym.st_name = strtab->Write(name); in PackElfFileForJIT() 364 cu_writer.Write(types); in WriteDebugElfFileForClasses()
|
D | elf_debug_info_writer.h | 108 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/libartbase/base/ |
D | indenter.h | 45 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/ |
D | quick_field_entrypoints.cc | 119 field_idx, referrer, Static ## PrimitiveOrObject ## Write, \ 126 field = FindFieldFromCode<Static ## PrimitiveOrObject ## Write, true>( \ 129 field = FindFieldFromCode<Static ## PrimitiveOrObject ## Write, true>( \ 157 field_idx, referrer, Instance ## PrimitiveOrObject ## Write, \ 165 FindInstanceField<Instance ## PrimitiveOrObject ## Write, true>( \ 173 FindInstanceField<Instance ## PrimitiveOrObject ## Write, true>( \
|
/art/odrefresh/ |
D | odr_compilation_log.cc | 93 if (log_path_ != nullptr && !Write()) { in ~OdrCompilationLog() 123 bool OdrCompilationLog::Write() const { in Write() function in art::odrefresh::OdrCompilationLog
|
D | odr_compilation_log.h | 95 bool Write() const;
|
/art/tools/create_minidebuginfo/ |
D | create_minidebuginfo.cc | 82 symtab->Add(strtab->Write(kSortedSymbolName), nullptr, 0, 0, STB_GLOBAL, STT_NOTYPE); in WriteMinidebugInfo() 87 Elf_Word name_idx = strtab->Write(name); in WriteMinidebugInfo()
|
/art/libelffile/elf/ |
D | elf_builder.h | 249 void Write() { in Write() function 257 Write(); in WriteCachedSection() 315 Write(""); // ELF specification requires that the section starts with empty string. in Start() 318 Elf_Word Write(std::string_view name) { in Write() function 430 void Write() { in Write() function 548 shstrtab_.Write(""); in End() 550 section->header_.sh_name = shstrtab_.Write(section->name_); in End() 787 build_id_.Write(); in WriteBuildIdSection()
|
D | xz_utils.cc | 82 callbacks.Write = XzCallbacks::WriteImpl; in XzCompress()
|
/art/tools/jvmti-agents/ti-alloc-sample/ |
D | ti_alloc_sample.cc | 245 void Write(const std::string& str) { in Write() function in tifast::__anon9d4dc8ac0111::LockedStream 263 stream->Write(header + std::to_string(next_index_) + "," + key + "\n"); in Intern() 348 stream->Write(string_table->Intern("=", record) + "\n"); in logVMObjectAlloc()
|
/art/dex2oat/linker/ |
D | multi_oat_relative_patcher_test.cc | 223 TEST_F(MultiOatRelativePatcherTest, Write) { in TEST_F() argument
|
D | oat_writer.cc | 231 bool Write(OatWriter* oat_writer, OutputStream* out, const size_t file_offset) const; 258 bool Write(OatWriter* oat_writer, OutputStream* out) const; 320 bool Write(OatWriter* oat_writer, OutputStream* out) const; 2779 if (!oat_class_headers_[i].Write(this, out, oat_data_offset_)) { in WriteClasses() 2784 if (!oat_classes_[i].Write(this, out)) { in WriteClasses() 2985 if (!oat_dex_file->Write(this, out)) { in WriteOatDexFiles() 3892 bool OatWriter::OatDexFile::Write(OatWriter* oat_writer, OutputStream* out) const { in Write() function in art::linker::OatWriter::OatDexFile 4031 bool OatWriter::OatClassHeader::Write(OatWriter* oat_writer, in Write() function in art::linker::OatWriter::OatClassHeader 4049 bool OatWriter::OatClass::Write(OatWriter* oat_writer, OutputStream* out) const { in Write() function in art::linker::OatWriter::OatClass
|
D | image_test.h | 341 bool success_image = writer->Write(File::kInvalidFd, in DoCompile()
|
/art/runtime/interpreter/mterp/ |
D | mterp.cc | 789 MTERP_FIELD_ACCESSOR(MterpIPut##Sufix, PrimType, Instance##Kind##Write) \ 791 MTERP_FIELD_ACCESSOR(MterpSPut##Sufix, PrimType, Static##Kind##Write)
|