Searched refs:buffer_reader (Results 1 – 1 of 1) sorted by relevance
88 std::string GetStringFromMemoryReader(NONNULL MemoryReader* buffer_reader, in GetStringFromMemoryReader() argument98 if (buffer_reader->size() < effective_len) { in GetStringFromMemoryReader()100 effective_len = buffer_reader->size(); in GetStringFromMemoryReader()103 auto out = MakeSanitizedString(buffer_reader->GetBytesOrDie(effective_len), in GetStringFromMemoryReader()213 while (auto buffer_reader = in Dump() local215 const auto& tstamp_header = buffer_reader.CopyOutOrDie<TimestampHeader>(); in Dump()217 buffer_reader.CopyOutOrDie<protocol::Command>(); in Dump()228 output_string += ' ' + FormatAsciiMessage(buffer_reader); in Dump()256 std::string CommandProcessor::FormatAsciiMessage(MemoryReader buffer_reader) { in FormatAsciiMessage() argument258 if (buffer_reader.size() < sizeof(protocol::AsciiMessage)) { in FormatAsciiMessage()[all …]