Home
last modified time | relevance | path

Searched refs:Seek (Results 1 – 15 of 15) 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()
438 digest_start_ = this->Seek(0, kSeekCurrent); in Write()
530 stream_.Seek(size, kSeekSet);
570 off_t file_size = stream_.Seek(0, kSeekCurrent); in End()
592 stream_.Seek(0, kSeekSet); in End()
627 stream_.Seek(end, kSeekSet); in Strip()
792 stream_.Seek(build_id_.GetDigestStart(), kSeekSet); in WriteBuildId()
808 return stream_.Seek(RoundUp(stream_.Seek(0, kSeekCurrent), alignment), kSeekSet); in AlignFileOffset()
/art/dexlayout/
Dcompact_dex_writer.cc134 stream_->Seek(start_offset_); in ~ScopedDataSectionItem()
309 stream->Seek(0); in WriteHeader()
395 data_stream->Seek(std::max( in Write()
401 main_stream->Seek(GetHeaderSize()); in Write()
466 data_stream->Seek(header_->MapListOffset()); in Write()
479 data_stream->Seek(header_->LinkOffset()); in Write()
Ddex_writer.h85 void Seek(size_t position) { in Seek() function
143 stream->Seek(offset); in ScopedSeek()
147 stream_->Seek(offset_); in ~ScopedSeek()
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.cc127 off_t Seek(off_t offset, Whence whence) override { in Seek() function in art::linker::OatWriter::ChecksumUpdatingOutputStream
128 return out_->Seek(offset, whence); in Seek()
378 DCHECK_EQ(static_cast<off_t>(file_offset + relative_offset), out->Seek(0, kSeekCurrent)) \
382 DCHECK_EQ(static_cast<off_t>(file_offset + offset_), out->Seek(0, kSeekCurrent)) \
2457 off_t current_offset = out->Seek(0, kSeekCurrent); in WriteRodata()
2499 off_t new_offset = out->Seek(size_executable_offset_alignment_, kSeekCurrent); in WriteRodata()
2612 const off_t oat_end_file_offset = out->Seek(0, kSeekCurrent); in CheckOatSize()
2711 off_t current_offset = out->Seek(0, kSeekCurrent); in WriteHeader()
2716 if (out->Seek(file_offset, kSeekSet) == static_cast<off_t>(-1)) { in WriteHeader()
2720 DCHECK_EQ(file_offset, static_cast<size_t>(out->Seek(0, kSeekCurrent))); in WriteHeader()
[all …]
/art/libprofile/profile/
Dprofile_compilation_info.cc374 bool Seek(off_t offset);
1401 bool ProfileCompilationInfo::ProfileSource::Seek(off_t offset) { in Seek() function in art::ProfileCompilationInfo::ProfileSource
1465 if (!source.Seek(section_info.GetFileOffset())) { in ReadSectionData()