Searched refs:filled_to (Results 1 – 1 of 1) sorted by relevance
178 size_t filled_to = 0; in PrintFileToLog() local180 DCHECK_LT(filled_to, kBufSize); in PrintFileToLog()181 int64_t n = TEMP_FAILURE_RETRY(read(file.Fd(), &buf[filled_to], kBufSize - filled_to)); in PrintFileToLog()184 if (filled_to > 0) { in PrintFileToLog()185 buf[filled_to] = 0; in PrintFileToLog()191 size_t i = filled_to; in PrintFileToLog()193 for (; i < filled_to + n; ++i) { in PrintFileToLog()199 if (i + 1 < filled_to + n) { in PrintFileToLog()200 memmove(&buf[0], &buf[i + 1], filled_to + n - i - 1); in PrintFileToLog()201 filled_to = filled_to + n - i - 1; in PrintFileToLog()[all …]