Home
last modified time | relevance | path

Searched refs:write_offset_ (Results 1 – 2 of 2) sorted by relevance

/system/core/logd/
DSerializedLogChunk.cpp29 CompressionEngine::GetInstance().Compress(contents_, write_offset_, compressed_log_); in Compress()
31 << " size used: " << write_offset_ in Compress()
42 contents_.Resize(write_offset_); in IncReaderRefCount()
58 if (write_offset_ == 0) { in ClearUidLogs()
66 while (read_offset < write_offset_) { in ClearUidLogs()
91 if (new_write_offset != write_offset_) { in ClearUidLogs()
93 write_offset_ = new_write_offset; in ClearUidLogs()
103 return write_offset_ + len <= contents_.size(); in CanLog()
108 auto new_log_address = contents_.data() + write_offset_; in Log()
111 write_offset_ += entry->total_len(); in Log()
DSerializedLogChunk.h61 int write_offset() const { return write_offset_; } in write_offset()
71 int write_offset_ = 0; variable