Lines Matching full:filled_to
165 size_t filled_to = 0;
167 DCHECK_LT(filled_to, kBufSize);
168 int64_t n = TEMP_FAILURE_RETRY(read(file.Fd(), &buf[filled_to], kBufSize - filled_to));
171 if (filled_to > 0) {
172 buf[filled_to] = 0;
178 size_t i = filled_to;
180 for (; i < filled_to + n; ++i) {
186 if (i + 1 < filled_to + n) {
187 memmove(&buf[0], &buf[i + 1], filled_to + n - i - 1);
188 filled_to = filled_to + n - i - 1;
190 filled_to = 0;
199 filled_to += n;
201 if (filled_to == kBufSize) {
204 filled_to = 0;