Searched refs:filled_to (Results 1 – 1 of 1) sorted by relevance
94 size_t filled_to = 0; in PrintFileToLog() local96 DCHECK_LT(filled_to, kBufSize); in PrintFileToLog()97 int64_t n = TEMP_FAILURE_RETRY(read(file.Fd(), &buf[filled_to], kBufSize - filled_to)); in PrintFileToLog()100 if (filled_to > 0) { in PrintFileToLog()101 buf[filled_to] = 0; in PrintFileToLog()107 size_t i = filled_to; in PrintFileToLog()109 for (; i < filled_to + n; ++i) { in PrintFileToLog()115 if (i + 1 < filled_to + n) { in PrintFileToLog()116 memmove(&buf[0], &buf[i + 1], filled_to + n - i - 1); in PrintFileToLog()117 filled_to = filled_to + n - i - 1; in PrintFileToLog()[all …]