Lines Matching refs:entry
62 for (const auto& entry : *chunk) { in ClearLogsByUid()
63 if (entry.uid() == uid) { in ClearLogsByUid()
78 for (const auto& entry : *chunk) { in ClearLogsByUid()
79 if (entry.uid() == uid) { in ClearLogsByUid()
81 stats->Subtract(entry.ToLogStatisticsElement(log_id)); in ClearLogsByUid()
84 LogToLogBuffer(new_logs, max_size, entry.sequence(), entry.realtime(), entry.uid(), in ClearLogsByUid()
85 entry.pid(), entry.tid(), entry.msg(), entry.msg_len()); in ClearLogsByUid()
154 auto entry = LogToLogBuffer(logs_[log_id], max_size_[log_id], sequence, realtime, uid, pid, tid, in Log() local
156 stats_->Add(entry->ToLogStatisticsElement(log_id)); in Log()
179 for (const auto& entry : chunk) { in RemoveChunkFromStats() local
180 stats_->Subtract(entry.ToLogStatisticsElement(log_id)); in RemoveChunkFromStats()
259 auto* entry = top.entry; in FlushTo() local
262 if (entry->sequence() < state.start()) { in FlushTo()
265 state.set_start(entry->sequence()); in FlushTo()
267 if (!writer->privileged() && entry->uid() != writer->uid()) { in FlushTo()
272 auto ret = filter(log_id, entry->pid(), entry->sequence(), entry->realtime()); in FlushTo()
283 constexpr size_t kMaxEntrySize = sizeof(*entry) + LOGGER_ENTRY_MAX_PAYLOAD + 1; in FlushTo()
285 CHECK_LT(entry->msg_len(), LOGGER_ENTRY_MAX_PAYLOAD + 1); in FlushTo()
286 memcpy(entry_copy, entry, sizeof(*entry) + entry->msg_len()); in FlushTo()