Home
last modified time | relevance | path

Searched refs:old_offset (Results 1 – 3 of 3) sorted by relevance

/art/runtime/
Dtrace.cc841 int32_t old_offset = cur_offset_.load(std::memory_order_relaxed); in WriteToBuf() local
842 int32_t new_offset = old_offset + static_cast<int32_t>(src_size); in WriteToBuf()
845 if (!trace_file_->WriteFully(buf_.get(), old_offset)) { in WriteToBuf()
858 old_offset = 0; in WriteToBuf()
863 memcpy(buf_.get() + old_offset, src, src_size); in WriteToBuf()
889 int32_t old_offset = 0; in LogMethodTraceEvent() local
899 old_offset = cur_offset_.load(std::memory_order_relaxed); // Speculative read in LogMethodTraceEvent()
901 new_offset = old_offset + GetRecordSize(clock_source_); in LogMethodTraceEvent()
906 } while (!cur_offset_.compare_exchange_weak(old_offset, new_offset, std::memory_order_relaxed)); in LogMethodTraceEvent()
940 ptr = buf_.get() + old_offset; in LogMethodTraceEvent()
/art/compiler/optimizing/
Dcode_generator_arm_vixl.cc8369 ptrdiff_t old_offset = GetVIXLAssembler()->GetBuffer()->GetCursorOffset(); in GenerateGcRootFieldLoad() local
8373 DCHECK_EQ(old_offset - GetVIXLAssembler()->GetBuffer()->GetCursorOffset(), in GenerateGcRootFieldLoad()
8412 ptrdiff_t old_offset = GetVIXLAssembler()->GetBuffer()->GetCursorOffset(); in GenerateUnsafeCasOldValueAddWithBakerReadBarrier() local
8416 DCHECK_EQ(old_offset - GetVIXLAssembler()->GetBuffer()->GetCursorOffset(), in GenerateUnsafeCasOldValueAddWithBakerReadBarrier()
8472 ptrdiff_t old_offset = GetVIXLAssembler()->GetBuffer()->GetCursorOffset(); in GenerateFieldLoadWithBakerReadBarrier() local
8487 DCHECK_EQ(old_offset - GetVIXLAssembler()->GetBuffer()->GetCursorOffset(), in GenerateFieldLoadWithBakerReadBarrier()
8568 ptrdiff_t old_offset = GetVIXLAssembler()->GetBuffer()->GetCursorOffset(); in GenerateArrayLoadWithBakerReadBarrier() local
8576 DCHECK_EQ(old_offset - GetVIXLAssembler()->GetBuffer()->GetCursorOffset(), in GenerateArrayLoadWithBakerReadBarrier()
/art/dex2oat/linker/
Doat_writer.cc2186 size_t old_offset = offset; in InitOatCode() local
2190 size_executable_offset_alignment_ = offset - old_offset; in InitOatCode()