/art/compiler/linker/ |
D | output_stream_test.cc | 32 off_t actual = output_stream_->Seek(0, kSeekCurrent); in CheckOffset() 41 EXPECT_EQ(3, output_stream_->Seek(3, kSeekCurrent)); in GenerateTestOutput() 43 EXPECT_EQ(2, output_stream_->Seek(2, kSeekSet)); in GenerateTestOutput() 48 EXPECT_EQ(6, output_stream_->Seek(2, kSeekEnd)); in GenerateTestOutput() 116 off_t Seek(off_t offset ATTRIBUTE_UNUSED, Whence whence ATTRIBUTE_UNUSED) override { in TEST_F() function
|
/art/libelffile/stream/ |
D | buffered_output_stream.cc | 63 off_t BufferedOutputStream::Seek(off_t offset, Whence whence) { in Seek() function in art::BufferedOutputStream 67 return out_->Seek(offset, whence); in Seek()
|
D | error_delaying_output_stream.h | 53 off_t Seek(off_t offset, Whence whence) override { in Seek() function 69 off_t actual_offset = output_->Seek(offset, whence); in Seek()
|
D | file_output_stream.cc | 32 off_t FileOutputStream::Seek(off_t offset, Whence whence) { in Seek() function in art::FileOutputStream
|
D | file_output_stream.h | 34 off_t Seek(off_t offset, Whence whence) override;
|
D | buffered_output_stream.h | 36 off_t Seek(off_t offset, Whence whence) override;
|
D | vector_output_stream.cc | 26 off_t VectorOutputStream::Seek(off_t offset, Whence whence) { in Seek() function in art::VectorOutputStream
|
D | output_stream.h | 46 virtual off_t Seek(off_t offset, Whence whence) = 0;
|
D | vector_output_stream.h | 48 off_t Seek(off_t offset, Whence whence) override;
|
/art/libelffile/elf/ |
D | elf_builder.h | 154 off_t file_offset = owner_->stream_.Seek(0, kSeekCurrent); in GetPosition() 175 off_t Seek(off_t offset, Whence whence) override { in Seek() function 177 return owner_->stream_.Seek(offset, whence); in Seek() 428 digest_start_ = this->Seek(0, kSeekCurrent); in Write() 520 stream_.Seek(size, kSeekSet); 560 off_t file_size = stream_.Seek(0, kSeekCurrent); in End() 582 stream_.Seek(0, kSeekSet); in End() 617 stream_.Seek(end, kSeekSet); in Strip() 782 stream_.Seek(build_id_.GetDigestStart(), kSeekSet); in WriteBuildId() 798 return stream_.Seek(RoundUp(stream_.Seek(0, kSeekCurrent), alignment), kSeekSet); in AlignFileOffset()
|
/art/dexlayout/ |
D | dex_writer.h | 85 void Seek(size_t position) { in Seek() function 143 stream->Seek(offset); in ScopedSeek() 147 stream_->Seek(offset_); in ~ScopedSeek()
|
D | compact_dex_writer.cc | 132 stream_->Seek(start_offset_); in ~ScopedDataSectionItem() 311 stream->Seek(0); in WriteHeader() 397 data_stream->Seek(std::max( in Write() 404 main_stream->Seek(GetHeaderSize()); in Write() 469 data_stream->Seek(header_->MapListOffset()); in Write() 482 data_stream->Seek(header_->LinkOffset()); in Write()
|
D | dex_writer.cc | 554 stream->Seek(offset + handlers->GetListOffset()); in WriteCodeItemPostInstructionData() 567 stream->Seek(max_offset); in WriteCodeItemPostInstructionData() 833 stream->Seek(0); in WriteHeader() 848 stream->Seek(GetHeaderSize()); in Write() 917 stream->Seek(header_->MapListOffset()); in Write() 940 stream->Seek(header_->LinkOffset()); in Write() 992 stream->Seek(item->GetOffset()); in ProcessOffset() 1001 stream->Seek(item->GetOffset()); in ProcessOffset()
|
/art/dex2oat/linker/ |
D | oat_writer.cc | 128 off_t Seek(off_t offset, Whence whence) override { in Seek() function in art::linker::OatWriter::ChecksumUpdatingOutputStream 129 return out_->Seek(offset, whence); in Seek() 373 DCHECK_EQ(static_cast<off_t>(file_offset + relative_offset), out->Seek(0, kSeekCurrent)) \ 377 DCHECK_EQ(static_cast<off_t>(file_offset + offset_), out->Seek(0, kSeekCurrent)) \ 2375 off_t current_offset = out->Seek(0, kSeekCurrent); in WriteRodata() 2417 off_t new_offset = out->Seek(size_executable_offset_alignment_, kSeekCurrent); in WriteRodata() 2687 const off_t oat_end_file_offset = out->Seek(0, kSeekCurrent); in CheckOatSize() 2780 off_t current_offset = out->Seek(0, kSeekCurrent); in WriteHeader() 2785 if (out->Seek(file_offset, kSeekSet) == static_cast<off_t>(-1)) { in WriteHeader() 2789 DCHECK_EQ(file_offset, static_cast<size_t>(out->Seek(0, kSeekCurrent))); in WriteHeader() [all …]
|