Home
last modified time | relevance | path

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

/art/compiler/
Dvector_output_stream.cc28 off_t new_offset = 0; in Seek() local
31 new_offset = offset; in Seek()
35 new_offset = offset_ + offset; in Seek()
39 new_offset = vector_->size() + offset; in Seek()
43 EnsureCapacity(new_offset); in Seek()
44 offset_ = new_offset; in Seek()
Dvector_output_stream.h40 off_t new_offset = offset_ + byte_count; in WriteFully() local
41 EnsureCapacity(new_offset); in WriteFully()
43 offset_ = new_offset; in WriteFully()
51 void EnsureCapacity(off_t new_offset) { in EnsureCapacity() argument
52 if (new_offset > static_cast<off_t>(vector_->size())) { in EnsureCapacity()
53 vector_->resize(new_offset); in EnsureCapacity()
Dimage_writer.cc248 size_t new_offset = image_objects_offset_begin_ + previous_bin_sizes + bin_slot.GetIndex(); in AssignImageOffset() local
249 DCHECK_ALIGNED(new_offset, kObjectAlignment); in AssignImageOffset()
251 SetImageOffset(object, new_offset); in AssignImageOffset()
252 DCHECK_LT(new_offset, image_end_); in AssignImageOffset()
Doat_writer.cc1163 off_t new_offset = out->Seek(size_executable_offset_alignment_, kSeekCurrent); in WriteRodata() local
1167 if (static_cast<uint32_t>(new_offset) != expected_file_offset) { in WriteRodata()
1168 PLOG(ERROR) << "Failed to seek to oat code section. Actual: " << new_offset in WriteRodata()
/art/runtime/
Dtrace.cc864 int32_t new_offset = old_offset + static_cast<int32_t>(src_size); in WriteToBuf() local
865 if (dchecked_integral_cast<size_t>(new_offset) > buffer_size_) { in WriteToBuf()
881 new_offset = static_cast<int32_t>(src_size); in WriteToBuf()
883 cur_offset_.StoreRelease(new_offset); in WriteToBuf()
892 int32_t new_offset; in LogMethodTraceEvent() local
899 new_offset = old_offset + GetRecordSize(clock_source_); in LogMethodTraceEvent()
900 if (static_cast<size_t>(new_offset) > buffer_size_) { in LogMethodTraceEvent()
904 } while (!cur_offset_.CompareExchangeWeakSequentiallyConsistent(old_offset, new_offset)); in LogMethodTraceEvent()
Ddex_file_verifier.cc1984 uint32_t new_offset = (offset + alignment_mask) & ~alignment_mask; in CheckInterSectionIterate() local
1985 ptr_ = begin_ + new_offset; in CheckInterSectionIterate()