Home
last modified time | relevance | path

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

/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.h74 int64_t Write(const char* buf, int64_t byte_count, int64_t offset) override WARN_UNUSED;
Dfd_file_test.cc61 TEST_F(FdFileTest, Write) { in TEST_F() argument
137 EXPECT_TRUE(file.Write(ignore_prefix, sizeof(ignore_prefix), offset)); in TEST_F()
139 EXPECT_TRUE(file.Write(read_suffix, sizeof(read_suffix), offset)); in TEST_F()
Dfd_file.cc397 int64_t FdFile::Write(const char* buf, int64_t byte_count, int64_t offset) { in Write() function in unix_file::FdFile
/art/compiler/debug/
Delf_symtab_writer.h128 symtab->Add(strtab->Write(kSortedSymbolName), nullptr, 0, 0, STB_GLOBAL, STT_NOTYPE); in WriteDebugSymbols()
132 symtab->Add(strtab->Write("$t"), text, mapping_symbol_address, 0, STB_GLOBAL, STT_NOTYPE); in WriteDebugSymbols()
141 name_offset = strtab->Write(info.custom_name); in WriteDebugSymbols()
151 name_offset = strtab->Write(name); in WriteDebugSymbols()
166 typename ElfTypes::Word dex_name = strtab->Write(kDexFileSymbolName); in WriteDebugSymbols()
Delf_debug_writer.cc107 cu_writer.Write(compilation_unit); in WriteDebugInfo()
272 strtab->Write(""); // strtab should start with empty string. in PackElfFileForJIT()
278 sym.st_name = strtab->Write(name); in PackElfFileForJIT()
364 cu_writer.Write(types); in WriteDebugElfFileForClasses()
Delf_debug_info_writer.h109 void Write(const ElfCompilationUnit& compilation_unit) { in Write() function
287 void Write(const ArrayRef<mirror::Class*>& types) REQUIRES_SHARED(Locks::mutator_lock_) { in Write() function
/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.cc160 Static ## PrimitiveOrObject ## Write, \
167 field = FindFieldFromCode<Static ## PrimitiveOrObject ## Write>( \
173 field = FindFieldFromCode<Static ## PrimitiveOrObject ## Write>( \
195 Instance ## PrimitiveOrObject ## Write, \
202 field = FindInstanceField<Instance ## PrimitiveOrObject ## Write>( \
209 field = FindInstanceField<Instance ## PrimitiveOrObject ## Write>( \
/art/odrefresh/
Dodr_compilation_log.h92 bool Write() const;
Dodr_compilation_log.cc93 if (log_path_ != nullptr && !Write()) { in ~OdrCompilationLog()
123 bool OdrCompilationLog::Write() const { in Write() function in art::odrefresh::OdrCompilationLog
/art/tools/create_minidebuginfo/
Dcreate_minidebuginfo.cc82 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/
Delf_builder.h249 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
550 shstrtab_.Write(""); in End()
552 section->header_.sh_name = shstrtab_.Write(section->name_); in End()
799 build_id_.Write(); in WriteBuildIdSection()
Dxz_utils.cc83 callbacks.Write = XzCallbacks::WriteImpl; in XzCompress()
/art/tools/jvmti-agents/ti-alloc-sample/
Dti_alloc_sample.cc245 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/
Doat_writer.cc136 bool Write(OatWriter* oat_writer, OutputStream* out) const;
190 bool Write(OatWriter* oat_writer, OutputStream* out, const size_t file_offset) const;
217 bool Write(OatWriter* oat_writer, OutputStream* out) const;
278 bool Write(OatWriter* oat_writer, OutputStream* out) const;
2795 if (!oat_class_headers_[i].Write(this, out, oat_data_offset_)) { in WriteClasses()
2800 if (!oat_classes_[i].Write(this, out)) { in WriteClasses()
3086 if (!oat_dex_file->Write(this, out)) { in WriteOatDexFiles()
3114 if (!bcp_bss_info_[i].Write(this, out)) { in WriteBcpBssInfo()
3859 bool OatWriter::OatDexFile::Write(OatWriter* oat_writer, OutputStream* out) const { in Write() function in art::linker::OatWriter::OatDexFile
3960 bool OatWriter::BssMappingInfo::Write(OatWriter* oat_writer, OutputStream* out) const { in Write() function in art::linker::OatWriter::BssMappingInfo
[all …]
Dmulti_oat_relative_patcher_test.cc223 TEST_F(MultiOatRelativePatcherTest, Write) { in TEST_F() argument
Dimage_test.h351 bool success_image = writer->Write(File::kInvalidFd, in DoCompile()
Dimage_writer.h156 bool Write(int image_fd,
Dimage_writer.cc555 bool ImageWriter::Write(int image_fd, in Write() function in art::linker::ImageWriter
/art/dex2oat/
Ddex2oat.cc2771 if (!image_writer_->Write(IsAppImage() ? app_image_fd_ : image_fd_, in CreateImageFile()