Lines Matching refs:bytes_read
1923 DWORD bytes_read; in uv__pipe_read_exactly() local
1926 bytes_read = 0; in uv__pipe_read_exactly()
1927 while (bytes_read < count) { in uv__pipe_read_exactly()
1932 (char*) buffer + bytes_read, in uv__pipe_read_exactly()
1933 count - bytes_read, in uv__pipe_read_exactly()
1942 bytes_read += bytes_read_now; in uv__pipe_read_exactly()
1945 assert(bytes_read == count); in uv__pipe_read_exactly()
1952 DWORD* bytes_read, /* inout argument */ in uv__pipe_read_data() argument
1962 handle->alloc_cb((uv_handle_t*) handle, *bytes_read, &buf); in uv__pipe_read_data()
1986 *bytes_read = 0; in uv__pipe_read_data()
1987 if (max_bytes == 0 || ReadFile(handle->handle, buf.base, max_bytes, bytes_read, NULL)) in uv__pipe_read_data()
2000 if (ReadFile(handle->handle, buf.base, max_bytes, bytes_read, &req->u.io.overlapped)) { in uv__pipe_read_data()
2004 *bytes_read = 0; in uv__pipe_read_data()
2008 if (GetOverlappedResult(handle->handle, &req->u.io.overlapped, bytes_read, TRUE)) { in uv__pipe_read_data()
2012 *bytes_read = 0; in uv__pipe_read_data()
2016 more = *bytes_read == max_bytes; in uv__pipe_read_data()
2021 handle->read_cb((uv_stream_t*) handle, *bytes_read, &buf); in uv__pipe_read_data()
2033 DWORD bytes_read; in uv__pipe_read_ipc() local
2039 bytes_read = *data_remaining; in uv__pipe_read_ipc()
2040 more = uv__pipe_read_data(loop, handle, &bytes_read, bytes_read); in uv__pipe_read_ipc()
2041 *data_remaining -= bytes_read; in uv__pipe_read_ipc()