Searched refs:old_offset (Results 1 – 2 of 2) sorted by relevance
846 int32_t old_offset = cur_offset_.load(std::memory_order_relaxed); in WriteToBuf() local847 int32_t new_offset = old_offset + static_cast<int32_t>(src_size); in WriteToBuf()850 if (!trace_file_->WriteFully(buf_.get(), old_offset)) { in WriteToBuf()863 old_offset = 0; in WriteToBuf()868 memcpy(buf_.get() + old_offset, src, src_size); in WriteToBuf()894 int32_t old_offset = 0; in LogMethodTraceEvent() local904 old_offset = cur_offset_.load(std::memory_order_relaxed); // Speculative read in LogMethodTraceEvent()906 new_offset = old_offset + GetRecordSize(clock_source_); in LogMethodTraceEvent()911 } while (!cur_offset_.compare_exchange_weak(old_offset, new_offset, std::memory_order_relaxed)); in LogMethodTraceEvent()945 ptr = buf_.get() + old_offset; in LogMethodTraceEvent()
2193 size_t old_offset = offset; in InitOatCode() local2197 size_executable_offset_alignment_ = offset - old_offset; in InitOatCode()