Home
last modified time | relevance | path

Searched refs:new_offset (Results 1 – 8 of 8) 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.cc226 size_t new_offset = image_objects_offset_begin_ + previous_bin_sizes + bin_slot.GetIndex(); in AssignImageOffset() local
227 DCHECK_ALIGNED(new_offset, kObjectAlignment); in AssignImageOffset()
229 SetImageOffset(object, bin_slot, new_offset); in AssignImageOffset()
230 DCHECK_LT(new_offset, image_end_); in AssignImageOffset()
558 size_t new_offset = 0; in ProcessStrings() local
575 new_offset = it->first; in ProcessStrings()
582 new_offset = new_string.first; in ProcessStrings()
585 s->SetOffset(new_offset); in ProcessStrings()
Doat_writer.cc1034 off_t new_offset = out->Seek(size_executable_offset_alignment_, kSeekCurrent); in WriteCode() local
1038 if (static_cast<uint32_t>(new_offset) != expected_file_offset) { in WriteCode()
1039 PLOG(ERROR) << "Failed to seek to oat code section. Actual: " << new_offset in WriteCode()
/art/runtime/mirror/
Dstring.h114 void SetOffset(int32_t new_offset) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in SetOffset() argument
116 DCHECK_LE(0, new_offset); in SetOffset()
117 SetField32<false>(OFFSET_OF_OBJECT_MEMBER(String, offset_), new_offset); in SetOffset()
/art/runtime/
Dtrace.cc645 int32_t new_offset; in LogMethodTraceEvent() local
649 new_offset = old_offset + GetRecordSize(clock_source_); in LogMethodTraceEvent()
650 if (new_offset > buffer_size_) { in LogMethodTraceEvent()
654 } while (!cur_offset_.CompareExchangeWeakSequentiallyConsistent(old_offset, new_offset)); in LogMethodTraceEvent()
Ddex_file_verifier.cc1957 uint32_t new_offset = (offset + alignment_mask) & ~alignment_mask; in CheckInterSectionIterate() local
1958 ptr_ = begin_ + new_offset; in CheckInterSectionIterate()
/art/runtime/arch/
Dstub_test.cc1249 int32_t new_offset = 1 + (r.next() % (length - 1)); in TEST_F() local
1250 int32_t rest = length - new_offset - 1; in TEST_F()
1254 s[i]->SetField32<false>(mirror::String::OffsetOffset(), new_offset); in TEST_F()