Home
last modified time | relevance | path

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

/aosp12/bionic/libc/system_properties/
H A Dprop_area.cpp158 uint_least32_t new_offset; in new_prop_bt() local
162 *off = new_offset; in new_prop_bt()
171 uint_least32_t new_offset; in new_prop_info() local
187 long_value_offset -= new_offset; in new_prop_info()
193 *off = new_offset; in new_prop_info()
248 uint_least32_t new_offset; in find_prop_bt() local
249 prop_bt* new_bt = new_prop_bt(name, namelen, &new_offset); in find_prop_bt()
264 uint_least32_t new_offset; in find_prop_bt() local
265 prop_bt* new_bt = new_prop_bt(name, namelen, &new_offset); in find_prop_bt()
296 uint_least32_t new_offset; in find_property() local
[all …]
/aosp12/art/libelffile/stream/
H A Derror_delaying_output_stream.h56 off_t new_offset; in Seek() local
59 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()
H A 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()
H A 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()
55 void EnsureCapacity(off_t new_offset) { in EnsureCapacity() argument
56 if (new_offset > static_cast<off_t>(vector_->size())) { in EnsureCapacity()
57 vector_->resize(new_offset); in EnsureCapacity()
/aosp12/system/bt/packet/base/
H A Diterator.cc42 size_t new_offset = index_ + offset; in operator +=() local
43 index_ = new_offset > packet_->packet_end_index_ ? packet_->packet_end_index_ in operator +=()
44 : new_offset; in operator +=()
/aosp12/art/runtime/
H A Dtrace.cc847 int32_t new_offset = old_offset + static_cast<int32_t>(src_size); in WriteToBuf() local
848 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() local
906 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()
/aosp12/system/core/fastboot/
H A Dvendor_boot_img_utils.cpp92 [[nodiscard]] Result<void> CheckOffset(uint32_t old_offset, uint32_t new_offset) { in CheckOffset() argument
96 if (new_begin() + new_offset != new_cur()) in CheckOffset()
97 return Errorf("New offset mismatch: expected: 0x{:x}, actual: 0x{:x}", new_offset, in CheckOffset()
/aosp12/bionic/libc/kernel/uapi/linux/raid/
H A Dmd_p.h148 __le32 new_offset; member
/aosp12/art/dexlayout/
H A Ddex_ir.h219 void SetOffset(uint32_t new_offset) { offset_ = new_offset; } in SetOffset() argument
503 void SetMapListOffset(uint32_t new_offset) { map_list_offset_ = new_offset; } in SetMapListOffset() argument
/aosp12/system/bt/stack/l2cap/
H A Dl2c_fcr.cc239 BT_HDR* l2c_fcr_clone_buf(BT_HDR* p_buf, uint16_t new_offset, in l2c_fcr_clone_buf() argument
246 uint16_t buf_size = no_of_bytes + sizeof(BT_HDR) + new_offset + L2CAP_FCS_LEN; in l2c_fcr_clone_buf()
249 p_buf2->offset = new_offset; in l2c_fcr_clone_buf()
H A Dl2c_int.h812 extern BT_HDR* l2c_fcr_clone_buf(BT_HDR* p_buf, uint16_t new_offset,
/aosp12/art/dex2oat/linker/
H A Dimage_writer.h423 void UpdateImageBinSlotOffset(mirror::Object* object, size_t oat_index, size_t new_offset)
H A Doat_writer.cc2499 off_t new_offset = out->Seek(size_executable_offset_alignment_, kSeekCurrent); in WriteRodata() local
2503 if (static_cast<uint32_t>(new_offset) != expected_file_offset) { in WriteRodata()
2504 PLOG(ERROR) << "Failed to seek to oat code section. Actual: " << new_offset in WriteRodata()
H A Dimage_writer.cc806 size_t new_offset) { in UpdateImageBinSlotOffset() argument
808 DCHECK_LT(new_offset, GetImageInfo(oat_index).GetBinSlotSize(old_bin_slot.GetBin())); in UpdateImageBinSlotOffset()
809 BinSlot new_bin_slot(old_bin_slot.GetBin(), new_offset); in UpdateImageBinSlotOffset()
/aosp12/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp2270 uint64_t new_offset = (*it).second.symbol().value() - vma; in setOutputSectionAddress() local
2271 if (new_offset != (*it).first->getOffset()) { in setOutputSectionAddress()
2272 (*it).first->setOffset(new_offset); in setOutputSectionAddress()
/aosp12/art/libdexfile/dex/
H A Ddex_file_verifier.cc3124 uint32_t new_offset = (offset + alignment_mask) & ~alignment_mask; in CheckInterSectionIterate() local
3125 ptr_ = begin_ + new_offset; in CheckInterSectionIterate()