Lines Matching defs:buf
1649 sane_read_direct (SANE_Handle handle, SANE_Byte *buf, SANE_Int max_len,
1672 status = read_data (s->fd, buf, &nread);
1690 read_fs2710 (SANE_Handle handle, SANE_Byte *buf, SANE_Int max_len,
1724 as buf, and then map this buffer to buf. */
1751 *buf++ = s->gamma_map[s->colour++][c];
1757 if ((status = read_data (s->fd, buf, &nread)) != SANE_STATUS_GOOD)
1763 for (p = buf; p < buf + nread; p++)
1785 read_fb620 (SANE_Handle handle, SANE_Byte *buf, SANE_Int max_len,
1826 memcpy (buf, &(s->outbuffer[s->buf_pos]), ncopy);
1830 buf = &(buf[ncopy]);
1879 memcpy (buf, &(s->outbuffer[s->buf_pos]), ncopy);
1892 read_fb1200 (SANE_Handle handle, SANE_Byte *buf, SANE_Int max_len,
1995 *buf = 0;
2001 *buf = 0;
2115 memcpy (buf, &(s->outbuffer[s->buf_pos]), ncopy * 2);
2126 sane_read (SANE_Handle handle, SANE_Byte *buf, SANE_Int max_len,
2132 status = read_fb620 (handle, buf, max_len, len);
2134 status = read_fs2710 (handle, buf, max_len, len);
2137 status = read_fb1200 (handle, buf, max_len, len);
2139 status = sane_read_direct (handle, buf, max_len, len);