Home
last modified time | relevance | path

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

/system/logging/logd/
DSerializedLogChunk.cpp31 CompressionEngine::GetInstance().Compress(contents_, write_offset_, compressed_log_); in FinishWriting()
33 << " size used: " << write_offset_ in FinishWriting()
46 contents_.Resize(write_offset_); in IncReaderRefCount()
81 return write_offset_ + len <= contents_.size(); in CanLog()
86 auto new_log_address = contents_.data() + write_offset_; in Log()
89 write_offset_ += entry->total_len(); in Log()
DSerializedLogChunk.h86 int write_offset() const { return write_offset_; } in write_offset()
91 LogEntryIterator end() { return LogEntryIterator(*this, write_offset_); } in end()
100 int write_offset_ = 0; variable
DSerializedLogBufferTest.cpp104 ASSERT_EQ(expected_it->write_offset_, it->write_offset_) << "chunk #" << chunk; in VerifyChunks()
106 for (int i = 0; i < it->write_offset_; ++i) { in VerifyChunks()