/art/libelffile/stream/ |
D | vector_output_stream.h | 35 if (static_cast<size_t>(offset_) == vector_->size()) { in WriteFully() 38 offset_ += byte_count; in WriteFully() 40 off_t new_offset = offset_ + byte_count; in WriteFully() 42 memcpy(&(*vector_)[offset_], buffer, byte_count); in WriteFully() 43 offset_ = new_offset; in WriteFully() 61 off_t offset_; variable
|
D | vector_output_stream.cc | 24 : OutputStream(location), offset_(vector->size()), vector_(vector) {} in VectorOutputStream() 35 new_offset = offset_ + offset; in Seek() 44 offset_ = new_offset; in Seek() 45 return offset_; in Seek()
|
/art/dexlayout/ |
D | compact_dex_writer.h | 55 uint32_t offset_; 68 DCHECK_LE(a.offset_ + a.length_, section_->Size()); in operator() 69 DCHECK_LE(b.offset_ + b.length_, section_->Size()); in operator() 70 return std::equal(data + a.offset_, data + a.offset_ + a.length_, data + b.offset_); in operator() 75 DCHECK_LE(range.offset_ + range.length_, section_->Size()); in operator() 76 return HashBytes(Data() + range.offset_, range.length_); in operator()
|
D | dex_writer.h | 44 : type_(type), size_(size), offset_(offset) { } in MapItem() 48 return offset_ > other.offset_; 53 uint32_t offset_ = 0u; member 142 ScopedSeek(Stream* stream, uint32_t offset) : stream_(stream), offset_(stream->Tell()) { in ScopedSeek() 147 stream_->Seek(offset_); in ~ScopedSeek() 152 const uint32_t offset_; variable
|
D | dex_ir_builder.cc | 342 CHECK_EQ(item->offset_, 0u); in CheckAndSetRemainingOffsets() 346 CHECK_EQ(item->offset_, header_->StringIds().GetOffset()); in CheckAndSetRemainingOffsets() 350 CHECK_EQ(item->offset_, header_->TypeIds().GetOffset()); in CheckAndSetRemainingOffsets() 354 CHECK_EQ(item->offset_, header_->ProtoIds().GetOffset()); in CheckAndSetRemainingOffsets() 358 CHECK_EQ(item->offset_, header_->FieldIds().GetOffset()); in CheckAndSetRemainingOffsets() 362 CHECK_EQ(item->offset_, header_->MethodIds().GetOffset()); in CheckAndSetRemainingOffsets() 369 CHECK_EQ(item->offset_, header_->ClassDefs().GetOffset()); in CheckAndSetRemainingOffsets() 373 CHECK_EQ(item->offset_, header_->CallSiteIds().GetOffset()); in CheckAndSetRemainingOffsets() 377 CHECK_EQ(item->offset_, header_->MethodHandleItems().GetOffset()); in CheckAndSetRemainingOffsets() 381 CHECK_EQ(item->offset_, disk_header.map_off_); in CheckAndSetRemainingOffsets() [all …]
|
D | dex_ir.h | 218 uint32_t GetOffset() const { return offset_; } in GetOffset() 219 void SetOffset(uint32_t new_offset) { offset_ = new_offset; } in SetOffset() 225 uint32_t offset_ = 0u; 315 return offset_; in GetOffset() 318 void SetOffset(uint32_t offset) { offset_ = offset; } in SetOffset() 321 return offset_ != kOffsetUnassigned; in OffsetAssigned() 325 Item(uint32_t offset, uint32_t size) : offset_(offset), size_(size) { } in Item() 331 uint32_t offset_ = kOffsetUnassigned; variable
|
D | dex_writer.cc | 719 map_item.offset_ = item.offset_; in WriteMapItems()
|
/art/runtime/mirror/ |
D | string-alloc-inl.h | 60 : count_(count), src_array_(src_array), offset_(offset), high_byte_(high_byte) { in SetStringCountAndBytesVisitor() 70 const uint8_t* const src = reinterpret_cast<uint8_t*>(src_array_->GetData()) + offset_; in operator() 87 const int32_t offset_; variable 96 count_(count), src_array_(src_array), offset_(offset) { in SetStringCountAndValueVisitorFromCharArray() 104 const uint16_t* const src = src_array_->GetData() + offset_; in operator() 118 const int32_t offset_; variable 127 count_(count), src_string_(src_string), offset_(offset) { in SetStringCountAndValueVisitorFromString() 138 const uint8_t* const src = src_string_->GetValueCompressed() + offset_; in operator() 141 const uint16_t* const src = src_string_->GetValue() + offset_; in operator() 155 const int32_t offset_; variable
|
D | field.h | 69 return GetField32(OFFSET_OF_OBJECT_MEMBER(Field, offset_)); in GetOffset() 92 int32_t offset_; variable 111 return OFFSET_OF_OBJECT_MEMBER(Field, offset_); in OffsetOffset()
|
/art/dex2oat/linker/ |
D | oat_writer.cc | 219 offset_(offset) { in OatClassHeader() 247 uint32_t offset_; member in art::linker::OatWriter::OatClassHeader 333 size_t offset_; member in art::linker::OatWriter::OatDexFile 377 DCHECK_EQ(static_cast<off_t>(file_offset + offset_), out->Seek(0, kSeekCurrent)) \ 378 << "file_offset=" << file_offset << " offset_=" << offset_ 817 offset_(offset), in DexMethodVisitor() 840 return offset_; in GetOffset() 849 size_t offset_; member in art::linker::OatWriter::DexMethodVisitor 1017 writer_->oat_class_headers_.emplace_back(offset_, in EndClass() 1022 offset_ += header.SizeOf(); in EndClass() [all …]
|
/art/runtime/gc/accounting/ |
D | card_table.cc | 96 : mem_map_(std::move(mem_map)), biased_begin_(biased_begin), offset_(offset) { in CardTable() 123 uint8_t* begin = mem_map_.Begin() + offset_; in CheckAddrIsInCardTable()
|
D | card_table-inl.h | 210 << " begin: " << reinterpret_cast<void*>(mem_map_.Begin() + offset_) in AddrFromCard() 225 uint8_t* begin = mem_map_.Begin() + offset_; in IsValidCard() 233 << " begin: " << reinterpret_cast<void*>(mem_map_.Begin() + offset_) in CheckCardValid()
|
D | card_table.h | 162 const size_t offset_; variable
|
/art/libdexfile/dex/ |
D | dex_file_tracking_registrar.cc | 237 …nst void* string_data_begin = reinterpret_cast<const void*>(dex_file_->Begin() + map_item.offset_); in SetAllStringDataRegistration() 238 size_t string_data_size = next_map_item.offset_ - map_item.offset_; in SetAllStringDataRegistration()
|
D | dex_file_structs.h | 38 uint32_t offset_; member
|
D | dex_file.cc | 194 method_handles_ = reinterpret_cast<const MethodHandleItem*>(Begin() + map_item.offset_); in InitializeSectionsFromMapList() 197 call_site_ids_ = reinterpret_cast<const CallSiteIdItem*>(Begin() + map_item.offset_); in InitializeSectionsFromMapList() 200 hiddenapi_class_data_ = GetHiddenapiClassDataAtOffset(map_item.offset_); in InitializeSectionsFromMapList()
|
D | dex_file_verifier.cc | 677 if (UNLIKELY(last_offset >= item->offset_ && i != 0)) { in CheckMap() 680 item->offset_, in CheckMap() 685 if (UNLIKELY(item->offset_ >= header_->file_size_)) { in CheckMap() 687 item->offset_, header_->file_size_); in CheckMap() 717 last_offset = item->offset_; in CheckMap() 2313 uint32_t section_offset = item->offset_; in CheckIntraSection() 3253 uint32_t section_offset = item->offset_; in CheckInterSection()
|
/art/tools/hiddenapi/ |
D | hiddenapi.cc | 701 CHECK_EQ(offset_, new_size); in Encode() 764 offset_ = 0; in AllocateMemory() 768 return data_.data() + offset_; in GetCurrentDataPtr() 772 offset_ += delta; in UpdateDataSize() 782 CHECK_LE(offset_ + len, data_.size()); in Append() 790 size_t len = RoundUp(offset_, alignment) - offset_; in InsertPadding() 807 size_t new_map_offset = offset_; in CreateMapListWithNewItem() 814 CHECK_EQ(old_item.offset_, GetHeader().map_off_); in CreateMapListWithNewItem() 821 new_item.offset_ = new_map_offset; in CreateMapListWithNewItem() 833 old_item.offset_ = payload_offset; in CreateMapListWithNewItem() [all …]
|
/art/runtime/ |
D | image.h | 46 ImageSection() : offset_(0), size_(0) { } in ImageSection() 47 ImageSection(uint32_t offset, uint32_t size) : offset_(offset), size_(size) { } in ImageSection() 52 return offset_; in Offset() 64 return offset - offset_ < size_; in Contains() 68 uint32_t offset_;
|
D | art_field.cc | 39 offset_ = num_bytes.Uint32Value(); in SetOffset()
|
D | art_field.h | 96 return MemberOffset(offset_); in GetOffset() 100 return MemberOffset(OFFSETOF_MEMBER(ArtField, offset_)); in OffsetOffset() 256 uint32_t offset_ = 0; variable
|
D | art_field-inl.h | 69 return MemberOffset(offset_); in GetOffsetDuringLinking()
|
/art/compiler/optimizing/ |
D | nodes_vector.h | 32 Alignment(size_t base, size_t offset) : base_(base), offset_(offset) { in Alignment() 42 return ((offset_ | base_) & (base - 1u)) == 0; in IsAlignedAt() 47 size_t Offset() const { return offset_; } in Offset() 50 return "ALIGN(" + std::to_string(base_) + "," + std::to_string(offset_) + ")"; in ToString() 54 return base_ == other.base_ && offset_ == other.offset_; 59 size_t offset_; variable
|
D | load_store_analysis.h | 106 offset_(offset), in HeapLocation() 124 size_t GetOffset() const { return offset_; } in GetOffset() 163 const size_t offset_; variable
|
/art/runtime/gc/collector/ |
D | mark_sweep.cc | 434 offset_(offset) {} in MarkObjectSlowPath() 456 ArtField* field = holder_->FindFieldByOffset(offset_); in operator ()() 464 << " offset=" << offset_.Uint32Value() in operator ()() 494 MemberOffset offset_; member in art::gc::collector::MarkSweep::MarkObjectSlowPath
|