Searched refs:new_offset (Results 1 – 9 of 9) 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()
56 off_t new_offset; in Seek() local59 new_offset = offset; in Seek()62 new_offset = output_offset_ + offset; in Seek()72 << " whence=" << whence << " new_offset=" << new_offset; in Seek()75 DCHECK_EQ(actual_offset, new_offset); in Seek()77 output_offset_ = new_offset; in Seek()78 return 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()55 void EnsureCapacity(off_t new_offset) { in EnsureCapacity() argument56 if (new_offset > static_cast<off_t>(vector_->size())) { in EnsureCapacity()57 vector_->resize(new_offset); in EnsureCapacity()
847 int32_t new_offset = old_offset + static_cast<int32_t>(src_size); in WriteToBuf() local848 if (dchecked_integral_cast<size_t>(new_offset) > buffer_size_) { in WriteToBuf()864 new_offset = static_cast<int32_t>(src_size); in WriteToBuf()866 cur_offset_.store(new_offset, std::memory_order_relaxed); in WriteToBuf()893 int32_t new_offset; in LogMethodTraceEvent() local906 new_offset = old_offset + GetRecordSize(clock_source_); in LogMethodTraceEvent()907 if (static_cast<size_t>(new_offset) > buffer_size_) { in LogMethodTraceEvent()911 } while (!cur_offset_.compare_exchange_weak(old_offset, new_offset, std::memory_order_relaxed)); in LogMethodTraceEvent()
219 void SetOffset(uint32_t new_offset) { offset_ = new_offset; } in SetOffset() argument503 void SetMapListOffset(uint32_t new_offset) { map_list_offset_ = new_offset; } in SetMapListOffset() argument
423 void UpdateImageBinSlotOffset(mirror::Object* object, size_t oat_index, size_t new_offset)
2406 off_t new_offset = out->Seek(size_executable_offset_alignment_, kSeekCurrent); in WriteRodata() local2410 if (static_cast<uint32_t>(new_offset) != expected_file_offset) { in WriteRodata()2411 PLOG(ERROR) << "Failed to seek to oat code section. Actual: " << new_offset in WriteRodata()
934 size_t new_offset) { in UpdateImageBinSlotOffset() argument936 DCHECK_LT(new_offset, GetImageInfo(oat_index).GetBinSlotSize(old_bin_slot.GetBin())); in UpdateImageBinSlotOffset()937 BinSlot new_bin_slot(old_bin_slot.GetBin(), new_offset); in UpdateImageBinSlotOffset()
3129 uint32_t new_offset = (offset + alignment_mask) & ~alignment_mask; in CheckInterSectionIterate() local3130 ptr_ = begin_ + new_offset; in CheckInterSectionIterate()