Searched refs:filled_to (Results 1 – 1 of 1) sorted by relevance
153 size_t filled_to = 0; in PrintFileToLog() local155 DCHECK_LT(filled_to, kBufSize); in PrintFileToLog()156 int64_t n = TEMP_FAILURE_RETRY(read(file.Fd(), &buf[filled_to], kBufSize - filled_to)); in PrintFileToLog()159 if (filled_to > 0) { in PrintFileToLog()160 buf[filled_to] = 0; in PrintFileToLog()166 size_t i = filled_to; in PrintFileToLog()168 for (; i < filled_to + n; ++i) { in PrintFileToLog()174 if (i + 1 < filled_to + n) { in PrintFileToLog()175 memmove(&buf[0], &buf[i + 1], filled_to + n - i - 1); in PrintFileToLog()176 filled_to = filled_to + n - i - 1; in PrintFileToLog()[all …]