Searched refs:new_offset (Results 1 – 7 of 7) sorted by relevance
28 off_t new_offset = 0; in Seek() local31 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()
40 off_t new_offset = offset_ + byte_count; in WriteFully() local41 EnsureCapacity(new_offset); in WriteFully()43 offset_ = new_offset; in WriteFully()51 void EnsureCapacity(off_t new_offset) { in EnsureCapacity() argument52 if (new_offset > static_cast<off_t>(vector_.size())) { in EnsureCapacity()53 vector_.resize(new_offset); in EnsureCapacity()
1025 off_t new_offset = out->Seek(size_executable_offset_alignment_, kSeekCurrent); in WriteCode() local1029 if (static_cast<uint32_t>(new_offset) != expected_file_offset) { in WriteCode()1030 PLOG(ERROR) << "Failed to seek to oat code section. Actual: " << new_offset in WriteCode()
139 void SetOffset(int32_t new_offset) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in SetOffset() argument141 DCHECK_LE(0, new_offset); in SetOffset()142 DCHECK_GE(GetLength(), new_offset); in SetOffset()143 SetField32<false>(OFFSET_OF_OBJECT_MEMBER(String, offset_), new_offset); in SetOffset()
636 int32_t new_offset; in LogMethodTraceEvent() local640 new_offset = old_offset + GetRecordSize(clock_source_); in LogMethodTraceEvent()641 if (new_offset > buffer_size_) { in LogMethodTraceEvent()645 } while (!cur_offset_.CompareExchangeWeakSequentiallyConsistent(old_offset, new_offset)); in LogMethodTraceEvent()
1957 uint32_t new_offset = (offset + alignment_mask) & ~alignment_mask; in CheckInterSectionIterate() local1958 ptr_ = begin_ + new_offset; in CheckInterSectionIterate()
1249 int32_t new_offset = 1 + (r.next() % (length - 1)); in TEST_F() local1250 int32_t rest = length - new_offset - 1; in TEST_F()1254 s[i]->SetField32<false>(mirror::String::OffsetOffset(), new_offset); in TEST_F()