Searched refs:new_offset (Results 1 – 8 of 8) 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()
54 off_t new_offset; in Seek() local57 new_offset = offset; in Seek()60 new_offset = output_offset_ + offset; in Seek()70 << " whence=" << whence << " new_offset=" << new_offset; in Seek()73 DCHECK_EQ(actual_offset, new_offset); in Seek()75 output_offset_ = new_offset; in Seek()76 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()
113 void SetOffset(uint32_t new_offset) { offset_ = new_offset; } in SetOffset() argument278 void SetStringIdsOffset(uint32_t new_offset) { string_ids_.SetOffset(new_offset); } in SetStringIdsOffset() argument279 void SetTypeIdsOffset(uint32_t new_offset) { type_ids_.SetOffset(new_offset); } in SetTypeIdsOffset() argument280 void SetProtoIdsOffset(uint32_t new_offset) { proto_ids_.SetOffset(new_offset); } in SetProtoIdsOffset() argument281 void SetFieldIdsOffset(uint32_t new_offset) { field_ids_.SetOffset(new_offset); } in SetFieldIdsOffset() argument282 void SetMethodIdsOffset(uint32_t new_offset) { method_ids_.SetOffset(new_offset); } in SetMethodIdsOffset() argument283 void SetClassDefsOffset(uint32_t new_offset) { class_defs_.SetOffset(new_offset); } in SetClassDefsOffset() argument284 void SetCallSiteIdsOffset(uint32_t new_offset) { call_site_ids_.SetOffset(new_offset); } in SetCallSiteIdsOffset() argument285 void SetMethodHandleItemsOffset(uint32_t new_offset) in SetMethodHandleItemsOffset() argument286 { method_handle_items_.SetOffset(new_offset); } in SetMethodHandleItemsOffset()[all …]
873 int32_t new_offset = old_offset + static_cast<int32_t>(src_size); in WriteToBuf() local874 if (dchecked_integral_cast<size_t>(new_offset) > buffer_size_) { in WriteToBuf()890 new_offset = static_cast<int32_t>(src_size); in WriteToBuf()892 cur_offset_.StoreRelease(new_offset); in WriteToBuf()912 int32_t new_offset; in LogMethodTraceEvent() local919 new_offset = old_offset + GetRecordSize(clock_source_); in LogMethodTraceEvent()920 if (static_cast<size_t>(new_offset) > buffer_size_) { in LogMethodTraceEvent()924 } while (!cur_offset_.CompareExchangeWeakSequentiallyConsistent(old_offset, new_offset)); in LogMethodTraceEvent()
2662 uint32_t new_offset = (offset + alignment_mask) & ~alignment_mask; in CheckInterSectionIterate() local2663 ptr_ = begin_ + new_offset; in CheckInterSectionIterate()
975 uint32_t new_offset = offset_; in VisitMethod() local977 return new_offset; in VisitMethod()1014 uint32_t new_offset = offset_; in VisitMethod() local1016 return new_offset; in VisitMethod()1903 off_t new_offset = out->Seek(size_executable_offset_alignment_, kSeekCurrent); in WriteRodata() local1907 if (static_cast<uint32_t>(new_offset) != expected_file_offset) { in WriteRodata()1908 PLOG(ERROR) << "Failed to seek to oat code section. Actual: " << new_offset in WriteRodata()
367 size_t new_offset = bin_slot_offset + bin_slot.GetIndex(); in AssignImageOffset() local368 DCHECK_ALIGNED(new_offset, kObjectAlignment); in AssignImageOffset()370 SetImageOffset(object, new_offset); in AssignImageOffset()371 DCHECK_LT(new_offset, image_info.image_end_); in AssignImageOffset()