Searched refs:RecordedLogMessage (Results 1 – 4 of 4) sorted by relevance
100 if (sizeof(RecordedLogMessage) >= recorded_messages.size()) { in GetFirstTimeStamp()105 auto* meta = reinterpret_cast<RecordedLogMessage*>(recorded_messages.data()); in GetFirstTimeStamp()156 virtual void Log(const RecordedLogMessage& meta, const char* msg) = 0;204 void Log(const RecordedLogMessage& meta, const char* msg) override { in Log()260 void Log(const RecordedLogMessage& meta, const char* msg) override { in Log()474 while (read_position + sizeof(RecordedLogMessage) < recorded_messages->size()) { in main()476 reinterpret_cast<RecordedLogMessage*>(recorded_messages->data() + read_position); in main()477 if (read_position + sizeof(RecordedLogMessage) + meta->msg_len >= in main()481 char* msg = recorded_messages->data() + read_position + sizeof(RecordedLogMessage); in main()482 read_position += sizeof(RecordedLogMessage) + meta->msg_len; in main()
21 static void WriteLogMessage(int fd, const RecordedLogMessage& meta, const std::string& msg) { in WriteLogMessage()33 RecordedLogMessage recorded_log_message = { in RecordLogMessage()
23 struct __attribute__((packed)) RecordedLogMessage { struct
41 std::vector<std::pair<RecordedLogMessage, std::string>> since_boot_messages_;