Lines Matching refs:bytes_read
68 DWORD bytes_read, DWORD error);
98 MessageLoopForIO::IOContext* context, DWORD bytes_read, DWORD error) { in OnIOCompleted() argument
107 int result = static_cast<int>(bytes_read); in OnIOCompleted()
111 if (bytes_read) in OnIOCompleted()
112 IncrementOffset(&context->overlapped, bytes_read); in OnIOCompleted()
239 DWORD bytes_read; in Read() local
240 if (!ReadFile(file_, buf, buf_len, &bytes_read, overlapped)) { in Read()
255 rv = static_cast<int>(bytes_read); in Read()
265 int bytes_read = Read(buf, to_read, NULL); in ReadUntilComplete() local
266 if (bytes_read <= 0) { in ReadUntilComplete()
268 return bytes_read; in ReadUntilComplete()
273 bytes_total += bytes_read; in ReadUntilComplete()
274 buf += bytes_read; in ReadUntilComplete()
275 to_read -= bytes_read; in ReadUntilComplete()