/art/compiler/linker/ |
D | buffered_output_stream.cc | 32 bool BufferedOutputStream::WriteFully(const void* buffer, size_t byte_count) { in WriteFully() function in art::BufferedOutputStream 37 return out_->WriteFully(buffer, byte_count); in WriteFully() 57 success = out_->WriteFully(&buffer_[0], used_); in FlushBuffer()
|
D | file_output_stream.cc | 28 bool FileOutputStream::WriteFully(const void* buffer, size_t byte_count) { in WriteFully() function in art::FileOutputStream 29 return file_->WriteFully(buffer, byte_count); in WriteFully()
|
D | output_stream_test.cc | 44 EXPECT_TRUE(output_stream_->WriteFully(buf, 2)); in GenerateTestOutput() 48 EXPECT_TRUE(output_stream_->WriteFully(buf, 4)); in GenerateTestOutput() 50 EXPECT_TRUE(output_stream_->WriteFully(buf, 6)); in GenerateTestOutput() 108 bool WriteFully(const void* buffer ATTRIBUTE_UNUSED, in TEST_F() function
|
D | error_delaying_output_stream.h | 37 bool WriteFully(const void* buffer, size_t byte_count) OVERRIDE { in WriteFully() function 39 if (!output_->WriteFully(buffer, byte_count)) { in WriteFully()
|
D | relative_patcher.cc | 129 if (UNLIKELY(!out->WriteFully(kPadding, aligned_code_delta))) { in WriteCodeAlignment() 137 if (UNLIKELY(!out->WriteFully(thunk.data(), thunk.size()))) { in WriteThunk() 145 if (UNLIKELY(!out->WriteFully(thunk.data(), thunk.size()))) { in WriteMiscThunk()
|
D | file_output_stream.h | 32 bool WriteFully(const void* buffer, size_t byte_count) OVERRIDE;
|
D | buffered_output_stream.h | 34 bool WriteFully(const void* buffer, size_t byte_count) OVERRIDE;
|
D | output_stream.h | 44 virtual bool WriteFully(const void* buffer, size_t byte_count) = 0;
|
D | relative_patcher_test.h | 133 out_.WriteFully(dummy_trampoline, kTrampolineSize); in Link() 145 out_.WriteFully(kPadding, alignment_size); in Link() 148 out_.WriteFully(dummy_header, sizeof(OatQuickMethodHeader)); in Link() 185 out_.WriteFully(&code[0], code.size()); in Link()
|
D | vector_output_stream.h | 34 bool WriteFully(const void* buffer, size_t byte_count) OVERRIDE { in WriteFully() function
|
D | multi_oat_relative_patcher_test.cc | 223 vos.WriteFully("1", 1); // Mark method1. in TEST_F() 234 vos.WriteFully("2", 1); // Mark method2. in TEST_F() 251 vos.WriteFully("3", 1); // Mark method3. in TEST_F()
|
/art/runtime/base/unix_file/ |
D | fd_file_test.cc | 150 ASSERT_TRUE(src.WriteFully(src_data, sizeof(src_data))); // Including the zero terminator. in TEST_F() 213 EXPECT_TRUE(file.WriteFully(&buffer, sizeof(buffer))); in TEST_F() 237 EXPECT_TRUE(tmp.GetFile()->WriteFully(&buffer[0], length)); in TEST_F() 241 EXPECT_TRUE(tmp2.GetFile()->WriteFully(&buffer[0], length)); in TEST_F() 253 EXPECT_TRUE(tmp3.GetFile()->WriteFully(&buffer[0], length)); in TEST_F() 260 EXPECT_TRUE(tmp4.GetFile()->WriteFully(&buffer[0], length)); in TEST_F() 267 EXPECT_TRUE(tmp5.GetFile()->WriteFully(&buffer[0], length)); in TEST_F() 273 EXPECT_TRUE(tmp6.GetFile()->WriteFully(&buffer[0], length)); in TEST_F() 282 ASSERT_TRUE(file.WriteFully("foo", 3)); in TEST_F()
|
D | fd_file.h | 127 bool WriteFully(const void* buffer, size_t byte_count) WARN_UNUSED;
|
D | fd_file.cc | 299 bool FdFile::WriteFully(const void* buffer, size_t byte_count) { in WriteFully() function in unix_file::FdFile 341 !WriteFully(buffer.get(), chunk_size)) { in Copy()
|
/art/compiler/jit/ |
D | jit_logger.cc | 66 bool res = perf_file_->WriteFully(str.c_str(), str.size()); in WritePerfMapLog() 244 bool res = jit_dump_file_->WriteFully(reinterpret_cast<const char*>(&header), sizeof(header)); in WriteJitDumpHeader() 292 UNUSED(jit_dump_file_->WriteFully(reinterpret_cast<const char*>(&jit_code), sizeof(jit_code))); in WriteJitDumpLog() 293 UNUSED(jit_dump_file_->WriteFully(method_name.c_str(), method_name.size() + 1)); in WriteJitDumpLog() 294 UNUSED(jit_dump_file_->WriteFully(ptr, code_size)); in WriteJitDumpLog()
|
/art/compiler/ |
D | elf_builder.h | 203 bool WriteFully(const void* buffer, size_t byte_count) OVERRIDE { in WriteFully() function 206 return owner_->stream_.WriteFully(buffer, byte_count); in WriteFully() 268 this->WriteFully(cache_.data(), cache_.size()); in Write() 330 this->WriteFully(name.c_str(), name.length() + 1); in Write() 454 this->WriteFully(&abiflags_, sizeof(abiflags_)); in Write() 487 this->WriteFully("GNU", 4); // name. in Write() 490 this->WriteFully(std::string(kBuildIdLen, '\0').c_str(), kBuildIdLen); // desc. in Write() 500 return this->WriteFully(&v, sizeof(v)); in WriteUint32() 575 s->WriteFully(buffer.data(), buffer.size()); in WritePatches() 583 s->WriteFully(buffer->data(), buffer->size()); in WriteSection() [all …]
|
D | oat_writer.cc | 79 bool WriteFully(const void* buffer, size_t byte_count) OVERRIDE { in WriteFully() function in art::__anon2e3301520111::ChecksumUpdatingOutputStream 81 return out_->WriteFully(buffer, byte_count); in WriteFully() 1361 if (!out->WriteFully(&method_header, sizeof(method_header))) { in VisitMethod() 1455 if (!out->WriteFully(quick_code.data(), code_size)) { in VisitMethod() 1647 if (UNLIKELY(!out->WriteFully(map.data(), map_size))) { in VisitMethod() 1704 if (UNLIKELY(!out->WriteFully(map.data(), map_size))) { in VisitMethod() 2071 if (!out_->WriteFully(&length, sizeof(length)) || in VisitMethod() 2072 !out_->WriteFully(map.data(), length)) { in VisitMethod() 2133 if (!out_->WriteFully(&code_item_offset, sizeof(code_item_offset)) || in VisitDexMethods() 2134 !out_->WriteFully(&offset, sizeof(offset))) { in VisitDexMethods() [all …]
|
D | oat_test.cc | 294 if (!zip_file_->WriteFully(&file_header, sizeof(file_header)) || in AddFile() 295 !zip_file_->WriteFully(location, file_header.filename_length) || in AddFile() 296 !zip_file_->WriteFully(data, size)) { in AddFile() 318 if (!zip_file_->WriteFully(&file_data.cdfh, sizeof(file_data.cdfh)) || in Finish() 319 !zip_file_->WriteFully(file_data.location, file_data.cdfh.filename_length)) { in Finish() 330 zip_file_->WriteFully(&eocd_record, sizeof(eocd_record)) && in Finish() 583 bool success = dex_file1.GetFile()->WriteFully(&dex_file1_data->GetHeader(), in TestDexFileInput() 598 success = dex_file2.GetFile()->WriteFully(&dex_file2_data->GetHeader(), in TestDexFileInput() 688 bool success = dex_file1.GetFile()->WriteFully(&dex_file1_data->GetHeader(), in TestZipFileInput() 706 success = dex_file2.GetFile()->WriteFully(&dex_file2_data->GetHeader(), in TestZipFileInput()
|
/art/compiler/debug/ |
D | elf_debug_frame_writer.h | 221 cfi_section->WriteFully(buffer.data(), buffer.size()); in WriteCFISection() 237 cfi_section->WriteFully(buffer.data(), buffer.size()); in WriteCFISection() 264 header_section->WriteFully(buffer.data(), buffer.size()); in WriteCFISection() 270 header_section->WriteFully(binary_search_table.data(), binary_search_table.size()); in WriteCFISection()
|
D | elf_debug_line_writer.h | 270 builder_->GetDebugLine()->WriteFully(buffer.data(), buffer.size()); in WriteCompilationUnit()
|
/art/runtime/jit/ |
D | profile_compilation_info_test.cc | 443 ASSERT_TRUE(profile.GetFile()->WriteFully(buffer, sizeof(buffer))); in TEST_F() 452 ASSERT_TRUE(profile.GetFile()->WriteFully( in TEST_F() 455 ASSERT_TRUE(profile.GetFile()->WriteFully(version, sizeof(version))); in TEST_F() 465 ASSERT_TRUE(profile.GetFile()->WriteFully( in TEST_F() 467 ASSERT_TRUE(profile.GetFile()->WriteFully( in TEST_F() 471 ASSERT_TRUE(profile.GetFile()->WriteFully(line_number, sizeof(line_number))); in TEST_F() 481 ASSERT_TRUE(profile.GetFile()->WriteFully( in TEST_F() 483 ASSERT_TRUE(profile.GetFile()->WriteFully( in TEST_F() 487 ASSERT_TRUE(profile.GetFile()->WriteFully(line_number, sizeof(line_number))); in TEST_F() 492 ASSERT_TRUE(profile.GetFile()->WriteFully(line, sizeof(line))); in TEST_F() [all …]
|
/art/runtime/gc/space/ |
D | image_space_fs.h | 159 if (!file->WriteFully(&num_failed_boots, sizeof(num_failed_boots))) { in MarkZygoteStart()
|
/art/runtime/ |
D | trace.cc | 732 if (!trace_file_->WriteFully(header.c_str(), header.length()) || in FinishTracing() 733 !trace_file_->WriteFully(buf_.get(), final_offset)) { in FinishTracing() 883 if (!trace_file_->WriteFully(buf_.get(), old_offset)) { in WriteToBuf() 889 if (!trace_file_->WriteFully(src, src_size)) { in WriteToBuf() 906 if (!trace_file_->WriteFully(buf_.get(), offset)) { in FlushBuf()
|
D | signal_catcher.cc | 154 bool success = file->WriteFully(s.data(), s.size()); in Output()
|
D | native_stack_dump.cc | 252 if (!pipe_ptr->out.WriteFully(hex_offset.data(), hex_offset.length())) { in Addr2line()
|