Home
last modified time | relevance | path

Searched refs:Seek (Results 1 – 14 of 14) sorted by relevance

/art/compiler/linker/
Doutput_stream_test.cc32 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/
Dbuffered_output_stream.cc63 off_t BufferedOutputStream::Seek(off_t offset, Whence whence) { in Seek() function in art::BufferedOutputStream
67 return out_->Seek(offset, whence); in Seek()
Derror_delaying_output_stream.h53 off_t Seek(off_t offset, Whence whence) override { in Seek() function
69 off_t actual_offset = output_->Seek(offset, whence); in Seek()
Dfile_output_stream.cc32 off_t FileOutputStream::Seek(off_t offset, Whence whence) { in Seek() function in art::FileOutputStream
Dfile_output_stream.h34 off_t Seek(off_t offset, Whence whence) override;
Dbuffered_output_stream.h36 off_t Seek(off_t offset, Whence whence) override;
Dvector_output_stream.cc26 off_t VectorOutputStream::Seek(off_t offset, Whence whence) { in Seek() function in art::VectorOutputStream
Doutput_stream.h46 virtual off_t Seek(off_t offset, Whence whence) = 0;
Dvector_output_stream.h48 off_t Seek(off_t offset, Whence whence) override;
/art/libelffile/elf/
Delf_builder.h154 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/
Ddex_writer.h85 void Seek(size_t position) { in Seek() function
143 stream->Seek(offset); in ScopedSeek()
147 stream_->Seek(offset_); in ~ScopedSeek()
Dcompact_dex_writer.cc132 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()
Ddex_writer.cc554 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/
Doat_writer.cc128 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 …]