Home
last modified time | relevance | path

Searched refs:current_offset (Results 1 – 6 of 6) sorted by relevance

/art/libdexfile/dex/
Dcompact_offset_table.cc55 uint32_t current_offset = minimum_offset_; in GetOffset() local
57 current_offset += DecodeUnsignedLeb128(&block); in GetOffset()
60 return current_offset; in GetOffset()
Ddex_file_verifier.cc2312 const size_t current_offset = offset; in CheckIntraSection() local
2405 if (offset == current_offset) { in CheckIntraSection()
/art/dex2oat/linker/
Doat_writer.cc2375 off_t current_offset = out->Seek(0, kSeekCurrent); in WriteRodata() local
2376 if (current_offset == static_cast<off_t>(-1)) { in WriteRodata()
2379 DCHECK_GE(static_cast<size_t>(current_offset), file_offset + oat_header_->GetHeaderSize()); in WriteRodata()
2380 size_t relative_offset = current_offset - file_offset; in WriteRodata()
2504 const uint32_t current_offset = start_offset_ + written_bytes_; in VisitDexMethods() local
2505 CHECK_ALIGNED_PARAM(current_offset, CompactOffsetTable::kAlignment); in VisitDexMethods()
2513 out_table_offsets_->push_back(current_offset); in VisitDexMethods()
2554 size_t current_offset = RoundUp(extra_bytes_offset, CompactOffsetTable::kAlignment); in WriteQuickeningInfo() local
2555 const size_t extra_bytes = current_offset - extra_bytes_offset; in WriteQuickeningInfo()
2569 current_offset += table_visitor.GetNumberOfWrittenBytes(); in WriteQuickeningInfo()
[all …]
Dimage_writer.cc874 size_t current_offset = image_info.GetBinSlotSize(bin); in AssignImageBinSlot() local
878 BinSlot new_bin_slot(bin, current_offset); in AssignImageBinSlot()
/art/dexlayout/
Ddex_ir_builder.cc624 uint32_t current_offset = start_offset; in AddAnnotationsFromMapListSection() local
627 const dex::AnnotationItem* annotation = dex_file.GetAnnotationItemAtOffset(current_offset); in AddAnnotationsFromMapListSection()
630 current_offset += annotation_item->GetSize(); in AddAnnotationsFromMapListSection()
/art/runtime/
Dclass_linker.cc631 uint32_t current_offset = gap_start; in AddFieldGap() local
632 while (current_offset != gap_end) { in AddFieldGap()
633 size_t remaining = gap_end - current_offset; in AddFieldGap()
634 if (remaining >= sizeof(uint32_t) && IsAligned<4>(current_offset)) { in AddFieldGap()
635 gaps->push(FieldGap {current_offset, sizeof(uint32_t)}); in AddFieldGap()
636 current_offset += sizeof(uint32_t); in AddFieldGap()
637 } else if (remaining >= sizeof(uint16_t) && IsAligned<2>(current_offset)) { in AddFieldGap()
638 gaps->push(FieldGap {current_offset, sizeof(uint16_t)}); in AddFieldGap()
639 current_offset += sizeof(uint16_t); in AddFieldGap()
641 gaps->push(FieldGap {current_offset, sizeof(uint8_t)}); in AddFieldGap()
[all …]