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