Home
last modified time | relevance | path

Searched refs:new_offset (Results 1 – 8 of 8) sorted by relevance

/art/compiler/linker/
Dvector_output_stream.cc29 off_t new_offset = 0; in Seek() local
32 new_offset = offset; in Seek()
36 new_offset = offset_ + offset; in Seek()
40 new_offset = vector_->size() + offset; in Seek()
44 EnsureCapacity(new_offset); in Seek()
45 offset_ = new_offset; in Seek()
Derror_delaying_output_stream.h57 off_t new_offset; in Seek() local
60 new_offset = offset; in Seek()
63 new_offset = output_offset_ + offset; in Seek()
73 << " whence=" << whence << " new_offset=" << new_offset; in Seek()
76 DCHECK_EQ(actual_offset, new_offset); in Seek()
78 output_offset_ = new_offset; in Seek()
79 return new_offset; in Seek()
Dvector_output_stream.h41 off_t new_offset = offset_ + byte_count; in WriteFully() local
42 EnsureCapacity(new_offset); in WriteFully()
44 offset_ = new_offset; in WriteFully()
56 void EnsureCapacity(off_t new_offset) { in EnsureCapacity() argument
57 if (new_offset > static_cast<off_t>(vector_->size())) { in EnsureCapacity()
58 vector_->resize(new_offset); in EnsureCapacity()
/art/dexlayout/
Ddex_ir.h118 void SetOffset(uint32_t new_offset) { in SetOffset() argument
119 offset_ = new_offset; in SetOffset()
329 void SetStringIdsOffset(uint32_t new_offset) { string_ids_.SetOffset(new_offset); } in SetStringIdsOffset() argument
330 void SetTypeIdsOffset(uint32_t new_offset) { type_ids_.SetOffset(new_offset); } in SetTypeIdsOffset() argument
331 void SetProtoIdsOffset(uint32_t new_offset) { proto_ids_.SetOffset(new_offset); } in SetProtoIdsOffset() argument
332 void SetFieldIdsOffset(uint32_t new_offset) { field_ids_.SetOffset(new_offset); } in SetFieldIdsOffset() argument
333 void SetMethodIdsOffset(uint32_t new_offset) { method_ids_.SetOffset(new_offset); } in SetMethodIdsOffset() argument
334 void SetClassDefsOffset(uint32_t new_offset) { class_defs_.SetOffset(new_offset); } in SetClassDefsOffset() argument
335 void SetCallSiteIdsOffset(uint32_t new_offset) { call_site_ids_.SetOffset(new_offset); } in SetCallSiteIdsOffset() argument
336 void SetMethodHandleItemsOffset(uint32_t new_offset) in SetMethodHandleItemsOffset() argument
[all …]
/art/runtime/
Dtrace.cc896 int32_t new_offset = old_offset + static_cast<int32_t>(src_size); in WriteToBuf() local
897 if (dchecked_integral_cast<size_t>(new_offset) > buffer_size_) { in WriteToBuf()
913 new_offset = static_cast<int32_t>(src_size); in WriteToBuf()
915 cur_offset_.StoreRelease(new_offset); in WriteToBuf()
935 int32_t new_offset; in LogMethodTraceEvent() local
942 new_offset = old_offset + GetRecordSize(clock_source_); in LogMethodTraceEvent()
943 if (static_cast<size_t>(new_offset) > buffer_size_) { in LogMethodTraceEvent()
947 } while (!cur_offset_.CompareAndSetWeakSequentiallyConsistent(old_offset, new_offset)); in LogMethodTraceEvent()
/art/dex2oat/linker/
Doat_writer.cc1470 uint32_t new_offset = offset_; in VisitMethod() local
1472 return new_offset; in VisitMethod()
1508 uint32_t new_offset = offset_; in VisitMethod() local
1510 return new_offset; in VisitMethod()
2619 off_t new_offset = out->Seek(size_executable_offset_alignment_, kSeekCurrent); in WriteRodata() local
2623 if (static_cast<uint32_t>(new_offset) != expected_file_offset) { in WriteRodata()
2624 PLOG(ERROR) << "Failed to seek to oat code section. Actual: " << new_offset in WriteRodata()
Dimage_writer.cc369 size_t new_offset = bin_slot_offset + bin_slot.GetIndex(); in AssignImageOffset() local
370 DCHECK_ALIGNED(new_offset, kObjectAlignment); in AssignImageOffset()
372 SetImageOffset(object, new_offset); in AssignImageOffset()
373 DCHECK_LT(new_offset, image_info.image_end_); in AssignImageOffset()
/art/libdexfile/dex/
Ddex_file_verifier.cc2687 uint32_t new_offset = (offset + alignment_mask) & ~alignment_mask; in CheckInterSectionIterate() local
2688 ptr_ = begin_ + new_offset; in CheckInterSectionIterate()