Lines Matching refs:logStream
18 gzFile logStream = gzopen(filename.c_str(), "r"); in gzGetLines() local
19 if (logStream == nullptr) in gzGetLines()
25 if (!readFile(logStream, skip, top, logEntries, logCount)) in gzGetLines()
27 gzclose(logStream); in gzGetLines()
30 gzclose(logStream); in gzGetLines()
44 static void printErrorMessage(gzFile logStream) in printErrorMessage() argument
47 const char* errMsg = gzerror(logStream, &errNum); in printErrorMessage()
54 bool readFile(gzFile logStream, uint64_t skip, uint64_t top, in readFile() argument
63 int bytesRead = gzread(logStream, bufferStr.data(), in readFile()
68 printErrorMessage(logStream); in readFile()
77 } while (gzeof(logStream) != 1); in readFile()