Home
last modified time | relevance | path

Searched refs:offset_ (Results 1 – 20 of 20) sorted by relevance

/art/compiler/
Dvector_output_stream.h35 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()
57 off_t offset_; variable
Dvector_output_stream.cc24 : 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()
Doat_writer.cc47 DCHECK_EQ(static_cast<off_t>(file_offset + offset_), out->Seek(0, kSeekCurrent)) \
48 << "file_offset=" << file_offset << " offset_=" << offset_
207 offset_(offset), in DexMethodVisitor()
231 return offset_; in GetOffset()
240 size_t offset_; member in art::OatWriter::DexMethodVisitor
315 OatClass* oat_class = new OatClass(offset_, compiled_methods_, in EndClass()
318 offset_ += oat_class->SizeOf(); in EndClass()
352 offset_ = compiled_method->AlignCode(offset_); in VisitMethod()
353 DCHECK_ALIGNED_PARAM(offset_, in VisitMethod()
358 quick_code_offset = offset_ + sizeof(OatQuickMethodHeader) + thumb_offset; in VisitMethod()
[all …]
Doat_writer.h168 size_t offset_; variable
204 size_t offset_; variable
Delf_writer_quick.cc47 if (static_cast<off_t>(offset_) != lseek(elf_file->Fd(), offset_, SEEK_SET)) { in Write()
48 PLOG(ERROR) << "Failed to seek to " << GetDescription() << " offset " << offset_ << " for " in Write()
57 return a->offset_ < b->offset_; in Compare()
61 explicit ElfFilePiece(Elf32_Word offset) : offset_(offset) {} in ElfFilePiece()
66 Elf32_Word offset_; member in art::ElfFilePiece
Delf_writer_quick.h143 offset_(offset), size_(size) {} in ElfOatSectionBuilder()
148 Elf32_Word offset_;
/art/runtime/hprof/
Dhprof.cc73 int offset_ = static_cast<int>(offset); \
75 buf_[offset_ + 0] = (unsigned char)(value_ >> 8); \
76 buf_[offset_ + 1] = (unsigned char)(value_ ); \
82 int offset_ = static_cast<int>(offset); \
84 buf_[offset_ + 0] = (unsigned char)(value_ >> 24); \
85 buf_[offset_ + 1] = (unsigned char)(value_ >> 16); \
86 buf_[offset_ + 2] = (unsigned char)(value_ >> 8); \
87 buf_[offset_ + 3] = (unsigned char)(value_ ); \
93 int offset_ = static_cast<int>(offset); \
95 buf_[offset_ + 0] = (unsigned char)(value_ >> 56); \
[all …]
/art/compiler/utils/arm/
Dassembler_arm.cc186 CHECK(IsAbsoluteUint(12, offset_)); in encodingArm()
189 if (offset_ < 0) { in encodingArm()
190 encoding = (am_ ^ (1 << kUShift)) | -offset_; // Flip U to adjust sign. in encodingArm()
192 encoding = am_ | offset_; in encodingArm()
195 uint32_t imm5 = offset_; in encodingArm()
201 encoding = am_ | static_cast<uint32_t>(rm_) | shift << 5 | offset_ << 7 | B25; in encodingArm()
221 int32_t offset = offset_; in encodingThumb()
226 if (offset_ < 0 || (offset >= 0 && offset < 256 && in encodingThumb()
238 encoding |= B23 | offset_; in encodingThumb()
246 CHECK_LE(offset_, 4); in encodingThumb()
[all …]
Dassembler_arm.h198 offset_(offset), in rn_()
202 Address(Register rn, Register rm, Mode am = Offset) : rn_(rn), rm_(rm), offset_(0), in rn_()
208 rn_(rn), rm_(rm), offset_(count), in rn_()
215 rn_(PC), rm_(R0), offset_(offset), in Address()
242 return offset_; in GetOffset()
259 return offset_; in GetShiftCount()
265 int32_t offset_; // Used as shift amount for register offset. variable
/art/runtime/mirror/
Dstring.h54 return OFFSET_OF_OBJECT_MEMBER(String, offset_); in OffsetOffset()
143 SetField32<false>(OFFSET_OF_OBJECT_MEMBER(String, offset_), new_offset); in SetOffset()
161 int32_t offset_; variable
Dart_field.cc55 SetField32<false>(OFFSET_OF_OBJECT_MEMBER(ArtField, offset_), num_bytes.Uint32Value()); in SetOffset()
Dart_field.h90 return MemberOffset(OFFSETOF_MEMBER(ArtField, offset_)); in OffsetOffset()
181 uint32_t offset_; variable
Dart_field-inl.h57 return MemberOffset(GetField32(OFFSET_OF_OBJECT_MEMBER(ArtField, offset_))); in GetOffset()
62 return MemberOffset(GetField32(OFFSET_OF_OBJECT_MEMBER(ArtField, offset_))); in GetOffsetDuringLinking()
/art/runtime/gc/accounting/
Dcard_table.cc90 : mem_map_(mem_map), biased_begin_(biased_begin), offset_(offset) { in CardTable()
111 byte* begin = mem_map_->Begin() + offset_; in CheckAddrIsInCardTable()
Dcard_table.h134 byte* begin = mem_map_->Begin() + offset_; in IsValidCard()
150 const size_t offset_; variable
Dcard_table-inl.h203 << " begin: " << reinterpret_cast<void*>(mem_map_->Begin() + offset_) in AddrFromCard()
220 << " begin: " << reinterpret_cast<void*>(mem_map_->Begin() + offset_) in CheckCardValid()
/art/runtime/
Ddex_file_verifier.cc310 if (UNLIKELY(last_offset >= item->offset_ && i != 0)) { in CheckMap()
311 ErrorStringPrintf("Out of order map item: %x then %x", last_offset, item->offset_); in CheckMap()
314 if (UNLIKELY(item->offset_ >= header_->file_size_)) { in CheckMap()
316 item->offset_, header_->file_size_); in CheckMap()
343 last_offset = item->offset_; in CheckMap()
1329 uint32_t section_offset = item->offset_; in CheckIntraSection()
2042 uint32_t section_offset = item->offset_; in CheckInterSection()
Dclass_linker_test.cc476 offsets.push_back(CheckOffset(OFFSETOF_MEMBER(mirror::ArtField, offset_), "offset")); in ArtFieldOffsets()
546 offsets.push_back(CheckOffset(OFFSETOF_MEMBER(mirror::String, offset_), "offset")); in StringOffsets()
Ddex_file.h130 uint32_t offset_; member
/art/compiler/driver/
Dcompiler_driver.h523 return offset_; in RelativeOffset()
539 offset_(pc_relative_offset) { in RelativeCallPatchInformation()
542 const int offset_; variable