Lines Matching refs:to_read
472 size_t to_read;
488 to_read = scankb1 * 1024;
490 while (to_read)
494 chunk = (to_read > 0xffff) ? 0xffff : to_read;
506 if (really_read > to_read)
513 to_read -= really_read;
705 size_t to_read;
728 to_read = sizeof (read_gamma);
729 sanei_usb_read_bulk (s->fd, read_gamma, &to_read);
750 size_t to_read;
767 to_read = size;
768 sanei_usb_read_bulk (s->fd, check_data, &to_read);
946 size_t to_read;
964 to_read = min (required, (scankb1 * 1024));
965 while (to_read)
969 chunk = (to_read > 0xffff) ? 0xffff : to_read;
988 to_read -= really_read;