Home
last modified time | relevance | path

Searched refs:file_offset (Results 1 – 5 of 5) sorted by relevance

/art/libartbase/base/
Dmem_map_windows.cc48 off_t file_offset = fd_off - padding; in TargetMMap() local
96 file_offset + map_length > file_length.QuadPart) { in TargetMMap()
115 DWORD offset_low = static_cast<DWORD>(file_offset & 0xffffffffU); in TargetMMap()
117 DWORD offset_high = static_cast<DWORD>(file_offset >> 32); in TargetMMap()
/art/dex2oat/linker/
Doat_writer.h187 bool CheckOatSize(OutputStream* out, size_t file_offset, size_t relative_offset);
315 size_t WriteClassOffsets(OutputStream* out, size_t file_offset, size_t relative_offset);
316 size_t WriteClasses(OutputStream* out, size_t file_offset, size_t relative_offset);
317 size_t WriteMaps(OutputStream* out, size_t file_offset, size_t relative_offset);
318 size_t WriteIndexBssMappings(OutputStream* out, size_t file_offset, size_t relative_offset);
319 size_t WriteOatDexFiles(OutputStream* out, size_t file_offset, size_t relative_offset);
320 size_t WriteCode(OutputStream* out, size_t file_offset, size_t relative_offset);
321 size_t WriteCodeDexFiles(OutputStream* out, size_t file_offset, size_t relative_offset);
322 size_t WriteDataBimgRelRo(OutputStream* out, size_t file_offset, size_t relative_offset);
Doat_writer.cc231 bool Write(OatWriter* oat_writer, OutputStream* out, const size_t file_offset) const;
378 DCHECK_EQ(static_cast<off_t>(file_offset + relative_offset), out->Seek(0, kSeekCurrent)) \
379 << "file_offset=" << file_offset << " relative_offset=" << relative_offset
382 DCHECK_EQ(static_cast<off_t>(file_offset + offset_), out->Seek(0, kSeekCurrent)) \
383 << "file_offset=" << file_offset << " offset_=" << offset_
1669 const size_t file_offset, in WriteCodeMethodVisitor() argument
1679 file_offset_(file_offset), in WriteCodeMethodVisitor()
1734 size_t file_offset = file_offset_; // Used by DCHECK_OFFSET_ macro. in VisitMethod() local
2456 size_t file_offset = oat_data_offset_; in WriteRodata() local
2461 DCHECK_GE(static_cast<size_t>(current_offset), file_offset + oat_header_->GetHeaderSize()); in WriteRodata()
[all …]
/art/libprofile/profile/
Dprofile_compilation_info.cc232 uint32_t file_offset, in FileSectionInfo() argument
236 file_offset_(file_offset), in FileSectionInfo()
240 void SetFileOffset(uint32_t file_offset) { in SetFileOffset() argument
242 DCHECK_NE(file_offset, 0u); in SetFileOffset()
243 file_offset_ = file_offset; in SetFileOffset()
987 uint32_t file_offset = header_and_infos_size; in Save() local
990 section_infos[section_index] = FileSectionInfo(type, file_offset, file_size, inflated_size); in Save()
991 file_offset += file_size; in Save()
1062 if (file_offset > GetSizeWarningThresholdBytes()) { in Save()
1065 << " It has " << file_offset << " bytes"; in Save()
[all …]
/art/libelffile/elf/
Delf_builder.h154 off_t file_offset = owner_->stream_.Seek(0, kSeekCurrent); in GetPosition() local
155 DCHECK_GE(file_offset, (off_t)header_.sh_offset); in GetPosition()
156 return file_offset - header_.sh_offset; in GetPosition()