Home
last modified time | relevance | path

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

/openbmc/bmcweb/redfish-core/include/
H A Dgzfile.hpp62 std::string bufferStr; in readFile() local
63 bufferStr.resize(bufferLimitSize); in readFile()
65 int bytesRead = gzread(logStream, bufferStr.data(), in readFile()
66 static_cast<unsigned int>(bufferStr.size())); in readFile()
73 bufferStr.resize(static_cast<size_t>(bytesRead)); in readFile()
74 if (!hostLogEntryParser(bufferStr, skip, top, logEntries, logCount)) in readFile()
84 bool hostLogEntryParser(const std::string& bufferStr, uint64_t skip, in hostLogEntryParser() argument
96 size_t pos = bufferStr.find_first_of("\n\r"); in hostLogEntryParser()
103 bufferStr.substr(initialPos, pos - initialPos); in hostLogEntryParser()
135 delimiters = bufferStr.substr(pos - 1, 2); in hostLogEntryParser()
[all …]