Lines Matching refs:bytes_read
601 DWORD bytes_read = 0;
602 if (!ReadFile(read_pipe.get(), buf, sizeof(buf), &bytes_read, NULL)) {
618 const size_t bytes_written = fwrite(buf, 1, bytes_read, stream.get());
619 if (bytes_written != bytes_read) {
620 fprintf(stderr, "Only wrote %zu of %lu bytes to %s\n", bytes_written, bytes_read,