Searched refs:old_offset (Results 1 – 3 of 3) sorted by relevance
841 int32_t old_offset = cur_offset_.load(std::memory_order_relaxed); in WriteToBuf() local842 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() local899 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()
8369 ptrdiff_t old_offset = GetVIXLAssembler()->GetBuffer()->GetCursorOffset(); in GenerateGcRootFieldLoad() local8373 DCHECK_EQ(old_offset - GetVIXLAssembler()->GetBuffer()->GetCursorOffset(), in GenerateGcRootFieldLoad()8412 ptrdiff_t old_offset = GetVIXLAssembler()->GetBuffer()->GetCursorOffset(); in GenerateUnsafeCasOldValueAddWithBakerReadBarrier() local8416 DCHECK_EQ(old_offset - GetVIXLAssembler()->GetBuffer()->GetCursorOffset(), in GenerateUnsafeCasOldValueAddWithBakerReadBarrier()8472 ptrdiff_t old_offset = GetVIXLAssembler()->GetBuffer()->GetCursorOffset(); in GenerateFieldLoadWithBakerReadBarrier() local8487 DCHECK_EQ(old_offset - GetVIXLAssembler()->GetBuffer()->GetCursorOffset(), in GenerateFieldLoadWithBakerReadBarrier()8568 ptrdiff_t old_offset = GetVIXLAssembler()->GetBuffer()->GetCursorOffset(); in GenerateArrayLoadWithBakerReadBarrier() local8576 DCHECK_EQ(old_offset - GetVIXLAssembler()->GetBuffer()->GetCursorOffset(), in GenerateArrayLoadWithBakerReadBarrier()
2186 size_t old_offset = offset; in InitOatCode() local2190 size_executable_offset_alignment_ = offset - old_offset; in InitOatCode()